Hey,
is it possible to check if resource in OntModel comes from the
main/root ontology or the owl:imports?
Is thought that is what isInBaseModel() does, but I don't get expected result.
http://jena.apache.org/documentation/javadoc/jena/com/hp/hpl/jena/ontology/OntModel.html#isInBaseModel(com.hp.hpl.jena.rdf.model.RDFNode)
I want to give the imported classes lower priority when processing URI
template annotations. That would be similar to XSLT import precedence:
http://www.w3.org/TR/xslt20/#dt-import-precedence
SPIN on the other hand defines its own spin:imports:
http://spinrdf.org/spin.html#spin-imports
Maybe owl:import is not the right mechanism here?
Martynas
graphityhq.com
is it possible to check if resource in OntModel comes from the
main/root ontology or the owl:imports?
Is thought that is what isInBaseModel() does, but I don't get expected result.
http://jena.apache.org/documentation/javadoc/jena/com/hp/hpl/jena/ontology/OntModel.html#isInBaseModel(com.hp.hpl.jena.rdf.model.RDFNode)
I want to give the imported classes lower priority when processing URI
template annotations. That would be similar to XSLT import precedence:
http://www.w3.org/TR/xslt20/#dt-import-precedence
SPIN on the other hand defines its own spin:imports:
http://spinrdf.org/spin.html#spin-imports
Maybe owl:import is not the right mechanism here?
Martynas
graphityhq.com