RDFShape

Message: Not Valid

2 Errors found

MessageFocus NodeSubjectPredicateSeveritySource constraintSource ShapeSource template
Property has more than 1 values (2):bob:bobschema:namesh:Violation...258:User
Value does not have datatype xsd:string:dave:daveschema:namesh:Violation...258:User
Data
prefix : <http://example.org/>
prefix schema: <http://schema.org/> 
prefix xsd:  <http://www.w3.org/2001/XMLSchema#>
prefix sh: <http://www.w3.org/ns/shacl#>

:alice schema:name "Alice" .

:bob schema:name "Bob", "Robert" .

:carol schema:name "Carol" ;
       schema:email <mailto:carol@example.org> .

:dave schema:name 234 .

:User sh:scopeNode :alice, :bob, :carol, :dave .

Schema
prefix : <http://example.org/> 
prefix sh: <http://www.w3.org/ns/shacl#> 
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix foaf: <http://xmlns.com/foaf/0.1/>
prefix schema: <http://schema.org/> 

         
:User a sh:Shape ;
   sh:property [
    sh:predicate schema:name ; 
    sh:minCount 1; sh:maxCount 1;
    sh:datatype xsd:string ;
  ] .
Generate permalink

RDFShape - RDF Validator based on Shapes

Select Schema

Schema options
NameOptionDescription
Show schema
Show/Dont show schema
Focus node selection




How to select focus nodes to validate
Cut level in case there are more than one validation result

RDF Data

Input
Data options