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] Different individual with same name

Tran Binh thaibinhtran at gmail.com
Wed Nov 24 08:02:45 PST 2010


Thank Timothy,

Actualy I have two different individual with same label C (they have
differet namespace). Here is my OWL file

<?xml version="1.0"?>


<!DOCTYPE rdf:RDF [
    <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
    <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
    <!ENTITY owl2xml "http://www.w3.org/2006/12/owl2-xml#" >
    <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
    <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
]>


<rdf:RDF xmlns="http://www.semanticweb.org/ontologies/2010/8/a.owl#"
     xml:base="http://www.semanticweb.org/ontologies/2010/8/a.owl"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
     xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
     xmlns:owl="http://www.w3.org/2002/07/owl#"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    <owl:Ontology
rdf:about="http://www.semanticweb.org/ontologies/2010/8/a.owl"/>
    


    <!-- 
   
///////////////////////////////////////////////////////////////////////////////////////
    //
    // Annotation properties
    //
   
///////////////////////////////////////////////////////////////////////////////////////
     -->

    <owl:AnnotationProperty rdf:about="&rdfs;label"/>
    


    <!-- 
   
///////////////////////////////////////////////////////////////////////////////////////
    //
    // Object Properties
    //
   
///////////////////////////////////////////////////////////////////////////////////////
     -->

    


    <!--
http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLObjectProperty_00000115657792162958
-->

    <owl:ObjectProperty
rdf:about="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLObjectProperty_00000115657792162958">
        <rdfs:label>hasPart</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- 
   
///////////////////////////////////////////////////////////////////////////////////////
    //
    // Classes
    //
   
///////////////////////////////////////////////////////////////////////////////////////
     -->

    


    <!--
http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLClass_00000115596321205835
-->

    <owl:Class
rdf:about="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLClass_00000115596321205835">
        <rdfs:label>Province</rdfs:label>
    </owl:Class>
    


    <!--
http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLClass_00000115621992783125
-->

    <owl:Class
rdf:about="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLClass_00000115621992783125">
        <rdfs:label>District</rdfs:label>
    </owl:Class>
    


    <!-- http://www.w3.org/2002/07/owl#Thing -->

    <owl:Class rdf:about="&owl;Thing"/>
    


    <!-- 
   
///////////////////////////////////////////////////////////////////////////////////////
    //
    // Individuals
    //
   
///////////////////////////////////////////////////////////////////////////////////////
     -->

    


    <!--
http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLNamedIndividual_00000115633632647830
-->

    <owl:NamedIndividual
rdf:about="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLNamedIndividual_00000115633632647830">
        <rdf:type
rdf:resource="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLClass_00000115596321205835"/>
        <rdfs:label>A</rdfs:label>
        <OWLObjectProperty_00000115657792162958
rdf:resource="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLNamedIndividual_00000115648999965107"/>
    </owl:NamedIndividual>
    


    <!--
http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLNamedIndividual_00000115645136933841
-->

    <owl:NamedIndividual
rdf:about="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLNamedIndividual_00000115645136933841">
        <rdf:type
rdf:resource="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLClass_00000115596321205835"/>
        <rdfs:label>B</rdfs:label>
        <OWLObjectProperty_00000115657792162958
rdf:resource="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLNamedIndividual_00000115653312557644"/>
    </owl:NamedIndividual>
    


    <!--
http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLNamedIndividual_00000115648999965107
-->

    <owl:NamedIndividual
rdf:about="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLNamedIndividual_00000115648999965107">
        <rdf:type
rdf:resource="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLClass_00000115621992783125"/>
        <rdfs:label>C</rdfs:label>
    </owl:NamedIndividual>
    


    <!--
http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLNamedIndividual_00000115653312557644
-->

    <owl:NamedIndividual
rdf:about="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLNamedIndividual_00000115653312557644">
        <rdf:type
rdf:resource="http://www.semanticweb.org/ontologies/2010/8/a.owl#OWLClass_00000115621992783125"/>
        <rdfs:label>C</rdfs:label>
    </owl:NamedIndividual>
</rdf:RDF>



<!-- Generated by the OWL API (version 3.1.0.20069)
http://owlapi.sourceforge.net -->

Thank again,
Binh
-- 
View this message in context: http://protege-ontology-editor-knowledge-acquisition-system.136.n4.nabble.com/Different-individual-with-same-name-tp3056849p3057576.html
Sent from the Protege OWL mailing list archive at Nabble.com.



More information about the protege-owl mailing list