RDFShape

OK

Solutions found

Result

Solution

NodeShapes
:OurCompany
  • <http://example.org/Company>
    :alice
    • <http://example.org/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#>
      
      :alice a :User;
             schema:worksFor :OurCompany .
      	   
      :bob   a :User;
             schema:worksFor :Another .
      	   
      :OurCompany 
          schema:name "OurCompany" ;
      	schema:employee :alice .
      
      :Another 
          schema:name 23 .
      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:worksFor @:Company ;
      }
      
      :Company {
       schema:name     xsd:string ;
       schema:employee @:User 
      }
      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