Skip to content

Commit

Permalink
Add of type on transformation loop and track seller of order
Browse files Browse the repository at this point in the history
  • Loading branch information
Alcoz committed Jan 25, 2024
1 parent 340c281 commit e84a52d
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 6 deletions.
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [1.11.1] - 2024-01-12

## [1.12.0] - 2024-02-01
### Added

#### Property
- sold, domain: Agent, inverseOf: soldBy
- soldBy, domain: Order, inverseOf: sold
- hasTransformationType, domain: AsPlannedTransformation, range: skos:Concept and (skos:broader value TransformationType) and (skos:inScheme value DFC_Vocabulary)

## [1.11.1] - 2024-01-29
### Added
- upgrade context.json to add tech ontology object property and owner (required to prototype)
- dfc-t:represent
Expand Down Expand Up @@ -283,7 +292,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Brand as a Facet.

[unreleased]: https://github.com/datafoodconsortium/ontology/compare/v1.11.1...master
[unreleased]: https://github.com/datafoodconsortium/ontology/compare/v1.12.0...master
[1.12.0]: https://github.com/datafoodconsortium/ontology/compare/v1.11.1...v1.12.0
[1.11.1]: https://github.com/datafoodconsortium/ontology/compare/v1.10.1...v1.11.1
[1.9.2]: https://github.com/datafoodconsortium/ontology/compare/v1.9.1...v1.9.2
[1.9.1]: https://github.com/datafoodconsortium/ontology/compare/v1.9.0...v1.9.1
Expand Down
9 changes: 9 additions & 0 deletions context.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@
"dfc-b:hasTemperature": {
"@type": "@id"
},
"dfc-b:hasTransformationType": {
"@type": "@id"
},
"dfc-b:hasType": {
"@type": "@id"
},
Expand Down Expand Up @@ -380,6 +383,12 @@
"dfc-b:socialMediaOf": {
"@type": "@id"
},
"dfc-b:sold": {
"@type": "@id"
},
"dfc-b:soldBy": {
"@type": "@id"
},
"dfc-b:storedIn": {
"@type": "@id"
},
Expand Down
88 changes: 86 additions & 2 deletions src/DFC_BusinessOntology.owl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</Annotation>
<Annotation>
<AnnotationProperty abbreviatedIRI="dc:modified"/>
<Literal datatypeIRI="http://www.w3.org/2001/XMLSchema#date">2023-02-13</Literal>
<Literal>2024-01-25</Literal>
</Annotation>
<Annotation>
<AnnotationProperty abbreviatedIRI="dc:publisher"/>
Expand All @@ -86,7 +86,7 @@
</Annotation>
<Annotation>
<AnnotationProperty abbreviatedIRI="owl:versionInfo"/>
<Literal>1.9.0</Literal>
<Literal>1.12.0</Literal>
</Annotation>
<Declaration>
<Class abbreviatedIRI="skos:Collection"/>
Expand Down Expand Up @@ -487,6 +487,9 @@
<Declaration>
<ObjectProperty IRI="#hasTemperature"/>
</Declaration>
<Declaration>
<ObjectProperty IRI="#hasTransformationType"/>
</Declaration>
<Declaration>
<ObjectProperty IRI="#hasType"/>
</Declaration>
Expand Down Expand Up @@ -658,6 +661,12 @@
<Declaration>
<ObjectProperty IRI="#socialMediaOf"/>
</Declaration>
<Declaration>
<ObjectProperty IRI="#sold"/>
</Declaration>
<Declaration>
<ObjectProperty IRI="#soldBy"/>
</Declaration>
<Declaration>
<ObjectProperty IRI="#storedIn"/>
</Declaration>
Expand Down Expand Up @@ -1231,6 +1240,9 @@
<Declaration>
<NamedIndividual IRI="https://github.com/datafoodconsortium/taxonomies/releases/latest/download/vocabulary.rdf#PaymentState"/>
</Declaration>
<Declaration>
<NamedIndividual IRI="https://github.com/datafoodconsortium/taxonomies/releases/latest/download/vocabulary.rdf#TranformationType"/>
</Declaration>
<Declaration>
<AnnotationProperty abbreviatedIRI="dc:contributor"/>
</Declaration>
Expand Down Expand Up @@ -4491,6 +4503,10 @@
<ObjectProperty IRI="#hasTemperature"/>
<ObjectProperty IRI="#DFC_BusinessOntology_ObjectProperty"/>
</SubObjectPropertyOf>
<SubObjectPropertyOf>
<ObjectProperty IRI="#hasTransformationType"/>
<ObjectProperty IRI="#DFC_BusinessOntology_ObjectProperty"/>
</SubObjectPropertyOf>
<SubObjectPropertyOf>
<ObjectProperty IRI="#hasType"/>
<ObjectProperty IRI="#DFC_BusinessOntology_ObjectProperty"/>
Expand Down Expand Up @@ -4723,6 +4739,14 @@
<ObjectProperty IRI="#socialMediaOf"/>
<ObjectProperty IRI="#DFC_BusinessOntology_ObjectProperty"/>
</SubObjectPropertyOf>
<SubObjectPropertyOf>
<ObjectProperty IRI="#sold"/>
<ObjectProperty IRI="#DFC_BusinessOntology_ObjectProperty"/>
</SubObjectPropertyOf>
<SubObjectPropertyOf>
<ObjectProperty IRI="#soldBy"/>
<ObjectProperty IRI="#DFC_BusinessOntology_ObjectProperty"/>
</SubObjectPropertyOf>
<SubObjectPropertyOf>
<ObjectProperty IRI="#storedIn"/>
<ObjectProperty IRI="#DFC_BusinessOntology_ObjectProperty"/>
Expand Down Expand Up @@ -4979,6 +5003,10 @@
<ObjectProperty IRI="#satisfiedBy"/>
<ObjectProperty IRI="#satisfies"/>
</InverseObjectProperties>
<InverseObjectProperties>
<ObjectProperty IRI="#sold"/>
<ObjectProperty IRI="#soldBy"/>
</InverseObjectProperties>
<InverseObjectProperties>
<ObjectProperty IRI="#storedIn"/>
<ObjectProperty IRI="#stores"/>
Expand Down Expand Up @@ -5347,6 +5375,10 @@
<ObjectProperty IRI="#hasTemperature"/>
<Class IRI="#SuppliedProduct"/>
</ObjectPropertyDomain>
<ObjectPropertyDomain>
<ObjectProperty IRI="#hasTransformationType"/>
<Class IRI="#AsPlannedTransformation"/>
</ObjectPropertyDomain>
<ObjectPropertyDomain>
<ObjectProperty IRI="#hasType"/>
<Class IRI="#DefinedProduct"/>
Expand Down Expand Up @@ -5612,6 +5644,14 @@
<ObjectProperty IRI="#socialMediaOf"/>
<Class IRI="#SocialMedia"/>
</ObjectPropertyDomain>
<ObjectPropertyDomain>
<ObjectProperty IRI="#sold"/>
<Class IRI="#Agent"/>
</ObjectPropertyDomain>
<ObjectPropertyDomain>
<ObjectProperty IRI="#soldBy"/>
<Class IRI="#Order"/>
</ObjectPropertyDomain>
<ObjectPropertyDomain>
<ObjectProperty IRI="#storedIn"/>
<Class IRI="#RealStock"/>
Expand Down Expand Up @@ -5782,6 +5822,20 @@
<ObjectProperty IRI="#hasQuantity"/>
<Class IRI="#QuantitativeValue"/>
</ObjectPropertyRange>
<ObjectPropertyRange>
<ObjectProperty IRI="#hasTransformationType"/>
<ObjectIntersectionOf>
<Class abbreviatedIRI="skos:Concept"/>
<ObjectHasValue>
<ObjectProperty abbreviatedIRI="skos:broader"/>
<NamedIndividual IRI="https://github.com/datafoodconsortium/taxonomies/releases/latest/download/vocabulary.rdf#TranformationType"/>
</ObjectHasValue>
<ObjectHasValue>
<ObjectProperty abbreviatedIRI="skos:inScheme"/>
<NamedIndividual IRI="https://github.com/datafoodconsortium/taxonomies/releases/latest/download/vocabulary.rdf#DFC_Vocabulary"/>
</ObjectHasValue>
</ObjectIntersectionOf>
</ObjectPropertyRange>
<ObjectPropertyRange>
<ObjectProperty IRI="#hasUnit"/>
<ObjectIntersectionOf>
Expand Down Expand Up @@ -8122,6 +8176,16 @@
<IRI>#hasTemperature</IRI>
<Literal xml:lang="en">has temperature</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:label"/>
<IRI>#hasTransformationType</IRI>
<Literal xml:lang="fr">a pour type de transformation</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:label"/>
<IRI>#hasTransformationType</IRI>
<Literal xml:lang="en">has transformation type</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:label"/>
<IRI>#hasType</IRI>
Expand Down Expand Up @@ -8892,6 +8956,26 @@
<IRI>#socialMediaOf</IRI>
<Literal xml:lang="en">social media of</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:label"/>
<IRI>#sold</IRI>
<Literal xml:lang="fr">a vendu</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:label"/>
<IRI>#sold</IRI>
<Literal xml:lang="en">sold</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:label"/>
<IRI>#soldBy</IRI>
<Literal xml:lang="en">sold by</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:label"/>
<IRI>#soldBy</IRI>
<Literal xml:lang="fr">vendu par</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:label"/>
<IRI>#specificCondition</IRI>
Expand Down
59 changes: 57 additions & 2 deletions src/DFC_BusinessOntology.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
<dc:creator rdf:resource="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#bernardC"/>
<dc:creator rdf:resource="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#florenceA"/>
<dc:description xml:lang="en">A common vocabulary for digital food platforms (Business Part)</dc:description>
<dc:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2023-02-13</dc:modified>
<dc:modified>2024-01-25</dc:modified>
<dc:publisher rdf:resource="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#dataFoodConsortium"/>
<dc:title xml:lang="en">Data Food Consortium Business</dc:title>
<vann:preferredNamespacePrefix>dfc-b</vann:preferredNamespacePrefix>
<rdfs:comment xml:lang="en">A common vocabulary for digital food platforms (Business Part)</rdfs:comment>
<owl:versionInfo>1.9.0</owl:versionInfo>
<owl:versionInfo>1.12.0</owl:versionInfo>
</owl:Ontology>


Expand Down Expand Up @@ -1196,6 +1196,32 @@



<!-- https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#hasTransformationType -->

<owl:ObjectProperty rdf:about="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#hasTransformationType">
<rdfs:subPropertyOf rdf:resource="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#DFC_BusinessOntology_ObjectProperty"/>
<rdfs:domain rdf:resource="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#AsPlannedTransformation"/>
<rdfs:range>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<rdf:Description rdf:about="http://www.w3.org/2004/02/skos/core#Concept"/>
<owl:Restriction>
<owl:onProperty rdf:resource="http://www.w3.org/2004/02/skos/core#broader"/>
<owl:hasValue rdf:resource="https://github.com/datafoodconsortium/taxonomies/releases/latest/download/vocabulary.rdf#TranformationType"/>
</owl:Restriction>
<owl:Restriction>
<owl:onProperty rdf:resource="http://www.w3.org/2004/02/skos/core#inScheme"/>
<owl:hasValue rdf:resource="https://github.com/datafoodconsortium/taxonomies/releases/latest/download/vocabulary.rdf#DFC_Vocabulary"/>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</rdfs:range>
<rdfs:label xml:lang="fr">a pour type de transformation</rdfs:label>
<rdfs:label xml:lang="en">has transformation type</rdfs:label>
</owl:ObjectProperty>



<!-- https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#hasType -->

<owl:ObjectProperty rdf:about="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#hasType">
Expand Down Expand Up @@ -1922,6 +1948,29 @@



<!-- https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#sold -->

<owl:ObjectProperty rdf:about="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#sold">
<rdfs:subPropertyOf rdf:resource="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#DFC_BusinessOntology_ObjectProperty"/>
<owl:inverseOf rdf:resource="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#soldBy"/>
<rdfs:domain rdf:resource="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#Agent"/>
<rdfs:label xml:lang="fr">a vendu</rdfs:label>
<rdfs:label xml:lang="en">sold</rdfs:label>
</owl:ObjectProperty>



<!-- https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#soldBy -->

<owl:ObjectProperty rdf:about="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#soldBy">
<rdfs:subPropertyOf rdf:resource="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#DFC_BusinessOntology_ObjectProperty"/>
<rdfs:domain rdf:resource="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#Order"/>
<rdfs:label xml:lang="en">sold by</rdfs:label>
<rdfs:label xml:lang="fr">vendu par</rdfs:label>
</owl:ObjectProperty>



<!-- https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#storedIn -->

<owl:ObjectProperty rdf:about="https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#storedIn">
Expand Down Expand Up @@ -5885,6 +5934,12 @@



<!-- https://github.com/datafoodconsortium/taxonomies/releases/latest/download/vocabulary.rdf#TranformationType -->

<owl:NamedIndividual rdf:about="https://github.com/datafoodconsortium/taxonomies/releases/latest/download/vocabulary.rdf#TranformationType"/>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
Expand Down

0 comments on commit e84a52d

Please sign in to comment.