RDFShape

OK

Solutions found

Result

Solution

NodeShapes
_:cbd93c3c538dceb9a876140694b74ddf
  • <http://example.org/Company>
    :OurCompany
    • <http://example.org/Company>
      _:cc871fe8d5b82fa003a777855c590879
      • <http://example.org/User>
        :alice
        • <http://example.org/User>
          :carol
          • <http://example.org/User>
            :bob
            • <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      schema:name     "Alice";
                          schema:follows  :bob;
                          schema:worksFor :OurCompany .
              
              :bob        schema:name     "Roberto"@es ;
                          schema:worksFor [ 
                           schema:Founder "Frank" ;
                           schema:employee :carol ;
              	    ] .
              :carol      schema:name     "Carol" ;
                          schema:follows  [ 
                            schema:name     "Emily" ;
              	    ] .
              :OurCompany schema:founder :dave ;
                          schema:employee :alice, :bob .
              
              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 OR rdf:langString ;
               schema:worksFor IRI OR @:Company ?;
               schema:follows  IRI OR BNode *
              }
              
              :Company {
               schema:founder  IRI ?;
               schema:employee IRI {1,100}
              }
              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