Hello,
   When I write an ontology to file using Jena and then open it in TopBraid, 
TopBraid doesn't seem to know the URI of the ontology nor any of its imports, 
even though it has (for example) the following Ontology definition in the model:

  <rdf:Description 
rdf:about="http://www.boeing.com/IVHM/UjeffMPV-GeneratorExpAdviseInst.owl";>
    <owl:imports rdf:resource="http://www.boeing.com/IVHM/Advise.owl"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Ontology"/>
  </rdf:Description>


Composer offers to add the missing imports, and if I say ok, it adds the 
following new Ontology definition (based on the filename) with the missing 
imports, but then says the file contains multiple ontologies:

  <rdf:Description 
rdf:about="file:/C:/Documents%20and%20Settings/si454a/My%20Documents/MyWork/IVHM/TBCworkspace/TestMIF/UjeffMPV-GeneratorExpAdviseInstModel.owl">
    <owl:imports rdf:resource="http://www.boeing.com/IVHM/Advise.owl"/>
    <owl:imports rdf:resource="http://www.boeing.com/IVHM/Common.owl"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Ontology"/>
  </rdf:Description>

Topbraid also adds the following xml:base namespace prefix:

  
xml:base="file:/C:/Documents%20and%20Settings/si454a/My%20Documents/MyWork/IVHM/TBCworkspace/TestMIF/UjeffMPV-GeneratorExpAdviseInstModel.owl"
 >


Why doesn't the original ontology definition register with Topbraid? Is it 
because of the xml:base prefix?  Btw, that's something I've never been able to 
figure out how to add using Jena.  If you don't mind, how do you add that?  
I've used setNSPrefix, but that always prepends xmlns: to the prefix, and for 
base it needs xml:

Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en.

Reply via email to