Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] [Protege-owl] ontology naming issue

Ralf Weinand weinanr at cs.tu-berlin.de
Tue May 13 13:38:28 PDT 2008


Hi,

I think it´s not a good idea to save an ontology without explicitly giving
it a name (like Protege does).
Protege always writes out <owl:Ontology rdf:about="">.
When several ontologies with empty names are imported into one model,
then the knowledgebase is somehow inconsistent.

EXAMPLE:

ONTOLOGY 1:

<rdf:RDF
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns="
http://localhost:8080/process/MediationProcess/Dataflow_MediationProcessInput2MoonOMSAddLineItemServiceInput.owl#
"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
  xml:base="
http://localhost:8080/process/MediationProcess/Dataflow_MediationProcessInput2MoonOMSAddLineItemServiceInput.owl
">
  <owl:Ontology rdf:about="">
    <owl:imports rdf:resource="
http://localhost:8080/ontologies/ServiceAnchor.owl"/>
  </owl:Ontology>
....



ONTOLOGY 2:

<rdf:RDF
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns="
http://localhost:8080/process/MediationProcess/MoonOMSAddLineItemServiceInput.owl#
"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
  xml:base="
http://localhost:8080/process/MediationProcess/MoonOMSAddLineItemServiceInput.owl
">
  <owl:Ontology rdf:about="">
    <owl:imports rdf:resource="
http://localhost:8080/ontologies/MoonOntology.owl"/>
  </owl:Ontology>
....


ONTOLOGY 1 and 2 imported results in something like:

<rdf:RDF
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns="
http://localhost:8080/process/MediationProcess/MoonOMSAddLineItemServiceInput.owl#
"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
  xml:base="
http://localhost:8080/process/MediationProcess/MoonOMSAddLineItemServiceInput.owl
">
  <owl:Ontology rdf:about="">
    <owl:imports rdf:resource="
http://localhost:8080/ontologies/ServiceAnchor.owl"/>
  </owl:Ontology>
  <owl:Ontology rdf:about="">
    <owl:imports rdf:resource="
http://localhost:8080/ontologies/ServiceAnchor.owl"/>
  </owl:Ontology>
....


So I think ontologies should be serialized as.


ONTOLOGY 1:

<rdf:RDF
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns="
http://localhost:8080/process/MediationProcess/Dataflow_MediationProcessInput2MoonOMSAddLineItemServiceInput.owl#
"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
  xml:base="
http://localhost:8080/process/MediationProcess/Dataflow_MediationProcessInput2MoonOMSAddLineItemServiceInput.owl
">
  <owl:Ontology rdf:about="
http://localhost:8080/process/MediationProcess/Dataflow_MediationProcessInput2MoonOMSAddLineItemServiceInput.owl
">
    <owl:imports rdf:resource="
http://localhost:8080/ontologies/ServiceAnchor.owl"/>
  </owl:Ontology>
....



ONTOLOGY 2:


<rdf:RDF
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns="
http://localhost:8080/process/MediationProcess/MoonOMSAddLineItemServiceInput.owl#
"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
  xml:base="
http://localhost:8080/process/MediationProcess/MoonOMSAddLineItemServiceInput.owl
">
  <owl:Ontology rdf:about="">
    <owl:imports rdf:resource="
http://localhost:8080/ontologies/MoonOntology.owl"/>
  </owl:Ontology>
....

What do you think?

Cheers,
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20080513/518f55c1/attachment.html>


More information about the protege-owl mailing list