diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..0d72d1d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -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. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..f6ac80a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -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. diff --git a/CHANGELOG.md b/CHANGELOG.md index 28eab40..6f0bdac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [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 @@ -59,6 +79,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### 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) @@ -292,7 +313,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.12.0...master +[unreleased]: https://github.com/datafoodconsortium/ontology/compare/v1.12.1...master +[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 diff --git a/context.json b/context.json index 8221b87..83768cd 100644 --- a/context.json +++ b/context.json @@ -435,7 +435,7 @@ "dfc-t:hostedBy": { "@type": "@id" }, - "dfc:owner": { + "dfc-t:owner": { "@type": "@id" } } diff --git a/context/context_1.8.2.json b/context/context_1.8.2.json new file mode 100644 index 0000000..83768cd --- /dev/null +++ b/context/context_1.8.2.json @@ -0,0 +1,442 @@ +{ + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "skos" : "http://www.w3.org/2004/02/skos/core#", + "dfc": "https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_FullModel.owl#", + "dc": "http://purl.org/dc/elements/1.1/#", + "dfc-b": "https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_BusinessOntology.owl#", + "dfc-t": "https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_TechnicalOntology.owl#", + "dfc-m": "https://github.com/datafoodconsortium/taxonomies/releases/latest/download/measures.rdf#", + "dfc-pt": "https://github.com/datafoodconsortium/taxonomies/releases/latest/download/productTypes.rdf#", + "dfc-f": "https://github.com/datafoodconsortium/taxonomies/releases/latest/download/facets.rdf#", + "dfc-v": "https://github.com/datafoodconsortium/taxonomies/releases/latest/download/vocabulary.rdf#", + "ontosec": "http://www.semanticweb.org/ontologies/2008/11/OntologySecurity.owl#", + "dfc-b:DFC_BusinessOntology_ObjectProperty": { + "@type": "@id" + }, + "dfc-b:DFC_Interface_Property": { + "@type": "@id" + }, + "dfc-b:addressOf": { + "@type": "@id" + }, + "dfc-b:affiliatedTo": { + "@type": "@id" + }, + "dfc-b:affiliates": { + "@type": "@id" + }, + "dfc-b:allergenCharacteristicOf": { + "@type": "@id" + }, + "dfc-b:belongsTo": { + "@type": "@id" + }, + "dfc-b:brandOf": { + "@type": "@id" + }, + "dfc-b:certificateOf": { + "@type": "@id" + }, + "dfc-b:characteristicOf": { + "@type": "@id" + }, + "dfc-b:claimOf": { + "@type": "@id" + }, + "dfc-b:composedOf": { + "@type": "@id" + }, + "dfc-b:composes": { + "@type": "@id" + }, + "dfc-b:concernedBy": { + "@type": "@id" + }, + "dfc-b:concerns": { + "@type": "@id" + }, + "dfc-b:constituedBy": { + "@type": "@id" + }, + "dfc-b:constitutes": { + "@type": "@id" + }, + "dfc-b:consumedBy": { + "@type": "@id" + }, + "dfc-b:consumes": { + "@type": "@id" + }, + "dfc-b:containerInformationOf": { + "@type": "@id" + }, + "dfc-b:coordinatedBy": { + "@type": "@id" + }, + "dfc-b:coordinates": { + "@type": "@id" + }, + "dfc-b:definedBy": { + "@type": "@id" + }, + "dfc-b:defines": { + "@type": "@id" + }, + "dfc-b:deliveredAt": { + "@type": "@id" + }, + "dfc-b:facetOf": { + "@type": "@id" + }, + "dfc-b:from": { + "@type": "@id" + }, + "dfc-b:geographicalOriginOf": { + "@type": "@id" + }, + "dfc-b:hasAddress": { + "@type": "@id" + }, + "dfc-b:hasAllergenCharacteristic": { + "@type": "@id" + }, + "dfc-b:hasAllergenDimension": { + "@type": "@id" + }, + "dfc-b:hasBrand": { + "@type": "@id" + }, + "dfc-b:hasCertification": { + "@type": "@id" + }, + "dfc-b:hasCharacteristic": { + "@type": "@id" + }, + "dfc-b:hasClaim": { + "@type": "@id" + }, + "dfc-b:hasContainerInformation": { + "@type": "@id" + }, + "dfc-b:hasDimension": { + "@type": "@id" + }, + "dfc-b:hasFacet": { + "@type": "@id" + }, + "dfc-b:hasFulfilmentStatus": { + "@type": "@id" + }, + "dfc-b:hasGeographicalOrigin": { + "@type": "@id" + }, + "dfc-b:hasIngredient": { + "@type": "@id" + }, + "dfc-b:hasInput": { + "@type": "@id" + }, + "dfc-b:hasLabellingCharacteristic": { + "@type": "@id" + }, + "dfc-b:hasLabellingDimension": { + "@type": "@id" + }, + "dfc-b:hasMainContact": { + "@type": "@id" + }, + "dfc-b:hasNatureOrigin": { + "@type": "@id" + }, + "dfc-b:hasNutrientCharacteristic": { + "@type": "@id" + }, + "dfc-b:hasNutrientDimension": { + "@type": "@id" + }, + "dfc-b:hasObject": { + "@type": "@id" + }, + "dfc-b:hasOption": { + "@type": "@id" + }, + "dfc-b:hasOrderStatus": { + "@type": "@id" + }, + "dfc-b:hasOutput": { + "@type": "@id" + }, + "dfc-b:hasPart": { + "@type": "@id" + }, + "dfc-b:hasPartOrigin": { + "@type": "@id" + }, + "dfc-b:hasPaymentMethod": { + "@type": "@id" + }, + "dfc-b:hasPaymentStatus": { + "@type": "@id" + }, + "dfc-b:hasPhoneNumber": { + "@type": "@id" + }, + "dfc-b:hasPhysicalCharacteristic": { + "@type": "@id" + }, + "dfc-b:hasPhysicalDimension": { + "@type": "@id" + }, + "dfc-b:hasPrice": { + "@type": "@id" + }, + "dfc-b:hasProcess": { + "@type": "@id" + }, + "dfc-b:hasQuantity": { + "@type": "@id" + }, + "dfc-b:hasReference": { + "@type": "@id" + }, + "dfc-b:hasSocialMedia": { + "@type": "@id" + }, + "dfc-b:hasStatus": { + "@type": "@id" + }, + "dfc-b:hasTemperature": { + "@type": "@id" + }, + "dfc-b:hasTransformationType": { + "@type": "@id" + }, + "dfc-b:hasType": { + "@type": "@id" + }, + "dfc-b:hasUnit": { + "@type": "@id" + }, + "dfc-b:hostedAt": { + "@type": "@id" + }, + "dfc-b:hosts": { + "@type": "@id" + }, + "dfc-b:identifiedBy": { + "@type": "@id" + }, + "dfc-b:identifies": { + "@type": "@id" + }, + "dfc-b:industrializedBy": { + "@type": "@id" + }, + "dfc-b:industrializes": { + "@type": "@id" + }, + "dfc-b:inputOf": { + "@type": "@id" + }, + "dfc-b:isIngredientOf": { + "@type": "@id" + }, + "dfc-b:isPriceOf": { + "@type": "@id" + }, + "dfc-b:isTemperatureOf": { + "@type": "@id" + }, + "dfc-b:labellingCharacteristicOf": { + "@type": "@id" + }, + "dfc-b:listedIn": { + "@type": "@id" + }, + "dfc-b:lists": { + "@type": "@id" + }, + "dfc-b:localizedBy": { + "@type": "@id" + }, + "dfc-b:localizes": { + "@type": "@id" + }, + "dfc-b:mainContactOf": { + "@type": "@id" + }, + "dfc-b:maintainedBy": { + "@type": "@id" + }, + "dfc-b:maintains": { + "@type": "@id" + }, + "dfc-b:managedBy": { + "@type": "@id" + }, + "dfc-b:manages": { + "@type": "@id" + }, + "dfc-b:natureOriginOf": { + "@type": "@id" + }, + "dfc-b:nutrientCharacteristicOf": { + "@type": "@id" + }, + "dfc-b:objectOf": { + "@type": "@id" + }, + "dfc-b:offeredThrough": { + "@type": "@id" + }, + "dfc-b:offers": { + "@type": "@id" + }, + "dfc-b:offersTo": { + "@type": "@id" + }, + "dfc-b:optionOf": { + "@type": "@id" + }, + "dfc-b:orderedBy": { + "@type": "@id" + }, + "dfc-b:orders": { + "@type": "@id" + }, + "dfc-b:outputOf": { + "@type": "@id" + }, + "dfc-b:ownedBy": { + "@type": "@id" + }, + "dfc-b:owns": { + "@type": "@id" + }, + "dfc-b:paidWith": { + "@type": "@id" + }, + "dfc-b:partOf": { + "@type": "@id" + }, + "dfc-b:partOriginOf": { + "@type": "@id" + }, + "dfc-b:phoneNumberOf": { + "@type": "@id" + }, + "dfc-b:physicalCharacteristicOf": { + "@type": "@id" + }, + "dfc-b:pickedUpAt": { + "@type": "@id" + }, + "dfc-b:processOf": { + "@type": "@id" + }, + "dfc-b:producedBy": { + "@type": "@id" + }, + "dfc-b:produces": { + "@type": "@id" + }, + "dfc-b:proposedBy": { + "@type": "@id" + }, + "dfc-b:proposes": { + "@type": "@id" + }, + "dfc-b:referenceOf": { + "@type": "@id" + }, + "dfc-b:referencedBy": { + "@type": "@id" + }, + "dfc-b:references": { + "@type": "@id" + }, + "dfc-b:refersTo": { + "@type": "@id" + }, + "dfc-b:representedBy": { + "@type": "@id" + }, + "dfc-b:represents": { + "@type": "@id" + }, + "dfc-b:requestedBy": { + "@type": "@id" + }, + "dfc-b:requests": { + "@type": "@id" + }, + "dfc-b:satisfiedBy": { + "@type": "@id" + }, + "dfc-b:satisfies": { + "@type": "@id" + }, + "dfc-b:selects": { + "@type": "@id" + }, + "dfc-b:socialMediaOf": { + "@type": "@id" + }, + "dfc-b:sold": { + "@type": "@id" + }, + "dfc-b:soldBy": { + "@type": "@id" + }, + "dfc-b:storedIn": { + "@type": "@id" + }, + "dfc-b:stores": { + "@type": "@id" + }, + "dfc-b:suppliedBy": { + "@type": "@id" + }, + "dfc-b:supplies": { + "@type": "@id" + }, + "dfc-b:suppliesTo": { + "@type": "@id" + }, + "dfc-b:to": { + "@type": "@id" + }, + "dfc-b:tracedBy": { + "@type": "@id" + }, + "dfc-b:traces": { + "@type": "@id" + }, + "dfc-b:transformedBy": { + "@type": "@id" + }, + "dfc-b:transforms": { + "@type": "@id" + }, + "dfc-b:typeOf": { + "@type": "@id" + }, + "dfc-b:uses": { + "@type": "@id" + }, + + "dfc-t:represent": { + "@type": "@id" + }, + "dfc-t:hasPivot": { + "@type": "@id" + }, + "dfc-t:hostedBy": { + "@type": "@id" + }, + "dfc-t:owner": { + "@type": "@id" + } + } +}