Thanks, all, for the help and clarifications.  I've got another issue with
getNameSpace() and I figured I'd ask it here, as opposed to starting
another thread.

Once again, I'm using SUMO ( http://www.ontologyportal.org/SUMO.owl# ) as
my test case.  As was pointed out in answering my last question, this
serialization has known problems, and I'm ready and willing to believe that
SUMO is once again doing something wrong here.  Anyway, on to the question.

SUMO.owl defines a class :

<owl:Class rdf:about="TheaterProfession">
  <rdfs:isDefinedBy rdf:resource="http://www.ontologyportal.org/SUMO.owl"/>
  ...
</owl:Class>



I have an OntClass instance for this class (TheaterProfession).  When I
call .getNameSpace() on that object, I get "
http://www.ontologyportal.org/TheaterProfession";.  I think I *should* get "
http://www.ontologyportal.org/SUMO.owl#TheaterProfession";.  The default
namespace for the ontology is defined as :

<rdf:RDF
xmlns="http://www.ontologyportal.org/SUMO.owl#";



Adding xml:base="http://www.ontologyportal.org/SUMO.owl#"; has no effect.
 Any help is greatly appreciated.  Thanks,

Kevin

Reply via email to