https://w3id.org/rec#ElevatorTrip
Focus nodes of this shape (rec:ElevatorTrip) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| rec:currentLevel | current level |
0 | 1 | xsd:string | |
| rec:endLevel | end level |
0 | 1 | xsd:string | |
| rec:startLevel | start level |
0 | 1 | xsd:string | |
| rec:tripDirection | trip direction |
0 | 1 | xsd:string |
sh:in
Up, Down
|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rec: <https://w3id.org/rec#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
rec:ElevatorTrip a rdfs:Class,
sh:NodeShape ;
rdfs:label "Elevator trip"^^xsd:string ;
rdfs:subClassOf rec:Event ;
sh:property [ a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:name "start level"^^xsd:string ;
sh:path rec:startLevel ],
[ a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:in ( "Up"^^xsd:string "Down"^^xsd:string ) ;
sh:maxCount 1 ;
sh:name "trip direction"^^xsd:string ;
sh:path rec:tripDirection ],
[ a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:name "end level"^^xsd:string ;
sh:path rec:endLevel ],
[ a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:name "current level"^^xsd:string ;
sh:path rec:currentLevel ] .