RDFShape

OK

Solutions found

Result

Solution

NodeShapes
: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 schema:name  "Alice";
           foaf:age     10 ;
           schema:phone "123-456-555" .
     
    :bob   schema:name "Robert Smith" ;
           foaf:age    45 ;
           schema:phone "333-444-555" .
    
    :carol schema:name  "Carol" ;
           foaf:age     23 ;
           schema:phone "+34-123-456-555" .
    
    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 MaxLength 10 ;
     foaf:age     xsd:integer MinInclusive 1 MaxInclusive 99 ;
     schema:phone xsd:string Pattern "^\\d{3}-\\d{3}-\\d{3}"
    }
    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