Skip to content

Instantly share code, notes, and snippets.

@BruJu
Last active February 27, 2022 19:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save BruJu/3bca354ba25fa9b91d1c00a9f9d1b06e to your computer and use it in GitHub Desktop.
Save BruJu/3bca354ba25fa9b91d1c00a9f9d1b06e to your computer and use it in GitHub Desktop.
OneStepBackward
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix sh: <http://www.w3.org/ns/shacl#>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix ex: <http://example.com/ns#>
prefix s: <http://schema.org/>
ex:OneStep a sh:NodeShape ;
sh:targetClass ex:OneStep ;
sh:property [
sh:path ( ex:activate [ sh:inversePath ex:activate ] ex:moveon ) ;
sh:minCount 1
] .
ex:TwoSequence a sh:NodeShape ;
sh:targetClass ex:TwoSequence ;
sh:property [
sh:path ( ex:first ex:second ) ;
sh:minCount 1
] .
ex:OneSequence a sh:NodeShape ;
sh:targetClass ex:OneSequence ;
sh:property [
sh:path ( ex:first ) ;
sh:minCount 1
] .
ex:ClassicPath a sh:NodeShape ;
sh:targetClass ex:ClassicPath ;
sh:property [
sh:path ex:first ;
sh:minCount 1
] .
ex:InverseUnitPath a sh:NodeShape ;
sh:targetClass ex:InverseUnitPath ;
sh:property [
sh:path [ sh:inversePath ex:first ] ;
sh:minCount 1
] .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment