RDFShape

OK

Solutions found

Result

Solution

NodeShapes
:alice
  • <User>
    :bob
    • <Male>
      :carol
      • <Female>
        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#>
        
        :alice schema:name "Alice" ;
               schema:parent :bob, :carol .
         
        :bob   schema:name "Bob" ;
               schema:gender schema:Male .
        	 
        :carol schema:name "Carol" ;
               schema:gender schema:Female .
        Schema
        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> {
         schema:name     xsd:string;
         schema:parent @<Male>;
         schema:parent @<Female>
        }
        
        <Male> {
         schema:gender [schema:Male ]
        }
        
        <Female> {
         schema:gender [schema:Female]
        }
        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