[Pellet-Users] RE-SENDING: Strange HP Namespace Issue

Swanson, Tim tim.swanson at semanticarts.com
Mon Oct 9 13:27:31 EDT 2006


I'm re-sending this message. The output I included in the last one was
an empty file (didn't save it before I uploaded it).



Hi All,

I'm running Pellet using the Jena interface, and I'm getting some odd
insertions into my RDF graph.

The ontology at http://www.semanticwiki.com/ontologies/test.owl has two
entities: an OWL object property P, and an object property R, which is a
subproperty of P.

I ran four test cases: two each for properties P and R, with a plain
OntModel and with a Pellet-backed OntModel.

In each case, I dumped the RDF graph to standard out to see what triples
were being inferred during classification.

The differences were sort of what you would expect. Using Pellet
generated the triple 
    <P> <owl:equivalentProperty> <P> . 
where the default model did not, but that's hardly surprising. A little
more odd was that the default model generated the triple 
    <P> <rdf:type> <rdfs:Resource> .
where the Pellet model didn't. I've never heard of <rdfs:Resource>, does
anyone know why this was included?


It doesn't really matter, though, because all of this is more or less
what you'd expect. My problem is with case 4 (property R, Pellet
reasoner).

In addition to the normal triples you would expect, I'm also getting
this one:

    <R>
<urn:x-hp-direct-predicate:http_//www.w3.org/2000/01/rdf-schema#subPrope
rtyOf> <P> .

The normal triple
    <R> <rdfs:subPropertyOf> <P> .
is still present, but this other one has been added too.

Where did this HP namespace come from, and why has it been prepended to
the RDFS namespace? This only happens when I'm running Pellet (as
opposed to the default reasoner -- I haven't tried another inference
engine).

This is playing hell with my code. Any help would be appreciated. I've
attached my source code and output.


Thanks,

Tim Swanson
Semantic Arts, Inc.
Fort Collins, CO
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: output.txt
Url: http://lists.mindswap.org/pipermail/pellet-users/attachments/20061009/441824ea/attachment.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JenaOutputTest.java
Type: application/octet-stream
Size: 2592 bytes
Desc: JenaOutputTest.java
Url : http://lists.mindswap.org/pipermail/pellet-users/attachments/20061009/441824ea/attachment.obj 


More information about the Pellet-Users mailing list