shex-test
Version:
Shape Expressions library tests.
36 lines (35 loc) • 796 B
JSON
{
"@context": "http://www.w3.org/ns/shex.jsonld",
"type": "Schema",
"shapes": [
{ "type": "ShapeDecl",
"id": "http://a.example/S1",
"shapeExpr": {
"type": "Shape",
"expression": {
"type": "TripleConstraint",
"predicate": "http://a.example/p1",
"valueExpr": {
"type": "ShapeAnd",
"shapeExprs": [
{
"type": "NodeConstraint",
"nodeKind": "iri",
"length": 19
},
"http://a.example/S2"
]
}
}
} },
{ "type": "ShapeDecl",
"id": "http://a.example/S2",
"shapeExpr": {
"type": "Shape",
"expression": {
"type": "TripleConstraint",
"predicate": "http://a.example/p2"
}
} }
]
}