RDFShape

Message: Not Valid

2 Errors found

MessageFocus NodeSubjectPredicateSeveritySource constraintSource ShapeSource template
Property must have same values as foaf:firstName:bob:bobschema:givenNamesh:Violation...1e6:User
Property must not share any values with schema:lastName:carol:carolschema:givenNamesh:Violation...790:User
Data
prefix : <http://example.org/> 
prefix sh: <http://www.w3.org/ns/shacl#> 
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix schema: <http://schema.org/>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix foaf: <http://xmlns.com/foaf/0.1/>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>


:User
 a sh:Shape ;
 sh:property [
  sh:predicate schema:givenName ;
  sh:equals foaf:firstName 
];
 sh:property [
  sh:predicate schema:givenName ;
  sh:disjoint  schema:lastName 
];
  . 


:alice schema:givenName "Alice";
       schema:lastName "Cooper";
       foaf:firstName "Alice" .

:bob   schema:givenName "Bob";
       schema:lastName "Smith" ;
       foaf:firstName "Robert" .

:carol schema:givenName "Carol";
       schema:lastName "Carol" ;
       foaf:firstName "Carol" .
	   
:User sh:scopeNode :alice, :bob, :carol .
Generate permalink

Data

RDF Data

Input
Data options