I'm new to Jena RDF API and I'm noticing some unexpected behavior regarding 
statement namespaces...
I've noticed that URI resources such as  
"http://www.govtrack.us/data/photos/412483.jpeg"; in the below excerpt of the 
congressional people graph(http://www.govtrack.us/data/rdf/people.rdf.gz)
Are reported to have namespace: " http://www.govtrack.us/data/photos/410069."; 
And local name "jpeg" using the com.hp.hpl.jena.rdf.model.Resource 
getLocalName(), and getNameSpace().
Is this correct behavior? It looks to me like the dot is being used as a 
delimiter between the NS and the local name. Is there a way to change that 
behavior ? thanks!


<foaf:Person 
rdf:about="http://www.rdfabout.com/rdf/usgov/congress/people/R000589";>
    <foaf:name>E. Rigell</foaf:name>
    <usgov:name>E. Rigell</usgov:name>
    <vcard:N>
      <rdf:Description>
        <vcard:Given>E.</vcard:Given>
        <vcard:Other>Scott</vcard:Other>
        <vcard:Family>Rigell</vcard:Family>
        <vcard:Prefix>Rep.</vcard:Prefix>
      </rdf:Description>
    </vcard:N>
    <foaf:gender>male</foaf:gender>
    <vcard:BDAY>1960-05-28</vcard:BDAY>
    <foaf:img rdf:resource="http://www.govtrack.us/data/photos/412483.jpeg"/>
    <usgov:congressBioGuideID>R000589</usgov:congressBioGuideID>
    <foaf:title>Rep.</foaf:title>
    <foaf:homepage>http://rigell.house.gov/</foaf:homepage>
  </foaf:Person>

 
Thanks, Rodrigo.


Reply via email to