Skip to content

Commit

Permalink
Fix unit
Browse files Browse the repository at this point in the history
  • Loading branch information
l-emele committed Oct 26, 2023
1 parent e53b306 commit 172cc12
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 20 deletions.
19 changes: 18 additions & 1 deletion src/ontology/edits/oeo-import-edits.owl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ Currently, it covers the `ro-extracted.owl`-file which is a subset of the Relati



<!-- http://purl.obolibrary.org/obo/IAO_0000115 -->

<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000115"/>



<!-- http://purl.obolibrary.org/obo/IAO_0000118 -->

<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000118"/>



<!-- http://purl.obolibrary.org/obo/IAO_0000233 -->

<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000233"/>
Expand Down Expand Up @@ -423,10 +435,15 @@ pull request: https://github.com/OpenEnergyPlatform/ontology/pull/1652</obo:IAO_

<owl:Class rdf:about="http://purl.obolibrary.org/obo/UO_0000000">
<rdfs:subClassOf rdf:resource="http://purl.obolibrary.org/obo/BFO_0000031"/>
<obo:IAO_0000115>A unit of measurement is a standardised quantity of a quantifiable entity</obo:IAO_0000115>
<obo:IAO_0000118 xml:lang="en">unit of measurement</obo:IAO_0000118>
<obo:IAO_0000233>issue: https://github.com/OpenEnergyPlatform/ontology/issues/533
pull request: https://github.com/OpenEnergyPlatform/ontology/pull/537
renaming
pull request: https://github.com/OpenEnergyPlatform/ontology/pull/895</obo:IAO_0000233>
pull request: https://github.com/OpenEnergyPlatform/ontology/pull/895

Fix unit:
https://github.com/OpenEnergyPlatform/ontology/pull/1741</obo:IAO_0000233>
<rdfs:comment>The original definition from UO is &quot;A unit of measurement is a standardized quantity of a physical quality.&quot;. It was adjusted for OEO purposes such that currencies can also be defined as units.</rdfs:comment>
</owl:Class>

Expand Down
31 changes: 12 additions & 19 deletions src/ontology/imports/uo-extracted.owl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@
<!-- http://purl.obolibrary.org/obo/UO_0000000 -->

<owl:Class rdf:about="http://purl.obolibrary.org/obo/UO_0000000">
<obo:IAO_0000115>&quot;A unit of measurement is a standardized quantity of a physical quality.&quot; [Wikipedia:Wikipedia]</obo:IAO_0000115>
<rdfs:isDefinedBy rdf:resource="http://purl.obolibrary.org/obo/uo.owl"/>
<rdfs:label>unit</rdfs:label>
</owl:Class>
Expand All @@ -134,12 +133,6 @@
<owl:annotatedTarget rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
<prov:wasDerivedFrom rdf:resource="http://purl.obolibrary.org/obo/uo/releases/2023-05-25/uo.owl"/>
</owl:Axiom>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/UO_0000000"/>
<owl:annotatedProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000115"/>
<owl:annotatedTarget>&quot;A unit of measurement is a standardized quantity of a physical quality.&quot; [Wikipedia:Wikipedia]</owl:annotatedTarget>
<prov:wasDerivedFrom rdf:resource="http://purl.obolibrary.org/obo/uo/releases/2023-05-25/uo.owl"/>
</owl:Axiom>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/UO_0000000"/>
<owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#label"/>
Expand All @@ -157,12 +150,6 @@
<rdfs:isDefinedBy rdf:resource="http://purl.obolibrary.org/obo/uo.owl"/>
<rdfs:label>length unit</rdfs:label>
</owl:Class>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/UO_0000001"/>
<owl:annotatedProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000115"/>
<owl:annotatedTarget>&quot;A unit which is a standard measure of the distance between two points.&quot; [Wikipedia:Wikipedia]</owl:annotatedTarget>
<prov:wasDerivedFrom rdf:resource="http://purl.obolibrary.org/obo/uo/releases/2023-05-25/uo.owl"/>
</owl:Axiom>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/UO_0000001"/>
<owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#label"/>
Expand All @@ -181,6 +168,12 @@
<owl:annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/UO_0000000"/>
<prov:wasDerivedFrom rdf:resource="http://purl.obolibrary.org/obo/uo/releases/2023-05-25/uo.owl"/>
</owl:Axiom>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/UO_0000001"/>
<owl:annotatedProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000115"/>
<owl:annotatedTarget>&quot;A unit which is a standard measure of the distance between two points.&quot; [Wikipedia:Wikipedia]</owl:annotatedTarget>
<prov:wasDerivedFrom rdf:resource="http://purl.obolibrary.org/obo/uo/releases/2023-05-25/uo.owl"/>
</owl:Axiom>



Expand Down Expand Up @@ -954,12 +947,6 @@
<rdfs:isDefinedBy rdf:resource="http://purl.obolibrary.org/obo/uo.owl"/>
<rdfs:label>watt-hour based unit</rdfs:label>
</owl:Class>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/UO_1000223"/>
<owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
<owl:annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/UO_0000111"/>
<prov:wasDerivedFrom rdf:resource="http://purl.obolibrary.org/obo/uo/releases/2023-05-25/uo.owl"/>
</owl:Axiom>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/UO_1000223"/>
<owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#label"/>
Expand All @@ -972,6 +959,12 @@
<owl:annotatedTarget rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
<prov:wasDerivedFrom rdf:resource="http://purl.obolibrary.org/obo/uo/releases/2023-05-25/uo.owl"/>
</owl:Axiom>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/UO_1000223"/>
<owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
<owl:annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/UO_0000111"/>
<prov:wasDerivedFrom rdf:resource="http://purl.obolibrary.org/obo/uo/releases/2023-05-25/uo.owl"/>
</owl:Axiom>



Expand Down

0 comments on commit 172cc12

Please sign in to comment.