Skip to content

Commit

Permalink
update repo
Browse files Browse the repository at this point in the history
Signed-off-by: jtdemer <[email protected]>
  • Loading branch information
jtdemer committed Oct 23, 2024
1 parent be5e2c9 commit b3991cd
Show file tree
Hide file tree
Showing 13 changed files with 242 additions and 415 deletions.
40 changes: 0 additions & 40 deletions bundleData/BundleData_instance.json

This file was deleted.

19 changes: 0 additions & 19 deletions bundleData/VARIABLES.md

This file was deleted.

33 changes: 0 additions & 33 deletions bundleData/bundleDataResource_ontology.ttl

This file was deleted.

79 changes: 0 additions & 79 deletions bundleData/bundleDataResource_shacl.ttl

This file was deleted.

4 changes: 0 additions & 4 deletions general/general_instance.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
"@value": "5.8",
"@type": "xsd:float"
},
"general:contractId": {
"@value": "ntract_zcdkr7kqd47y0w5b4tg91w1etw",
"@type": "xsd:string"
},
"general:recordingTime": {
"@value": "2024-04-01T00:00:00",
"@type": "xsd:dateTime"
Expand Down
14 changes: 2 additions & 12 deletions general/general_shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ 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 ;
Expand Down Expand Up @@ -55,23 +55,13 @@ general:DataShape a sh:NodeShape ;
sh:name "size" ;
sh:order 1 ;
sh:path general:size ],
# contractId ?
[ 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 2 ;
sh:path general:contractId ],
#
[ 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 ;
sh:maxCount 1 ;
sh:message "Validation of recordingTime failed!"@en ;
sh:name "recordingTime"@en ;
sh:order 3 ;
sh:order 2 ;
sh:path general:recordingTime ] ;
sh:targetClass general:Data .

Expand Down
64 changes: 64 additions & 0 deletions marketplace-info/marketplace-info_instance.json
Original file line number Diff line number Diff line change
@@ -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:data": {
"@type": "marketplace-info:Data",
"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"
}
}
}
}
}
41 changes: 41 additions & 0 deletions marketplace-info/marketplace-info_ontology.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix gax-core: <https://w3id.org/gaia-x/core#> .
@prefix marketplace-info: <https://github.com/GAIA-X4PLC-AAD/ontology-management-base/tree/main/marketplace-info/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix gx: <https://registry.lab.gaia-x.eu/development/api/trusted-shape-registry/v1/shapes/jsonld/trustframework#> .

marketplace-info: a owl:Ontology ;
rdfs:label "ontology definition for Marketplace-Info"@en ;
dcterms:contributor "Johannes Demer (ASCS)" ;
owl:versionInfo "0.1" .

marketplace-info:Marketplace-Info 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:Data a owl:Class ;
rdfs:label "Data definition for Marketplace-Info" ;
rdfs:comment "Data 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 .

bundleData:RequiredData a owl:Class ;
rdfs:label "RequiredData definition for Marketplace-Info" ;
rdfs:comment "RequiredData attributes for all assets"@en .

bundleData: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 .
Loading

0 comments on commit b3991cd

Please sign in to comment.