blob: 95b4253983f43a0028e8494a485dc3c791c51456 [file] [log] [blame]
@prefix dash: <http://datashapes.org/dash#> .
@prefix ex: <http://datashapes.org/sh/tests/core/property/minCount-002.test#> .
@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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 sht: <http://www.w3.org/ns/shacl-test#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ex:TestShape
rdf:type sh:NodeShape ;
sh:property [
sh:path ex:property ;
sh:minCount 0 ;
sh:name "property" ;
] ;
sh:targetNode ex:ValidResource1 ;
.
ex:ValidResource1
rdf:type rdfs:Resource ;
.
<>
rdf:type mf:Manifest ;
mf:entries (
<minCount-002>
) ;
.
<minCount-002>
rdf:type sht:Validate ;
rdfs:label "Test of sh:minCount at property shape 001" ;
mf:action [
sht:dataGraph <> ;
sht:shapesGraph <> ;
] ;
mf:result [
rdf:type sh:ValidationReport ;
sh:conforms "true"^^xsd:boolean ;
] ;
mf:status sht:approved ;
.