Results 1 to 2 of 2
- 01-14-2013, 12:17 PM #1
Member
- Join Date
- Jan 2013
- Posts
- 1
- Rep Power
- 0
Extracting rdf:type from rdf file
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cd="http://www.recshop.fake/cd#">
<rdf:Description
rdf:about="http://www.recshop.fake/cd/Empire Burlesque">
<typeforalll:class
rdf:datatype="http://www.w3.org/2001/XMLSchema#int">61</typeforall:class>
<cd:artist>Bob Dylan</cd:artist>
<cd:country>USA</cd:country>
<cd:company>Columbia</cd:company>
<cd:price>10.90</cd:price>
<cd:year>1985</cd:year>
</rdf:Description>
from the above sample rdf file, how to extract rdf:type ie, "class" using apache jena.
- 01-14-2013, 01:56 PM #2
Re: Extracting rdf:type from rdf file
Also posted at Extracting rdf:type from rdf file
If you don't understand my response, don't ignore it, ask a question.
Similar Threads
-
extracting file content into array
By phyzix5761 in forum New To JavaReplies: 7Last Post: 11-06-2012, 08:53 PM -
Extracting sentences from a text file
By warlock in forum New To JavaReplies: 2Last Post: 11-29-2011, 02:22 PM -
Extracting values from a text file
By kryptonian03 in forum New To JavaReplies: 4Last Post: 03-22-2011, 06:13 AM -
Extracting JAR file
By Java Tip in forum Java TipReplies: 0Last Post: 02-08-2008, 09:17 AM -
Extracting data from an XML file...
By techno_brains in forum New To JavaReplies: 1Last Post: 07-15-2007, 05:46 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks