On 24/03/12 17:28, vijayalakshmi wrote:
The following is my RDF file structure.
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about="http://www.wordpress.com/blogs/ckj">
<rdf:subject>Data structures</rdf:subject>
<rdf:object>vijayalakshmi</rdf:object>
<rdf:value>kjhjk</rdf:value>
</rdf:Description>
</rdf:RDF>
I want to write a piece of java code that can
--> read the value of<rdf:subject> <rdf:object> into a model
inside a java program.
How should I do this??
I am a newbie. So, please help!!
See the RDF tutorial
http://incubator.apache.org/jena/tutorials/
and start by reading in the RDF and output it as N-triples or Turtle to
see the structure as triples.
Andy