[
https://issues.apache.org/jira/browse/JENA-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne updated JENA-676:
-------------------------------
Priority: Minor (was: Major)
> Namespace is not recognized
> ---------------------------
>
> Key: JENA-676
> URL: https://issues.apache.org/jira/browse/JENA-676
> Project: Apache Jena
> Issue Type: Bug
> Affects Versions: Jena 2.11.1
> Reporter: Andre Wallat
> Priority: Minor
>
> I found an issue when accessing a property of an RDF-document. I wanted to
> read a property called "gn:successor". So the normal way is to get the
> namespace of "gn" (which is "http://www.geonames.org/ontology") and create a
> property object, which I use then to receive the property as a statement.
> {{String nsURI = res.getModel().getNsPrefixURI("gn");}}
> {{Property prop = res.getModel().createProperty(nsURI + "successor");}}
> {{Statement stmt = res.getProperty(prop);}}
> For some reason this is not working for a specific document. I checked all
> the available Namespaces and only the "gn" is missing and I don't know why.
> Instead I can access the Propery with
> "http://www.geonames.org/ontologysuccessor" where the # is missing.
> Could anyone please verify this?
> The document to check is:
> http://iqvoc-gazetteer.innoq.com/de/concepts/GEMEINDE1510100000.rdf
--
This message was sent by Atlassian JIRA
(v6.2#6252)