Results 1 to 13 of 13
Thread: RDF with JAVA
- 03-14-2010, 12:34 PM #1
Member
- Join Date
- Mar 2010
- Posts
- 10
- Rep Power
- 0
RDF with JAVA
Hi,
Any one have an idea about how to see the contents of RDF from JAVA netbeans application.
I did something to check with Watson ontology search engine and got a lot of links for RDF, but is it possible to check and see the content of one of these RDFs, and if so how?
Thanks a lot in advance
- 03-15-2010, 02:30 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
RDF files are in XML format. Simply you can see the content suing any editor like Notepad and so on.
If you want to see the content using NetBeans then import the file into a project and just open it. You can see the content.
- 03-15-2010, 11:54 AM #3
Member
- Join Date
- Mar 2010
- Posts
- 10
- Rep Power
- 0
Thanks for your reply.
I tried the attched example, I searched about key words from Watson ontologies and then I got some RDF links. what I really need is to read the content of RDF. Please try to check the attached example and let me know by small example
Thanks a lot
- 03-15-2010, 04:53 PM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Where is the attachment? I cannot find anything on your last post.
- 03-15-2010, 09:28 PM #5
Member
- Join Date
- Mar 2010
- Posts
- 10
- Rep Power
- 0
Sorry
the rar file is 2 MB, I do not know how to upload .
- 03-16-2010, 02:48 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Go to advanced replay, you can attache anything. You can see a button next to the 'Post Quick Replay' in Quick Replay area.
- 03-16-2010, 10:31 AM #7
Member
- Join Date
- Mar 2010
- Posts
- 10
- Rep Power
- 0
Even in the advance reply, I got this message
RDF.zip:
Your file of 2.06 MB bytes exceeds the forum's limit of 97.7 KB for this filetype.
thanks
- 03-16-2010, 11:59 AM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Yeah, I forget to mention that. Sorry about that. You cannot attach 2 MB file here in the forum. Cannot send a URL here.
- 03-16-2010, 03:07 PM #9
Member
- Join Date
- Mar 2010
- Posts
- 10
- Rep Power
- 0
sorry i could not
I tried to use JAWS to search on ontologies from watosn and wordnet and got a lot of rdf. the task is to read the contents of those RDFs
thats it
- 03-17-2010, 02:38 AM #10
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Do you want to see the content or read the content using Java? In your very first post you said that you want to open a RDF file in NetBeans, now you want to read it?
Following is a sample RDF file, do you want to read the content programatically?
Java Code:<?xml version="1.0" encoding="utf-8"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <channel rdf:about="http://example.org/rss.rdf"> <title>Example Feed</title> <link>http://www.example.org</link> <description>Simply for the purpose of demonstration.</description> <items> <rdf:Seq> <rdf:li rdf:resource="http://example.org/item/"/> </rdf:Seq> </items> </channel> </rdf:RDF>
- 03-17-2010, 11:30 AM #11
Member
- Join Date
- Mar 2010
- Posts
- 10
- Rep Power
- 0
Actually, I want to read teh content of RDF to search about some content !!!! thats it
- 03-17-2010, 01:16 PM #12
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 03-17-2010, 01:17 PM #13
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Java Code:BufferedReader inFile = new BufferedReader(new FileReader([I]your_file_path[/I]));


LinkBack URL
About LinkBacks

Bookmarks