Skip to content

Commit

Permalink
V1.13.0 Release (#140)
Browse files Browse the repository at this point in the history
## Added
### Class
-  Weight, subClassOf: QuantitativeValue.
- Volume, subClassOf: QuantitativeValue.
- Length, subClassOf: QuantitativeValue.

### Property
-  holds, domain: SaleSession, inverseOf: belongsTo
-  hasOffer, domain: CustomerCategory, inverseOf: offersTo
-  selectedBy, domain: ShippingOption, inverseOf: selects

### File
- file context_1.8.2.json

## Changed

- added missing InverseObjectProperties opening bracket for sells/soldBy (owl file now parses/loads in Protege)
- Domain : belongsTo, (Order | Agent) -> Order
- Rename: sold -> sells
- subpropertyOf hasStatus : DFC_BusinessOntology_ObjectProperty -> subpropertyOf DFC_Interface_Property
- subpropertyOf hasTransformationType : DFC_BusinessOntology_ObjectProperty -> subpropertyOf DFC_Interface_Property

## Deleted
### Property (deprecated)

- refersTo
- suppliesTo
- uses


------------------

* fix context & chengelog bottom links

* add object properties needed by prototype

* GH - added initial drafts of Bug & feature request templates

* add first versioned context.json (#121)

* owner to technical ontology

---------

Co-authored-by: @simonLouvet 

* Add inverse property of `belongsTo` called `holds` to resolve #118 (#124)

* Update context for issue #118

* update `soldBy` &  `sells`

* Update context for issue #111

* Add  `Weight`, `Length` and `Volume` as subclasses of `QuantitativeValue` (#127)

* add missing inverse relationship (#128)

---------

Co-authored-by: @simonLouvet 
Co-authored-by: @Alcoz
  • Loading branch information
RaggedStaff authored Jul 15, 2024
1 parent 38e7436 commit 3c98d29
Show file tree
Hide file tree
Showing 9 changed files with 1,258 additions and 66 deletions.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug report
about: Create a report to help us improve
title: '[BUG] Give a title'
labels: 'bug'
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Ontology Version [e.g. 1.8.2]
- Classes Impacted [e.g orderLine, enterprise, physicalProduct ]
- Properties Impacted [e.g. orderLine:hasQuantity does not accept non-integer values]


**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea to extend the standard
title: '[FEATURE] Give a title'
labels: 'enhancement'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Include any Classes and/or Properties that are impacted. E.G. It's not possible to [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen. Include any Use Case(s) that are applicable

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions, features, or work-arounds you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
src/catalog-v001.xml
*.orig
*.orig
*.chk.*
53 changes: 51 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,54 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.13.0] - 2024-05-30
### Added

#### Class
- Weight, subClassOf: QuantitativeValue.
- Volume, subClassOf: QuantitativeValue.
- Length, subClassOf: QuantitativeValue.

#### Property
- holds, domain: SaleSession, inverseOf: belongsTo
- hasOffer, domain: CustomerCategory, inverseOf: offersTo
- selectedBy, domain: ShippingOption, inverseOf: selects

### Changed
- added missing `InverseObjectProperties` opening bracket for `sells`/`soldBy` (owl file now parses/loads in Protege)
- Domain : belongsTo, (Order | Agent) -> Order
- Rename: sold -> sells
- subpropertyOf hasStatus : DFC_BusinessOntology_ObjectProperty -> subpropertyOf DFC_Interface_Property
- subpropertyOf hasTransformationType : DFC_BusinessOntology_ObjectProperty -> subpropertyOf DFC_Interface_Property

### Deleted

#### Property (deprecated)
- refersTo
- suppliesTo
- uses


## [1.12.1] - 2024-02-01
### Added
- file context_1.8.2.json

## [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
- dfc-t:hasPivot
- dfc-t:hostedBy
- dfc:owner

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

Expand Down Expand Up @@ -58,7 +106,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- inverse property: hasLabellingCharacteristic inverseOf labellingCharacteristicOf

### Changed

- PhysicalProduct: subClassOf (consumedBy only AsRealisedProductionFlow) -> subClassOf (consumedBy only AsRealisedConsumptionFlow)
- Address: subClassOf addressOf only Person and subClassOf addressOf only PhysicalPlace -> subClassOf addressOf only (Person or PhysicalPlace)
- Agent: subClassOf owns only PhysicalProduct -> subClassOf owns only (PhysicalProduct or Brand)
Expand Down Expand Up @@ -292,7 +339,9 @@ 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.12.0...master
[unreleased]: https://github.com/datafoodconsortium/ontology/compare/v1.13.0...master
[1.13.0]: https://github.com/datafoodconsortium/ontology/compare/v1.12.1...1.13.0
[1.12.1]: https://github.com/datafoodconsortium/ontology/compare/v1.12.0...v1.12.1
[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
Expand Down
28 changes: 12 additions & 16 deletions context.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@
"dfc-b:hasObject": {
"@type": "@id"
},
"dfc-b:hasOffer": {
"@type": "@id"
},
"dfc-b:hasOption": {
"@type": "@id"
},
Expand Down Expand Up @@ -218,6 +221,9 @@
"dfc-b:hasUnit": {
"@type": "@id"
},
"dfc-b:holds": {
"@type": "@id"
},
"dfc-b:hostedAt": {
"@type": "@id"
},
Expand Down Expand Up @@ -377,13 +383,16 @@
"dfc-b:satisfies": {
"@type": "@id"
},
"dfc-b:selectedBy": {
"@type": "@id"
},
"dfc-b:selects": {
"@type": "@id"
},
"dfc-b:socialMediaOf": {
"dfc-b:sells": {
"@type": "@id"
},
"dfc-b:sold": {
"dfc-b:socialMediaOf": {
"@type": "@id"
},
"dfc-b:soldBy": {
Expand Down Expand Up @@ -424,19 +433,6 @@
},
"dfc-b:uses": {
"@type": "@id"
},

"dfc-t:represent": {
"@type": "@id"
},
"dfc-t:hasPivot": {
"@type": "@id"
},
"dfc-t:hostedBy": {
"@type": "@id"
},
"dfc:owner": {
"@type": "@id"
}
}
}
}
Loading

0 comments on commit 3c98d29

Please sign in to comment.