Results 1 to 2 of 2
  1. #1
    vipincpy is offline Member
    Join Date
    Jan 2013
    Posts
    1
    Rep Power
    0

    Default 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.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,816
    Rep Power
    25

    Default Re: Extracting rdf:type from rdf file

    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. extracting file content into array
    By phyzix5761 in forum New To Java
    Replies: 7
    Last Post: 11-06-2012, 09:53 PM
  2. Extracting sentences from a text file
    By warlock in forum New To Java
    Replies: 2
    Last Post: 11-29-2011, 03:22 PM
  3. Extracting values from a text file
    By kryptonian03 in forum New To Java
    Replies: 4
    Last Post: 03-22-2011, 07:13 AM
  4. Extracting JAR file
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-08-2008, 10:17 AM
  5. Extracting data from an XML file...
    By techno_brains in forum New To Java
    Replies: 1
    Last Post: 07-15-2007, 06:46 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •