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] Inconsistency in OWL generation - Protege 4

swamy alswamy at gmail.com
Wed Jan 20 23:47:28 PST 2010


Thanks a lot for your reply.

Regards,
Swamy

On Wed, Jan 20, 2010 at 9:57 PM, Timothy Redmond <tredmond at stanford.edu>wrote:

>
> My usual advice with these types of questions is to focus on the OWL
> content and not the details of the rendering.  The two versions are
> equivalent.
>
> So lets consider the difference between
>
>
>   <Location rdf:about="#Kitchen">
>
>       <rdf:type rdf:resource="&owl;Thing"/>
>
>   </Location>
>
> and
>
>
>   <owl:Thing rdf:about="#Kitchen">
>
>       <rdf:type rdf:resource="#Location"/>
>
>   </owl:Thing>
>
> To my eye - and I didn't test this with a tool so it is an approximation -
> the first representation gives the following triples (with the ordering
> being what I think most parsers will do):
>
>   Kitchen rdf:type Location
>   Kitchen rdf:type Thing
>
> and the second representation gives these triples
>
>   Kitchen rdf:type Thing
>   Kitchen rdf:type Location
>
>
> But in rdf the order of the parsed triples is not guaranteed so these two
> representations are identical.
>
> -Timothy
>
> swamy wrote:
>
>> Hi,
>>
>> I am creating a owl with protege 4.
>>
>> I have three classes
>> 1. Person
>> 2. Location
>> 3. Sensor
>>
>> and I am creating the instances of each class.
>>
>> Person - Mike
>> Location - Kitchen
>> Sensor - Sensor1
>>
>> I have create new owl multiple times and observed that Protege is creating
>> the instances in a different way each time.
>>
>> 1st time :
>>
>>  <!-- file:/testontology.owl#Kitchen -->
>>
>>    <Location rdf:about="#Kitchen">
>>        <rdf:type rdf:resource="&owl;Thing"/>
>>    </Location>
>>
>>    <!-- file:/testontology.owl#Mike -->
>>
>>    <owl:Thing rdf:about="#Mike">
>>        <rdf:type rdf:resource="#Person"/>
>>    </owl:Thing>
>>
>>    <!-- file:/testontology.owl#Sensor1 -->
>>
>>    <Sensor rdf:about="#Sensor1">
>>        <rdf:type rdf:resource="&owl;Thing"/>
>>    </Sensor>
>>
>>
>> 2nd time :
>>
>>    <!--
>> http://www.semanticweb.org/ontologies/2010/0/Ontology1263996084596.owl#Bob-->
>>
>>    <owl:Thing rdf:about="#Bob">
>>        <rdf:type rdf:resource="#Person"/>
>>    </owl:Thing>
>>
>>
>>    <!--
>> http://www.semanticweb.org/ontologies/2010/0/Ontology1263996084596.owl#Kitchen-->
>>
>>    <owl:Thing rdf:about="#Kitchen">
>>        <rdf:type rdf:resource="#Location"/>
>>    </owl:Thing>
>>
>>
>>    <!--
>> http://www.semanticweb.org/ontologies/2010/0/Ontology1263996084596.owl#Sensor1-->
>>
>>    <Sensor rdf:about="#Sensor1">
>>        <rdf:type rdf:resource="&owl;Thing"/>
>>    </Sensor>
>>
>>
>> Please look at the Location Instance:
>> 1st time -
>>    <owl:Thing rdf:about="#Kitchen">
>>        <rdf:type rdf:resource="#Location"/>
>>    </owl:Thing>
>>
>> 2nd time -
>>    <owl:Thing rdf:about="#Kitchen">
>>        <rdf:type rdf:resource="#Location"/>
>>    </owl:Thing>
>>
>> Can  somebody please explain the reason for this behavior?
>>
>> Thanks a lot
>>
>> Regards,
>> Swamy
>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>> Instructions for unsubscribing:
>> http://protege.stanford.edu/doc/faq.html#01a.03
>>
>>
>
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
>



-- 
Thanks & Regards
~Swamy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20100121/4449db51/attachment.html>


More information about the protege-owl mailing list