Skip to content

Commit

Permalink
[Ontologies] format
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthou committed Dec 10, 2024
1 parent 38e0616 commit e8bad84
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 26 deletions.
32 changes: 26 additions & 6 deletions files/attribute.owl
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@



<!-- attribute#area -->
<!-- attribute#Area -->

<owl:Class rdf:about="attribute#area">
<owl:Class rdf:about="attribute#Area">
<rdfs:subClassOf rdf:resource="attribute#attribute"/>
<rdfs:label xml:lang="fr">zone</rdfs:label>
</owl:Class>
Expand Down Expand Up @@ -137,17 +137,37 @@



<!-- attribute#indoorArea -->
<!-- attribute#IndoorArea -->

<owl:Class rdf:about="attribute#indoorArea">
<rdfs:subClassOf rdf:resource="attribute#area"/>
<owl:Class rdf:about="attribute#IndoorArea">
<rdfs:subClassOf rdf:resource="attribute#Area"/>
<owl:disjointWith rdf:resource="attribute#outdoorArea"/>
<rdfs:label xml:lang="en">indoor area</rdfs:label>
<rdfs:label xml:lang="fr">zone intérieure</rdfs:label>
</owl:Class>



<!-- attribute#Room -->

<owl:Class rdf:about="attribute#Room">
<rdfs:subClassOf rdf:resource="attribute#IndoorArea"/>
<rdfs:label xml:lang="en">room</rdfs:label>
<rdfs:label xml:lang="fr">piece</rdfs:label>
</owl:Class>



<!-- attribute#Kitchen -->

<owl:Class rdf:about="attribute#Kitchen">
<rdfs:subClassOf rdf:resource="attribute#Room"/>
<rdfs:label xml:lang="en">kitchen</rdfs:label>
<rdfs:label xml:lang="fr">cuisine</rdfs:label>
</owl:Class>



<!-- attribute#living -->

<owl:Class rdf:about="attribute#living">
Expand Down Expand Up @@ -209,7 +229,7 @@
<!-- attribute#outdoorArea -->

<owl:Class rdf:about="attribute#outdoorArea">
<rdfs:subClassOf rdf:resource="attribute#area"/>
<rdfs:subClassOf rdf:resource="attribute#Area"/>
<rdfs:label xml:lang="en">outdoor area</rdfs:label>
<rdfs:label xml:lang="fr">zone extérieur</rdfs:label>
</owl:Class>
Expand Down
27 changes: 7 additions & 20 deletions files/positionProperty.owl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AsymmetricProperty"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#TransitiveProperty"/>
<rdfs:domain rdf:resource="attribute#entity"/>
<rdfs:range rdf:resource="attribute#area"/>
<rdfs:range rdf:resource="attribute#Area"/>
</owl:ObjectProperty>


Expand All @@ -60,7 +60,7 @@
<owl:ObjectProperty rdf:about="position_property#isBetween">
<rdfs:subPropertyOf rdf:resource="position_property#isPositioned"/>
<rdfs:domain rdf:resource="attribute#entity"/>
<rdfs:range rdf:resource="attribute#area"/>
<rdfs:range rdf:resource="attribute#Area"/>
<rdfs:range rdf:resource="attribute#entity"/>
</owl:ObjectProperty>

Expand All @@ -73,7 +73,7 @@
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AsymmetricProperty"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#TransitiveProperty"/>
<rdfs:domain rdf:resource="attribute#entity"/>
<rdfs:range rdf:resource="attribute#area"/>
<rdfs:range rdf:resource="attribute#Area"/>
</owl:ObjectProperty>


Expand All @@ -84,7 +84,7 @@
<rdfs:subPropertyOf rdf:resource="position_property#isPositioned"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#TransitiveProperty"/>
<rdfs:domain rdf:resource="attribute#entity"/>
<rdfs:range rdf:resource="attribute#area"/>
<rdfs:range rdf:resource="attribute#Area"/>
<rdfs:range rdf:resource="attribute#entity"/>
<owl:propertyChainAxiom rdf:parseType="Collection">
<rdf:Description rdf:about="position_property#isOn"/>
Expand All @@ -99,7 +99,7 @@
<owl:ObjectProperty rdf:about="position_property#isInArea">
<rdfs:subPropertyOf rdf:resource="position_property#isIn"/>
<rdfs:domain rdf:resource="attribute#entity"/>
<rdfs:range rdf:resource="attribute#area"/>
<rdfs:range rdf:resource="attribute#Area"/>
</owl:ObjectProperty>


Expand All @@ -119,7 +119,7 @@
<owl:ObjectProperty rdf:about="position_property#isInBuilding">
<rdfs:subPropertyOf rdf:resource="position_property#isInArea"/>
<rdfs:domain rdf:resource="attribute#entity"/>
<rdfs:range rdf:resource="attribute#indoorArea"/>
<rdfs:range rdf:resource="attribute#IndoorArea"/>
</owl:ObjectProperty>


Expand Down Expand Up @@ -148,7 +148,7 @@
<owl:ObjectProperty rdf:about="position_property#isInRoom">
<rdfs:subPropertyOf rdf:resource="position_property#isInArea"/>
<rdfs:domain rdf:resource="attribute#entity"/>
<rdfs:range rdf:resource="attribute#indoorArea"/>
<rdfs:range rdf:resource="attribute#Room"/>
</owl:ObjectProperty>


Expand Down Expand Up @@ -260,13 +260,6 @@




<!-- attribute#area -->

<owl:Class rdf:about="attribute#area"/>



<!-- attribute#box -->

<owl:Class rdf:about="attribute#box"/>
Expand All @@ -276,12 +269,6 @@
<!-- attribute#entity -->

<owl:Class rdf:about="attribute#entity"/>



<!-- attribute#indoorArea -->

<owl:Class rdf:about="attribute#indoorArea"/>
</rdf:RDF>


Expand Down

0 comments on commit e8bad84

Please sign in to comment.