Skip to content

Commit

Permalink
Add sample SHACL for bblock
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Jan 17, 2025
1 parent 496997b commit cd50092
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions _sources/semantic-uplift/pre-and-post-uplift/rules.shacl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@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 geojson: <https://purl.org/geojson/vocab#> .
@prefix ex: <http://example.com/> .
@base <http://example.com/rules> .

<#testHasOneIs1>
a sh:NodeShape ;
sh:targetSubjectsOf ex:hasOne ;
sh:property [
sh:path ex:hasOne ;
sh:name "hasOne is 1" ;
sh:hasValue 1 ;
]
.

0 comments on commit cd50092

Please sign in to comment.