From 8380c5534bf9f57354bcab4a816fefda3c005ec2 Mon Sep 17 00:00:00 2001 From: jtdemer Date: Fri, 25 Oct 2024 20:07:47 +0200 Subject: [PATCH] update from ontology-management-base Signed-off-by: jtdemer --- .../bundleData/BundleData_instance.json | 40 ----- .../bundleDataResource_ontology.ttl | 33 ----- .../bundleData/bundleDataResource_shacl.ttl | 79 ---------- .../general/VARIABLES.md | 1 - .../general/general_ontology.ttl | 7 +- .../general/general_shacl.ttl | 8 +- .../marketplace-info/VARIABLES.md | 25 ++++ .../marketplace-info_instance.json | 64 ++++++++ .../marketplace-info_ontology.ttl | 45 ++++++ .../marketplace-info_shacl.ttl | 138 ++++++++++++++++++ .../MarketplaceResource_instance.json | 54 ------- .../marketplaceResource/VARIABLES.md | 23 --- .../marketplaceResource_ontology.ttl | 38 ----- .../marketplaceResource_shacl.ttl | 113 -------------- .../used-shacls/domainMetadata_shacl.ttl | 15 +- .../used-shacls/marketplace-info_shacl.ttl | 138 ++++++++++++++++++ .../used-shacls/marketplaceResource_shacl.ttl | 113 -------------- 17 files changed, 421 insertions(+), 513 deletions(-) delete mode 100644 Shacls_and_Ontologies/ontology-management-base/bundleData/BundleData_instance.json delete mode 100644 Shacls_and_Ontologies/ontology-management-base/bundleData/bundleDataResource_ontology.ttl delete mode 100644 Shacls_and_Ontologies/ontology-management-base/bundleData/bundleDataResource_shacl.ttl create mode 100644 Shacls_and_Ontologies/ontology-management-base/marketplace-info/VARIABLES.md create mode 100644 Shacls_and_Ontologies/ontology-management-base/marketplace-info/marketplace-info_instance.json create mode 100644 Shacls_and_Ontologies/ontology-management-base/marketplace-info/marketplace-info_ontology.ttl create mode 100644 Shacls_and_Ontologies/ontology-management-base/marketplace-info/marketplace-info_shacl.ttl delete mode 100644 Shacls_and_Ontologies/ontology-management-base/marketplaceResource/MarketplaceResource_instance.json delete mode 100644 Shacls_and_Ontologies/ontology-management-base/marketplaceResource/VARIABLES.md delete mode 100644 Shacls_and_Ontologies/ontology-management-base/marketplaceResource/marketplaceResource_ontology.ttl delete mode 100644 Shacls_and_Ontologies/ontology-management-base/marketplaceResource/marketplaceResource_shacl.ttl create mode 100644 Shacls_and_Ontologies/used-shacls/marketplace-info_shacl.ttl delete mode 100644 Shacls_and_Ontologies/used-shacls/marketplaceResource_shacl.ttl diff --git a/Shacls_and_Ontologies/ontology-management-base/bundleData/BundleData_instance.json b/Shacls_and_Ontologies/ontology-management-base/bundleData/BundleData_instance.json deleted file mode 100644 index 5fe7c4f..0000000 --- a/Shacls_and_Ontologies/ontology-management-base/bundleData/BundleData_instance.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "@context": { - "marketplaceResource": "https://github.com/GAIA-X4PLC-AAD/ontology-management-base/tree/main/marketplaceResource/", - "gx": "https://registry.lab.gaia-x.eu/development/api/trusted-shape-registry/v1/shapes/jsonld/trustframework#", - "bundleData": "https://github.com/GAIA-X4PLC-AAD/ontology-management-base/tree/main/bundleData/", - "sh": "http://www.w3.org/ns/shacl#", - "xsd": "http://www.w3.org/2001/XMLSchema#", - "skos": "http://www.w3.org/2004/02/skos/core#" - }, - "@id": "did:web:registry.gaia-x.eu:BundleData:3YqjJQEzNemoMz6TC54w3PhleEkaHaVTIXEw", - "@type": "bundleData:BundleData", - "bundleData:requiredData": { - "@type": "bundleData:RequiredData", - "bundleData:domain": { - "@type": "marketplaceResource:Domain", - "marketplaceResource:domainType": "environment-model" - }, - "bundleData:requiredDataLink": { - "@type": "marketplaceResource:Link", - "marketplaceResource:link": { - "@value": "did:web:registry.gaia-x.eu:environment-model:PlFjHxuQoH0v7iaVC0QqdxmtQyqY-LQX6D-p", - "@type": "xsd:anyURI" - } - } - }, - "bundleData:relatedData": { - "@type": "bundleData:RelatedData", - "bundleData:domain": { - "@type": "marketplaceResource:Domain", - "marketplaceResource:domainType": "surface-model" - }, - "bundleData:relatedDataLink": { - "@type": "marketplaceResource:Link", - "marketplaceResource:link": { - "@value": "did:web:registry.gaia-x.eu:surface-model:PlFjHxuQoH0v7iaVC0QqdxmtQyqY-12345-p", - "@type": "xsd:anyURI" - } - } - } - } \ No newline at end of file diff --git a/Shacls_and_Ontologies/ontology-management-base/bundleData/bundleDataResource_ontology.ttl b/Shacls_and_Ontologies/ontology-management-base/bundleData/bundleDataResource_ontology.ttl deleted file mode 100644 index 0d8dd97..0000000 --- a/Shacls_and_Ontologies/ontology-management-base/bundleData/bundleDataResource_ontology.ttl +++ /dev/null @@ -1,33 +0,0 @@ -@prefix dcterms: . -@prefix gax-core: . -@prefix bundleData: . -@prefix marketplaceResource: . -@prefix owl: . -@prefix rdfs: . -@prefix xsd: . -@prefix gx: . - -bundleData: a owl:Ontology ; - rdfs:label "ontology definition for MarketplaceResource"@en ; - dcterms:contributor "Johannes Demer (ASCS)" ; - owl:versionInfo "0.1" . - -bundleData:BundleData a owl:Class ; - rdfs:label "Class definition for BundleData" ; - rdfs:comment "BundleData attributes for all assets"@en . - -bundleData:RequiredData a owl:Class ; - rdfs:label "RequiredData definition for MarketplaceResource" ; - rdfs:comment "RequiredData attributes for all assets"@en . - -bundleData:RelatedData a owl:Class ; - rdfs:label "RelatedData definition for MarketplaceResource" ; - rdfs:comment "RelatedData attributes for all assets"@en . - -marketplaceResource:Domain a owl:Class ; - rdfs:label "Domain definition for MarketplaceResource" ; - rdfs:comment "Domain attributes for all assets"@en . - -marketplaceResource:Link a owl:Class ; - rdfs:label "Link definition for MarketplaceResource" ; - rdfs:comment "Link attributes for all assets"@en . \ No newline at end of file diff --git a/Shacls_and_Ontologies/ontology-management-base/bundleData/bundleDataResource_shacl.ttl b/Shacls_and_Ontologies/ontology-management-base/bundleData/bundleDataResource_shacl.ttl deleted file mode 100644 index 45ea002..0000000 --- a/Shacls_and_Ontologies/ontology-management-base/bundleData/bundleDataResource_shacl.ttl +++ /dev/null @@ -1,79 +0,0 @@ -@prefix bundleData: . -@prefix marketplaceResource: . -@prefix gx: . -@prefix sh: . -@prefix skos: . -@prefix xsd: . - -bundleData:BundleDataResourceShape a sh:NodeShape ; - sh:property [ sh:minCount 1 ; - sh:node bundleData:RequiredDataShape ; - sh:order 1 ; - sh:path bundleData:requiredData ], - [ sh:node bundleData:RelatedDataShape ; - sh:order 2 ; - sh:path bundleData:relatedData ] ; - sh:targetClass bundleData:BundleData . - -bundleData:RequiredDataShape a sh:NodeShape ; - sh:property [ sh:node marketplaceResource:DomainShape ; - sh:description "Reference to required assets"@en ; - skos:example "for scenario, link to required hd map"@en ; - sh:name "domain"@en ; - sh:order 1 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path bundleData:domain ], - [ skos:example "link to required data"@en ; - sh:description "Reference to required data"@en ; - sh:message "Validation of required data failed!"@en ; - sh:name "link"@en ; - sh:node marketplaceResource:LinkShape ; - sh:order 2 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path bundleData:requiredDataLink ] ; - sh:targetClass bundleData:RequiredData . - - bundleData:RelatedDataShape a sh:NodeShape ; - sh:property [ sh:node marketplaceResource:DomainShape ; - sh:description "Reference to related assets"@en ; - skos:example "at hd map, link to surface map"@en ; - sh:name "domain"@en ; - sh:order 1 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path bundleData:domain ], - [ skos:example "link to related data"@en ; - sh:description "Reference to related data"@en ; - sh:message "Validation of related data failed!"@en ; - sh:name "link"@en ; - sh:node marketplaceResource:LinkShape ; - sh:order 2 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path bundleData:relatedDataLink ] ; - sh:targetClass bundleData:RelatedData . - - marketplaceResource:DomainShape a sh:NodeShape ; - sh:property [ sh:datatype xsd:string ; - sh:in ("hdmap" "environment-model" "ositrace" "scenario" "surface-model") ; - sh:message "Validation of domain type failed!"@en ; - sh:description "Choose domain type."@en ; - sh:name "domain"@en ; - sh:order 0 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path marketplaceResource:domainType ]; - sh:targetClass marketplaceResource:Domain . - - marketplaceResource:LinkShape a sh:NodeShape ; - sh:property [ sh:datatype xsd:anyURI ; - sh:message "Validation of link failed!"@en ; - sh:description "Enter a link or DID."@en ; - sh:name "link"@en ; - sh:order 0 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path marketplaceResource:link ] ; - sh:targetClass marketplaceResource:Link . \ No newline at end of file diff --git a/Shacls_and_Ontologies/ontology-management-base/general/VARIABLES.md b/Shacls_and_Ontologies/ontology-management-base/general/VARIABLES.md index 98a3897..eb21869 100644 --- a/Shacls_and_Ontologies/ontology-management-base/general/VARIABLES.md +++ b/Shacls_and_Ontologies/ontology-management-base/general/VARIABLES.md @@ -10,7 +10,6 @@ | --- | --- | --- | --- | --- | --- | --- | --- | | GeneralShape | general | description | 1 | 1 | description object with property for name and description | | general_shacl.ttl | | GeneralShape | general | data | 1 | 1 | data object with property for size and record time | | general_shacl.ttl | -| GeneralShape | general | range2D | | 1 | min and max value of range2D object | | general_shacl.ttl | | DescriptionShape | general | name | 1 | 1 | A human readable name of the entity. | | general_shacl.ttl | | DescriptionShape | general | description | 1 | 1 | A free text description of the entity. | | general_shacl.ttl | | DataShape | general | size | 1 | 1 | Size of the file to be downloaded in MB. | | general_shacl.ttl | diff --git a/Shacls_and_Ontologies/ontology-management-base/general/general_ontology.ttl b/Shacls_and_Ontologies/ontology-management-base/general/general_ontology.ttl index 7dbcdf1..2be2476 100644 --- a/Shacls_and_Ontologies/ontology-management-base/general/general_ontology.ttl +++ b/Shacls_and_Ontologies/ontology-management-base/general/general_ontology.ttl @@ -13,12 +13,17 @@ general: a owl:Ontology ; general:General a owl:Class ; rdfs:label "Class definition for General" ; - rdfs:comment "General attributes for all assets"@en . + rdfs:comment "General attributes for all assets"@en ; + rdfs:subClassOf gx:DataResource . general:Description a owl:Class ; rdfs:label "Description definition for General" ; rdfs:comment "Description attributes for all assets"@en . +general:Data a owl:Class ; + rdfs:label "Data definition for General" ; + rdfs:comment "Data attributes for all assets"@en . + general:Range2D a owl:Class ; rdfs:label "Range2D definition for General" ; rdfs:comment "Range2D attributes for all assets"@en . diff --git a/Shacls_and_Ontologies/ontology-management-base/general/general_shacl.ttl b/Shacls_and_Ontologies/ontology-management-base/general/general_shacl.ttl index 55927f9..dd03b99 100644 --- a/Shacls_and_Ontologies/ontology-management-base/general/general_shacl.ttl +++ b/Shacls_and_Ontologies/ontology-management-base/general/general_shacl.ttl @@ -18,13 +18,7 @@ general:GeneralShape a sh:NodeShape ; sh:name "data object" ; sh:description "data object with property for size and record time" ; sh:order 2 ; - sh:path general:data ], - [ sh:maxCount 1 ; - sh:node general:Range2DShape ; - sh:name "range2D object" ; - sh:description "min and max value of range2D object" ; - sh:order 3 ; - sh:path general:range2D ]; + sh:path general:data ]; sh:targetClass general:General . general:DescriptionShape a sh:NodeShape ; diff --git a/Shacls_and_Ontologies/ontology-management-base/marketplace-info/VARIABLES.md b/Shacls_and_Ontologies/ontology-management-base/marketplace-info/VARIABLES.md new file mode 100644 index 0000000..1e47bfe --- /dev/null +++ b/Shacls_and_Ontologies/ontology-management-base/marketplace-info/VARIABLES.md @@ -0,0 +1,25 @@ +# Variables of SHACL Files in this folder + +## Prefixes + +- marketplace-info: + +## List of SHACL Properties + +| Shape | Property prefix | Property | MinCount | MaxCount | Description | Datatype/NodeKind | Filename | +| --- | --- | --- | --- | --- | --- | --- | --- | +| MarketplaceInfoShape | marketplace-info | domain | 1 | 1 | Marketplace compatible domain types | | marketplace-info_shacl.ttl | +| MarketplaceInfoShape | marketplace-info | contentData | 1 | | ContentData with direct links to the storage | | marketplace-info_shacl.ttl | +| MarketplaceInfoShape | marketplace-info | contract | 1 | 1 | contract object with property for, id | | marketplace-info_shacl.ttl | +| MarketplaceInfoShape | marketplace-info | bundleData | | | bundle object with links to required and / or related data | | marketplace-info_shacl.ttl | +| DomainShape | marketplace-info | domain | 1 | 1 | Choose domain type. | | marketplace-info_shacl.ttl | +| ContentDataShape | marketplace-info | dataType | 1 | 1 | Choose type of link. | | marketplace-info_shacl.ttl | +| ContentDataShape | marketplace-info | contentData | 1 | 1 | Reference to content data | | marketplace-info_shacl.ttl | +| ContractShape | marketplace-info | contractId | 1 | 1 | Contract information in regards to the data exchange component. | | marketplace-info_shacl.ttl | +| LinkShape | marketplace-info | link | 1 | 1 | Enter a link or DID. | | marketplace-info_shacl.ttl | +| BundleDataShape | marketplace-info | requiredData | 0 | | links to required data | | marketplace-info_shacl.ttl | +| BundleDataShape | marketplace-info | relatedData | 0 | | links to related data | | marketplace-info_shacl.ttl | +| RequiredDataShape | marketplace-info | domain | 1 | 1 | Reference to required assets | | marketplace-info_shacl.ttl | +| RequiredDataShape | marketplace-info | requiredDataLink | 1 | 1 | Reference to required data | | marketplace-info_shacl.ttl | +| RelatedDataShape | marketplace-info | domain | 1 | 1 | Reference to related assets | | marketplace-info_shacl.ttl | +| RelatedDataShape | marketplace-info | relatedDataLink | 1 | 1 | Reference to related data | | marketplace-info_shacl.ttl | diff --git a/Shacls_and_Ontologies/ontology-management-base/marketplace-info/marketplace-info_instance.json b/Shacls_and_Ontologies/ontology-management-base/marketplace-info/marketplace-info_instance.json new file mode 100644 index 0000000..0edf816 --- /dev/null +++ b/Shacls_and_Ontologies/ontology-management-base/marketplace-info/marketplace-info_instance.json @@ -0,0 +1,64 @@ +{ + "@context": { + "xsd": "http://www.w3.org/2001/XMLSchema#", + "gx": "https://registry.lab.gaia-x.eu/development/api/trusted-shape-registry/v1/shapes/jsonld/trustframework#", + "skos": "http://www.w3.org/2004/02/skos/core#", + "sh": "http://www.w3.org/ns/shacl#", + "marketplace-info": "https://github.com/GAIA-X4PLC-AAD/ontology-management-base/tree/main/marketplace-info/" + }, + "@id": "did:web:registry.gaia-x.eu:MarketplaceInfo:Tk2iJtRvvJoRk-lbHyT1umNRK3IkD19VegD4", + "@type": "marketplace-info:MarketplaceInfo", + "marketplace-info:domain": { + "@type": "marketplace-info:Domain", + "marketplace-info:domain": "hdmap" + }, + "marketplace-info:contentData": { + "@type": "marketplace-info:ContentData", + "marketplace-info:dataType": "Metadata", + "marketplace-info:contentData": { + "@type": "marketplace-info:Link", + "marketplace-info:link": { + "@value": "https://example.com/model.png", + "@type": "xsd:anyURI" + } + } + }, + "marketplace-info:contract": { + "@type": "marketplace-info:Contract", + "marketplace-info:contractId": { + "@value": "contract_zcdkr7kqd47y0w5b4tg91w1etw", + "@type": "xsd:string" + } + }, + "marketplace-info:bundleData": { + "@type": "marketplace-info:BundleData", + "marketplace-info:requiredData": { + "@type": "marketplace-info:RequiredData", + "marketplace-info:domain": { + "@type": "marketplace-info:Domain", + "marketplace-info:domain": "environment-model" + }, + "marketplace-info:requiredDataLink": { + "@type": "marketplace-info:Link", + "marketplace-info:link": { + "@value": "did:web:registry.gaia-x.eu:environment-model:PlFjHxuQoH0v7iaVC0QqdxmtQyqY-LQX6D-p", + "@type": "xsd:anyURI" + } + } + }, + "marketplace-info:relatedData": { + "@type": "marketplace-info:RelatedData", + "marketplace-info:domain": { + "@type": "marketplace-info:Domain", + "marketplace-info:domain": "surface-model" + }, + "marketplace-info:relatedDataLink": { + "@type": "marketplace-info:Link", + "marketplace-info:link": { + "@value": "did:web:registry.gaia-x.eu:surface-model:PlFjHxuQoH0v7iaVC0QqdxmtQyqY-12345-p", + "@type": "xsd:anyURI" + } + } + } + } + } \ No newline at end of file diff --git a/Shacls_and_Ontologies/ontology-management-base/marketplace-info/marketplace-info_ontology.ttl b/Shacls_and_Ontologies/ontology-management-base/marketplace-info/marketplace-info_ontology.ttl new file mode 100644 index 0000000..703835e --- /dev/null +++ b/Shacls_and_Ontologies/ontology-management-base/marketplace-info/marketplace-info_ontology.ttl @@ -0,0 +1,45 @@ +@prefix dcterms: . +@prefix gax-core: . +@prefix marketplace-info: . +@prefix owl: . +@prefix rdfs: . +@prefix xsd: . +@prefix gx: . + +marketplace-info: a owl:Ontology ; + rdfs:label "ontology definition for Marketplace-Info"@en ; + dcterms:contributor "Johannes Demer (ASCS)" ; + owl:versionInfo "0.1" . + +marketplace-info:MarketplaceInfo a owl:Class ; + rdfs:label "Class definition for Marketplace-Info" ; + rdfs:comment "Marketplace-Info attributes for all assets"@en ; + rdfs:subClassOf gx:DataResource . + +marketplace-info:Contract a owl:Class ; + rdfs:label "Contract definition for Marketplace-Info" ; + rdfs:comment "Contract attributes for all assets"@en . + +marketplace-info:ContentData a owl:Class ; + rdfs:label "ContentData definition for Marketplace-Info" ; + rdfs:comment "ContentData attributes for all assets"@en . + +marketplace-info:BundleData a owl:Class ; + rdfs:label "BundleData definition for Marketplace-Info" ; + rdfs:comment "BundleData attributes for all assets"@en . + +marketplace-info:RequiredData a owl:Class ; + rdfs:label "RequiredData definition for Marketplace-Info" ; + rdfs:comment "RequiredData attributes for all assets"@en . + +marketplace-info:RelatedData a owl:Class ; + rdfs:label "RelatedData definition for Marketplace-Info" ; + rdfs:comment "RelatedData attributes for all assets"@en . + +marketplace-info:Domain a owl:Class ; + rdfs:label "Domain definition for Marketplace-Info" ; + rdfs:comment "Domain attributes for all assets"@en . + +marketplace-info:Link a owl:Class ; + rdfs:label "Link definition for Marketplace-Info" ; + rdfs:comment "Link attributes for all assets"@en . diff --git a/Shacls_and_Ontologies/ontology-management-base/marketplace-info/marketplace-info_shacl.ttl b/Shacls_and_Ontologies/ontology-management-base/marketplace-info/marketplace-info_shacl.ttl new file mode 100644 index 0000000..55fe1d9 --- /dev/null +++ b/Shacls_and_Ontologies/ontology-management-base/marketplace-info/marketplace-info_shacl.ttl @@ -0,0 +1,138 @@ +@prefix marketplace-info: . +@prefix gx: . +@prefix sh: . +@prefix skos: . +@prefix xsd: . + +marketplace-info:MarketplaceInfoShape a sh:NodeShape ; + sh:property [ sh:maxCount 1 ; + sh:minCount 1 ; + sh:node marketplace-info:DomainShape ; + sh:description "Marketplace compatible domain types" ; + sh:order 0 ; + sh:path marketplace-info:domain ], + [ sh:minCount 1 ; + sh:node marketplace-info:ContentDataShape ; + sh:description "ContentData with direct links to the storage" ; + sh:order 1 ; + sh:path marketplace-info:contentData ], + [ sh:maxCount 1 ; + sh:minCount 1 ; + sh:node marketplace-info:ContractShape ; + sh:name "contract object" ; + sh:description "contract object with property for, id" ; + sh:order 2 ; + sh:path marketplace-info:contract ], + [ sh:node marketplace-info:BundleDataShape ; + sh:description "bundle object with links to required and / or related data" ; + sh:order 3 ; + sh:path marketplace-info:bundleData ] ; + sh:targetClass marketplace-info:MarketplaceInfo . + +marketplace-info:DomainShape a sh:NodeShape ; + sh:property [ sh:datatype xsd:string ; + sh:in ("hdmap" "environment-model" "ositrace" "scenario" "surface-model" "service" "other" ) ; + sh:message "Validation of domain type failed!"@en ; + sh:description "Choose domain type."@en ; + sh:name "domain"@en ; + sh:order 0 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:domain ]; + sh:targetClass marketplace-info:Domain . + +marketplace-info:ContentDataShape a sh:NodeShape ; + sh:property [ sh:datatype xsd:string ; + sh:in ("Documentation" "Metadata" "Validation" "Visualization") ; + sh:message "Validation of type failed!"@en ; + sh:description "Choose type of link."@en ; + sh:name "type"@en ; + sh:order 1 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:dataType ], + [ skos:example "link to content data, screenshot, video, routing, 3d preview"@en ; + sh:description "Reference to content data"@en ; + sh:message "Validation of content failed!"@en ; + sh:name "link"@en ; + sh:node marketplace-info:LinkShape ; + sh:order 2 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:contentData ] ; + sh:targetClass marketplace-info:ContentData . + +marketplace-info:ContractShape a sh:NodeShape ; + sh:property [ sh:datatype xsd:string ; + sh:description "Contract information in regards to the data exchange component." ; + skos:example "contract_zcdkr7kqd47y0w5b4tg91w1etw" ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:name "contractId" ; + sh:order 1 ; + sh:path marketplace-info:contractId ]; + sh:targetClass marketplace-info:Contract . + +marketplace-info:LinkShape a sh:NodeShape ; + sh:property [ sh:datatype xsd:anyURI ; + sh:message "Validation of link failed!"@en ; + sh:description "Enter a link or DID."@en ; + sh:name "link"@en ; + sh:order 0 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:link ] ; + sh:targetClass marketplace-info:Link . + +marketplace-info:BundleDataShape a sh:NodeShape ; + sh:property [ sh:minCount 0 ; + sh:node marketplace-info:RequiredDataShape ; + sh:description "links to required data" ; + sh:order 1 ; + sh:path marketplace-info:requiredData ], + [ sh:minCount 0 ; + sh:node marketplace-info:RelatedDataShape ; + sh:description "links to related data" ; + sh:order 2 ; + sh:path marketplace-info:relatedData ] ; + sh:targetClass marketplace-info:BundleData . + +marketplace-info:RequiredDataShape a sh:NodeShape ; + sh:property [ sh:node marketplace-info:DomainShape ; + sh:description "Reference to required assets"@en ; + skos:example "for scenario, link to required hd map"@en ; + sh:name "domain"@en ; + sh:order 1 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:domain ], + [ skos:example "link to required data"@en ; + sh:description "Reference to required data"@en ; + sh:message "Validation of required data failed!"@en ; + sh:name "link"@en ; + sh:node marketplace-info:LinkShape ; + sh:order 2 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:requiredDataLink ] ; + sh:targetClass marketplace-info:RequiredData . + +marketplace-info:RelatedDataShape a sh:NodeShape ; + sh:property [ sh:node marketplace-info:DomainShape ; + sh:description "Reference to related assets"@en ; + skos:example "at hd map, link to surface map"@en ; + sh:name "domain"@en ; + sh:order 1 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:domain ], + [ skos:example "link to related data"@en ; + sh:description "Reference to related data"@en ; + sh:message "Validation of related data failed!"@en ; + sh:name "link"@en ; + sh:node marketplace-info:LinkShape ; + sh:order 2 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:relatedDataLink ] ; + sh:targetClass marketplace-info:RelatedData . \ No newline at end of file diff --git a/Shacls_and_Ontologies/ontology-management-base/marketplaceResource/MarketplaceResource_instance.json b/Shacls_and_Ontologies/ontology-management-base/marketplaceResource/MarketplaceResource_instance.json deleted file mode 100644 index 9a5f4d0..0000000 --- a/Shacls_and_Ontologies/ontology-management-base/marketplaceResource/MarketplaceResource_instance.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "@context": { - "marketplaceResource": "https://github.com/GAIA-X4PLC-AAD/ontology-management-base/tree/main/marketplaceResource/", - "gx": "https://registry.lab.gaia-x.eu/development/api/trusted-shape-registry/v1/shapes/jsonld/trustframework#", - "bundleData": "https://github.com/GAIA-X4PLC-AAD/ontology-management-base/tree/main/bundleData/", - "sh": "http://www.w3.org/ns/shacl#", - "xsd": "http://www.w3.org/2001/XMLSchema#", - "skos": "http://www.w3.org/2004/02/skos/core#" - }, - "@id": "did:web:registry.gaia-x.eu:MarketplaceResource:0zL6cOdvGmomI42hn2VEKXJE6C5hP8Ef3BP8", - "@type": "marketplaceResource:MarketplaceResource", - "marketplaceResource:contentData": { - "@type": "marketplaceResource:ContentData", - "marketplaceResource:dataType": "Image", - "marketplaceResource:contentData": { - "@type": "marketplaceResource:Link", - "marketplaceResource:link": { - "@value": "https://example.com/model.png", - "@type": "xsd:anyURI" - } - } - }, - "marketplaceResource:bundleData": { - "@type": "bundleData:BundleData", - "bundleData:requiredData": { - "@type": "bundleData:RequiredData", - "bundleData:domain": { - "@type": "marketplaceResource:Domain", - "marketplaceResource:domainType": "environment-model" - }, - "bundleData:requiredDataLink": { - "@type": "marketplaceResource:Link", - "marketplaceResource:link": { - "@value": "did:web:registry.gaia-x.eu:environment-model:PlFjHxuQoH0v7iaVC0QqdxmtQyqY-LQX6D-p", - "@type": "xsd:anyURI" - } - } - }, - "bundleData:relatedData": { - "@type": "bundleData:RelatedData", - "bundleData:domain": { - "@type": "marketplaceResource:Domain", - "marketplaceResource:domainType": "surface-model" - }, - "bundleData:relatedDataLink": { - "@type": "marketplaceResource:Link", - "marketplaceResource:link": { - "@value": "did:web:registry.gaia-x.eu:surface-model:PlFjHxuQoH0v7iaVC0QqdxmtQyqY-12345-p", - "@type": "xsd:anyURI" - } - } - } - } -} \ No newline at end of file diff --git a/Shacls_and_Ontologies/ontology-management-base/marketplaceResource/VARIABLES.md b/Shacls_and_Ontologies/ontology-management-base/marketplaceResource/VARIABLES.md deleted file mode 100644 index 3b13c55..0000000 --- a/Shacls_and_Ontologies/ontology-management-base/marketplaceResource/VARIABLES.md +++ /dev/null @@ -1,23 +0,0 @@ -# Variables of SHACL Files in this folder - -## Prefixes - -- bundleData: -- marketplaceResource: - -## List of SHACL Properties - -| Shape | Property prefix | Property | MinCount | MaxCount | Description | Datatype/NodeKind | Filename | -| --- | --- | --- | --- | --- | --- | --- | --- | -| MarketplaceResourceShape | marketplaceResource | contentData | 1 | | | | marketplaceResource_shacl.ttl | -| MarketplaceResourceShape | marketplaceResource | bundleData | | | | | marketplaceResource_shacl.ttl | -| ContentDataShape | marketplaceResource | dataType | 1 | 1 | Choose type of link. | | marketplaceResource_shacl.ttl | -| ContentDataShape | marketplaceResource | contentData | 1 | 1 | Reference to content data | | marketplaceResource_shacl.ttl | -| DomainShape | marketplaceResource | domainType | 1 | 1 | Choose domain type. | | marketplaceResource_shacl.ttl | -| LinkShape | marketplaceResource | link | 1 | 1 | Enter a link or DID. | | marketplaceResource_shacl.ttl | -| BundleDataShape | bundleData | requiredData | 1 | | | | marketplaceResource_shacl.ttl | -| BundleDataShape | bundleData | relatedData | | | | | marketplaceResource_shacl.ttl | -| RequiredDataShape | bundleData | domain | 1 | 1 | Reference to required assets | | marketplaceResource_shacl.ttl | -| RequiredDataShape | bundleData | requiredDataLink | 1 | 1 | Reference to required data | | marketplaceResource_shacl.ttl | -| RelatedDataShape | bundleData | domain | 1 | 1 | Reference to related assets | | marketplaceResource_shacl.ttl | -| RelatedDataShape | bundleData | relatedDataLink | 1 | 1 | Reference to related data | | marketplaceResource_shacl.ttl | diff --git a/Shacls_and_Ontologies/ontology-management-base/marketplaceResource/marketplaceResource_ontology.ttl b/Shacls_and_Ontologies/ontology-management-base/marketplaceResource/marketplaceResource_ontology.ttl deleted file mode 100644 index 8d5ab10..0000000 --- a/Shacls_and_Ontologies/ontology-management-base/marketplaceResource/marketplaceResource_ontology.ttl +++ /dev/null @@ -1,38 +0,0 @@ -@prefix dcterms: . -@prefix gax-core: . -@prefix marketplaceResource: . -@prefix bundleData: . -@prefix owl: . -@prefix rdfs: . -@prefix xsd: . -@prefix gx: . - -marketplaceResource: a owl:Ontology ; - rdfs:label "ontology definition for MarketplaceResource"@en ; - dcterms:contributor "Johannes Demer (ASCS)" ; - owl:versionInfo "0.1" . - -marketplaceResource:MarketplaceResource a owl:Class ; - rdfs:label "Class definition for MarketplaceResource" ; - rdfs:comment "MarketplaceResource attributes for all assets"@en ; - rdfs:subClassOf gx:DataResource . - -marketplaceResource:ContentData a owl:Class ; - rdfs:label "ContentData definition for MarketplaceResource" ; - rdfs:comment "ContentData attributes for all assets"@en . - -bundleData:RequiredData a owl:Class ; - rdfs:label "RequiredData definition for MarketplaceResource" ; - rdfs:comment "RequiredData attributes for all assets"@en . - -bundleData:RelatedData a owl:Class ; - rdfs:label "RelatedData definition for MarketplaceResource" ; - rdfs:comment "RelatedData attributes for all assets"@en . - -marketplaceResource:Domain a owl:Class ; - rdfs:label "Domain definition for MarketplaceResource" ; - rdfs:comment "Domain attributes for all assets"@en . - -marketplaceResource:Link a owl:Class ; - rdfs:label "Link definition for MarketplaceResource" ; - rdfs:comment "Link attributes for all assets"@en . \ No newline at end of file diff --git a/Shacls_and_Ontologies/ontology-management-base/marketplaceResource/marketplaceResource_shacl.ttl b/Shacls_and_Ontologies/ontology-management-base/marketplaceResource/marketplaceResource_shacl.ttl deleted file mode 100644 index 76c24b8..0000000 --- a/Shacls_and_Ontologies/ontology-management-base/marketplaceResource/marketplaceResource_shacl.ttl +++ /dev/null @@ -1,113 +0,0 @@ -@prefix marketplaceResource: . -@prefix bundleData: . -@prefix gx: . -@prefix sh: . -@prefix skos: . -@prefix xsd: . - -marketplaceResource:MarketplaceResourceShape a sh:NodeShape ; - sh:property [ sh:minCount 1 ; - sh:node marketplaceResource:ContentDataShape ; - sh:order 1 ; - sh:path marketplaceResource:contentData ], - [ sh:node bundleData:BundleDataShape ; - sh:order 2 ; - sh:path marketplaceResource:bundleData ] ; - sh:targetClass marketplaceResource:MarketplaceResource . - - -marketplaceResource:ContentDataShape a sh:NodeShape ; - sh:property [ sh:datatype xsd:string ; - sh:in ("Documentation" "Metadata" "Report" "Image" "Video" "3DPreview" "Asset") ; - sh:message "Validation of type failed!"@en ; - sh:description "Choose type of link."@en ; - sh:name "type"@en ; - sh:order 1 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path marketplaceResource:dataType ], - [ skos:example "link to content data, screenshot, video, routing, 3d preview"@en ; - sh:description "Reference to content data"@en ; - sh:message "Validation of content failed!"@en ; - sh:name "link"@en ; - sh:node marketplaceResource:LinkShape ; - sh:order 2 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path marketplaceResource:contentData ] ; - sh:targetClass marketplaceResource:ContentData . - - marketplaceResource:DomainShape a sh:NodeShape ; - sh:property [ sh:datatype xsd:string ; - sh:in ("hdmap" "environment-model" "ositrace" "scenario" "surface-model") ; - sh:message "Validation of domain type failed!"@en ; - sh:description "Choose domain type."@en ; - sh:name "domain"@en ; - sh:order 0 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path marketplaceResource:domainType ]; - sh:targetClass marketplaceResource:Domain . - - marketplaceResource:LinkShape a sh:NodeShape ; - sh:property [ sh:datatype xsd:anyURI ; - sh:message "Validation of link failed!"@en ; - sh:description "Enter a link or DID."@en ; - sh:name "link"@en ; - sh:order 0 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path marketplaceResource:link ] ; - sh:targetClass marketplaceResource:Link . - -### bundleData - -bundleData:BundleDataShape a sh:NodeShape ; - sh:property [ sh:minCount 1 ; - sh:node bundleData:RequiredDataShape ; - sh:order 1 ; - sh:path bundleData:requiredData ], - [ sh:node bundleData:RelatedDataShape ; - sh:order 2 ; - sh:path bundleData:relatedData ] ; - sh:targetClass bundleData:BundleData . - -bundleData:RequiredDataShape a sh:NodeShape ; - sh:property [ sh:node marketplaceResource:DomainShape ; - sh:description "Reference to required assets"@en ; - skos:example "for scenario, link to required hd map"@en ; - sh:name "domain"@en ; - sh:order 1 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path bundleData:domain ], - [ skos:example "link to required data"@en ; - sh:description "Reference to required data"@en ; - sh:message "Validation of required data failed!"@en ; - sh:name "link"@en ; - sh:node marketplaceResource:LinkShape ; - sh:order 2 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path bundleData:requiredDataLink ] ; - sh:targetClass bundleData:RequiredData . - - bundleData:RelatedDataShape a sh:NodeShape ; - sh:property [ sh:node marketplaceResource:DomainShape ; - sh:description "Reference to related assets"@en ; - skos:example "at hd map, link to surface map"@en ; - sh:name "domain"@en ; - sh:order 1 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path bundleData:domain ], - [ skos:example "link to related data"@en ; - sh:description "Reference to related data"@en ; - sh:message "Validation of related data failed!"@en ; - sh:name "link"@en ; - sh:node marketplaceResource:LinkShape ; - sh:order 2 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path bundleData:relatedDataLink ] ; - sh:targetClass bundleData:RelatedData . \ No newline at end of file diff --git a/Shacls_and_Ontologies/used-shacls/domainMetadata_shacl.ttl b/Shacls_and_Ontologies/used-shacls/domainMetadata_shacl.ttl index 5455a6f..927ebd7 100644 --- a/Shacls_and_Ontologies/used-shacls/domainMetadata_shacl.ttl +++ b/Shacls_and_Ontologies/used-shacls/domainMetadata_shacl.ttl @@ -258,7 +258,6 @@ hdmap:QuantityShape a sh:NodeShape ; sh:path hdmap:numberTrafficSigns ] ; sh:targetClass hdmap:Quantity . - general:GeneralShape a sh:NodeShape ; sh:property [ sh:maxCount 1 ; sh:minCount 1 ; @@ -271,15 +270,9 @@ general:GeneralShape a sh:NodeShape ; sh:minCount 1 ; sh:node general:DataShape ; sh:name "data object" ; - sh:description "data object with property for size, id and record time" ; + sh:description "data object with property for size and record time" ; sh:order 2 ; - sh:path general:data ], - [ sh:maxCount 1 ; - sh:node general:Range2DShape ; - sh:name "range2D object" ; - sh:description "min and max value of range2D object" ; - sh:order 3 ; - sh:path general:range2D ]; + sh:path general:data ]; sh:targetClass general:General . general:DescriptionShape a sh:NodeShape ; @@ -309,7 +302,7 @@ general:DataShape a sh:NodeShape ; sh:minCount 1 ; sh:name "size" ; sh:order 1 ; - sh:path general:size ], + sh:path general:size ], [ skos:example "2022-04-01 00:00:00" ; sh:datatype xsd:dateTime ; sh:description "Time of data acquisition used to generate the asset, if partial measurement: oldest date"@en ; @@ -474,4 +467,4 @@ georeference:ProjectLocationShape a sh:NodeShape ; sh:name "relationOrArea"@en ; sh:order 4 ; sh:path georeference:relationOrArea ] ; - sh:targetClass georeference:ProjectLocation . \ No newline at end of file + sh:targetClass georeference:ProjectLocation . diff --git a/Shacls_and_Ontologies/used-shacls/marketplace-info_shacl.ttl b/Shacls_and_Ontologies/used-shacls/marketplace-info_shacl.ttl new file mode 100644 index 0000000..55fe1d9 --- /dev/null +++ b/Shacls_and_Ontologies/used-shacls/marketplace-info_shacl.ttl @@ -0,0 +1,138 @@ +@prefix marketplace-info: . +@prefix gx: . +@prefix sh: . +@prefix skos: . +@prefix xsd: . + +marketplace-info:MarketplaceInfoShape a sh:NodeShape ; + sh:property [ sh:maxCount 1 ; + sh:minCount 1 ; + sh:node marketplace-info:DomainShape ; + sh:description "Marketplace compatible domain types" ; + sh:order 0 ; + sh:path marketplace-info:domain ], + [ sh:minCount 1 ; + sh:node marketplace-info:ContentDataShape ; + sh:description "ContentData with direct links to the storage" ; + sh:order 1 ; + sh:path marketplace-info:contentData ], + [ sh:maxCount 1 ; + sh:minCount 1 ; + sh:node marketplace-info:ContractShape ; + sh:name "contract object" ; + sh:description "contract object with property for, id" ; + sh:order 2 ; + sh:path marketplace-info:contract ], + [ sh:node marketplace-info:BundleDataShape ; + sh:description "bundle object with links to required and / or related data" ; + sh:order 3 ; + sh:path marketplace-info:bundleData ] ; + sh:targetClass marketplace-info:MarketplaceInfo . + +marketplace-info:DomainShape a sh:NodeShape ; + sh:property [ sh:datatype xsd:string ; + sh:in ("hdmap" "environment-model" "ositrace" "scenario" "surface-model" "service" "other" ) ; + sh:message "Validation of domain type failed!"@en ; + sh:description "Choose domain type."@en ; + sh:name "domain"@en ; + sh:order 0 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:domain ]; + sh:targetClass marketplace-info:Domain . + +marketplace-info:ContentDataShape a sh:NodeShape ; + sh:property [ sh:datatype xsd:string ; + sh:in ("Documentation" "Metadata" "Validation" "Visualization") ; + sh:message "Validation of type failed!"@en ; + sh:description "Choose type of link."@en ; + sh:name "type"@en ; + sh:order 1 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:dataType ], + [ skos:example "link to content data, screenshot, video, routing, 3d preview"@en ; + sh:description "Reference to content data"@en ; + sh:message "Validation of content failed!"@en ; + sh:name "link"@en ; + sh:node marketplace-info:LinkShape ; + sh:order 2 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:contentData ] ; + sh:targetClass marketplace-info:ContentData . + +marketplace-info:ContractShape a sh:NodeShape ; + sh:property [ sh:datatype xsd:string ; + sh:description "Contract information in regards to the data exchange component." ; + skos:example "contract_zcdkr7kqd47y0w5b4tg91w1etw" ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:name "contractId" ; + sh:order 1 ; + sh:path marketplace-info:contractId ]; + sh:targetClass marketplace-info:Contract . + +marketplace-info:LinkShape a sh:NodeShape ; + sh:property [ sh:datatype xsd:anyURI ; + sh:message "Validation of link failed!"@en ; + sh:description "Enter a link or DID."@en ; + sh:name "link"@en ; + sh:order 0 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:link ] ; + sh:targetClass marketplace-info:Link . + +marketplace-info:BundleDataShape a sh:NodeShape ; + sh:property [ sh:minCount 0 ; + sh:node marketplace-info:RequiredDataShape ; + sh:description "links to required data" ; + sh:order 1 ; + sh:path marketplace-info:requiredData ], + [ sh:minCount 0 ; + sh:node marketplace-info:RelatedDataShape ; + sh:description "links to related data" ; + sh:order 2 ; + sh:path marketplace-info:relatedData ] ; + sh:targetClass marketplace-info:BundleData . + +marketplace-info:RequiredDataShape a sh:NodeShape ; + sh:property [ sh:node marketplace-info:DomainShape ; + sh:description "Reference to required assets"@en ; + skos:example "for scenario, link to required hd map"@en ; + sh:name "domain"@en ; + sh:order 1 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:domain ], + [ skos:example "link to required data"@en ; + sh:description "Reference to required data"@en ; + sh:message "Validation of required data failed!"@en ; + sh:name "link"@en ; + sh:node marketplace-info:LinkShape ; + sh:order 2 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:requiredDataLink ] ; + sh:targetClass marketplace-info:RequiredData . + +marketplace-info:RelatedDataShape a sh:NodeShape ; + sh:property [ sh:node marketplace-info:DomainShape ; + sh:description "Reference to related assets"@en ; + skos:example "at hd map, link to surface map"@en ; + sh:name "domain"@en ; + sh:order 1 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:domain ], + [ skos:example "link to related data"@en ; + sh:description "Reference to related data"@en ; + sh:message "Validation of related data failed!"@en ; + sh:name "link"@en ; + sh:node marketplace-info:LinkShape ; + sh:order 2 ; + sh:maxCount 1 ; + sh:minCount 1 ; + sh:path marketplace-info:relatedDataLink ] ; + sh:targetClass marketplace-info:RelatedData . \ No newline at end of file diff --git a/Shacls_and_Ontologies/used-shacls/marketplaceResource_shacl.ttl b/Shacls_and_Ontologies/used-shacls/marketplaceResource_shacl.ttl deleted file mode 100644 index 76c24b8..0000000 --- a/Shacls_and_Ontologies/used-shacls/marketplaceResource_shacl.ttl +++ /dev/null @@ -1,113 +0,0 @@ -@prefix marketplaceResource: . -@prefix bundleData: . -@prefix gx: . -@prefix sh: . -@prefix skos: . -@prefix xsd: . - -marketplaceResource:MarketplaceResourceShape a sh:NodeShape ; - sh:property [ sh:minCount 1 ; - sh:node marketplaceResource:ContentDataShape ; - sh:order 1 ; - sh:path marketplaceResource:contentData ], - [ sh:node bundleData:BundleDataShape ; - sh:order 2 ; - sh:path marketplaceResource:bundleData ] ; - sh:targetClass marketplaceResource:MarketplaceResource . - - -marketplaceResource:ContentDataShape a sh:NodeShape ; - sh:property [ sh:datatype xsd:string ; - sh:in ("Documentation" "Metadata" "Report" "Image" "Video" "3DPreview" "Asset") ; - sh:message "Validation of type failed!"@en ; - sh:description "Choose type of link."@en ; - sh:name "type"@en ; - sh:order 1 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path marketplaceResource:dataType ], - [ skos:example "link to content data, screenshot, video, routing, 3d preview"@en ; - sh:description "Reference to content data"@en ; - sh:message "Validation of content failed!"@en ; - sh:name "link"@en ; - sh:node marketplaceResource:LinkShape ; - sh:order 2 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path marketplaceResource:contentData ] ; - sh:targetClass marketplaceResource:ContentData . - - marketplaceResource:DomainShape a sh:NodeShape ; - sh:property [ sh:datatype xsd:string ; - sh:in ("hdmap" "environment-model" "ositrace" "scenario" "surface-model") ; - sh:message "Validation of domain type failed!"@en ; - sh:description "Choose domain type."@en ; - sh:name "domain"@en ; - sh:order 0 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path marketplaceResource:domainType ]; - sh:targetClass marketplaceResource:Domain . - - marketplaceResource:LinkShape a sh:NodeShape ; - sh:property [ sh:datatype xsd:anyURI ; - sh:message "Validation of link failed!"@en ; - sh:description "Enter a link or DID."@en ; - sh:name "link"@en ; - sh:order 0 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path marketplaceResource:link ] ; - sh:targetClass marketplaceResource:Link . - -### bundleData - -bundleData:BundleDataShape a sh:NodeShape ; - sh:property [ sh:minCount 1 ; - sh:node bundleData:RequiredDataShape ; - sh:order 1 ; - sh:path bundleData:requiredData ], - [ sh:node bundleData:RelatedDataShape ; - sh:order 2 ; - sh:path bundleData:relatedData ] ; - sh:targetClass bundleData:BundleData . - -bundleData:RequiredDataShape a sh:NodeShape ; - sh:property [ sh:node marketplaceResource:DomainShape ; - sh:description "Reference to required assets"@en ; - skos:example "for scenario, link to required hd map"@en ; - sh:name "domain"@en ; - sh:order 1 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path bundleData:domain ], - [ skos:example "link to required data"@en ; - sh:description "Reference to required data"@en ; - sh:message "Validation of required data failed!"@en ; - sh:name "link"@en ; - sh:node marketplaceResource:LinkShape ; - sh:order 2 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path bundleData:requiredDataLink ] ; - sh:targetClass bundleData:RequiredData . - - bundleData:RelatedDataShape a sh:NodeShape ; - sh:property [ sh:node marketplaceResource:DomainShape ; - sh:description "Reference to related assets"@en ; - skos:example "at hd map, link to surface map"@en ; - sh:name "domain"@en ; - sh:order 1 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path bundleData:domain ], - [ skos:example "link to related data"@en ; - sh:description "Reference to related data"@en ; - sh:message "Validation of related data failed!"@en ; - sh:name "link"@en ; - sh:node marketplaceResource:LinkShape ; - sh:order 2 ; - sh:maxCount 1 ; - sh:minCount 1 ; - sh:path bundleData:relatedDataLink ] ; - sh:targetClass bundleData:RelatedData . \ No newline at end of file