
webapp.data.shape.shacl-test.json-ld Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of corese-server Show documentation
Show all versions of corese-server Show documentation
Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1
Query and Update.
The newest version!
{
"@context": {
"sh": "http://www.w3.org/ns/shacl#" ,
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"ex": "http://example.org/ns#"
},
"@graph":
[
{
"@id" : "ex:PersonShape",
"@type" : "NodeShape",
"targetClass" : "ex:Person",
"property" : [
{
"path" : "ex:ssn",
"maxCount" : 1,
"datatype" : "xsd:string" ,
"pattern" : "^\\d{3}-\\d{2}-\\d{4}$"
},
{
"path" : "ex:child",
"class" : "ex:Person",
"nodeKind" : "sh:IRI"
},
{
"comment" : "A person's parents are represented via ex:child used in the inverse direction." ,
"path" : { "inversePath" : "ex:child" },
"name" : "parent",
"maxCount" : 2
}
],
"closed" : true,
"ignoredProperties" : [ "rdf:type" ]
}
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy