Hi

Andy has already pointed you at the Jena tutorial, you should really read that.

Here are a few additional examples you might find useful:
https://github.com/castagna/jena-examples/blob/master/src/main/java/org/apache/jena/examples/ExampleAPI_03.java
https://github.com/castagna/jena-examples/blob/master/src/main/java/org/apache/jena/examples/ExampleIO_01.java

Have a look at the Javadoc as well:
http://incubator.apache.org/jena/documentation/javadoc/jena/
http://incubator.apache.org/jena/documentation/javadoc/jena/com/hp/hpl/jena/rdf/model/Model.html

Paolo

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!!
> 

Reply via email to