Skip to content

Commit

Permalink
update from ontology-management-base
Browse files Browse the repository at this point in the history
Signed-off-by: jtdemer <[email protected]>
  • Loading branch information
jtdemer committed Oct 25, 2024
1 parent 664a785 commit 8380c55
Show file tree
Hide file tree
Showing 17 changed files with 421 additions and 513 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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. | <http://www.w3.org/2001/XMLSchema#string> | general_shacl.ttl |
| DescriptionShape | general | description | 1 | 1 | A free text description of the entity. | <http://www.w3.org/2001/XMLSchema#string> | general_shacl.ttl |
| DataShape | general | size | 1 | 1 | Size of the file to be downloaded in MB. | <http://www.w3.org/2001/XMLSchema#float> | general_shacl.ttl |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Variables of SHACL Files in this folder

## Prefixes

- marketplace-info: <https://github.com/GAIA-X4PLC-AAD/ontology-management-base/tree/main/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. | <http://www.w3.org/2001/XMLSchema#string> | marketplace-info_shacl.ttl |
| ContentDataShape | marketplace-info | dataType | 1 | 1 | Choose type of link. | <http://www.w3.org/2001/XMLSchema#string> | 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. | <http://www.w3.org/2001/XMLSchema#string> | marketplace-info_shacl.ttl |
| LinkShape | marketplace-info | link | 1 | 1 | Enter a link or DID. | <http://www.w3.org/2001/XMLSchema#anyURI> | 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 |
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: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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
@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: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 .
Loading

0 comments on commit 8380c55

Please sign in to comment.