But its not very clear and I need specific code for extracting the value from the specific <RDF.subject> and <RDF.object> tags.
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
Once you have created a Model (step 4), you'd query it (step 9). Are you familiar with RDF queries?
It seems that using a standard XML API would be easier, though (unless there are other requirements that you haven't mentioned).
vijayalakshmi raghavan
Greenhorn
Joined: Mar 25, 2012
Posts: 5
posted
0
I just tried the XML API method... Thats not working too... I am not able to obtain the element's value by this method.
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
If you want help with that you'll need to tell us what, exactly, you tried, what the result was, and how that differed from what you were expecting.
John Jai
Bartender
Joined: May 31, 2011
Posts: 1778
posted
0
Vijayalakshmi - just curious... how do you save the RDF file? Do you have an RDF Store? If so can you try executing SPARQL queries for your requirement?
vijayalakshmi raghavan
Greenhorn
Joined: Mar 25, 2012
Posts: 5
posted
0
I am storing it using the JENA API. Its very simple to use.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: reading value from an RDF file into a servlet