RDFShape

Message: Not Valid

1 Error found

MessageFocus NodeSubjectPredicateSeveritySource constraintSource ShapeSource template
Predicate rdfs:label is not allowed (closed shape):carol:carolrdfs:labelsh:Violation...78e: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:constraint [
  sh:closed true ;
  sh:ignoredProperties ( rdf:type )
 ] ;
 sh:property [
  sh:predicate schema:givenName ;
];
 sh:property [
  sh:predicate schema:lastName ;
] . 


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

:bob   a :Employee ;
       schema:givenName "Bob";
       schema:lastName "Smith" .

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

Data

RDF Data

Input
Data options