forked from GAIA-X4PLC-AAD/ontology-management-base
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.shacl.ttl
More file actions
59 lines (57 loc) · 2.09 KB
/
example.shacl.ttl
File metadata and controls
59 lines (57 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
@prefix example_ontology: <https://w3id.org/gaia-x4plcaad/ontologies/example/v1/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix openlabel: <https://openlabel.asam.net/V1-0-0/ontologies/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
<https://w3id.org/gaia-x4plcaad/ontologies/example/v1/shapes>
rdf:type owl:Ontology ;
owl:imports <https://w3id.org/gaia-x4plcaad/ontologies/example/v1> ;
skos:prefLabel "Example Shapes"@en .
example_ontology:ExampleServiceOfferingShape
a sh:NodeShape ;
sh:targetClass example_ontology:ExampleServiceOffering ;
sh:property
[
sh:path example_ontology:property1 ;
sh:datatype xsd:string ;
skos:example "Property 1 Value" ;
sh:minCount 1 ;
sh:message "Validation of property1 failed" ;
sh:name "Property 1" ;
sh:description "A description that describes property 1."@en ;
sh:order 1 ;
] ;
sh:property
[
sh:path example_ontology:property2 ;
sh:datatype xsd:string ;
skos:example "Property 2 Value" ;
sh:minCount 1 ;
sh:message "Validation of property2 failed" ;
sh:name "Property 2" ;
sh:description "A description that describes property 2."@en ;
sh:order 2 ;
] ;
sh:property
[
sh:path example_ontology:belongsTo ;
sh:nodeKind sh:IRI ;
sh:minCount 1 ;
sh:message "Validation of Identifier of related Self Description failed" ;
sh:name "Belongs to" ;
sh:description "Identifier of related Self Description."@en ;
sh:order 3 ;
] ;
sh:property
[
sh:path example_ontology:hasJunctionIntersection ;
sh:nodeKind sh:IRI ;
sh:in (openlabel:IntersectionTJunction openlabel:IntersectionStaggered openlabel:IntersectionYJunction openlabel:IntersectionCrossroad openlabel:IntersectionGradeSeperated) ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:message "Error in validating JunctionIntersection attribute." ;
sh:description "Further description of the content of the scenario"@en ;
sh:order 4 ;
] .