shex-test
Version:
Shape Expressions library tests.
29 lines (28 loc) • 637 B
JSON
{
"type": "Schema",
"shapes": [
{ "type": "ShapeDecl",
"id": "http://example.org/S",
"shapeExpr": {
"type": "Shape",
"expression": {
"type": "TripleConstraint",
"predicate": "http://example.org/a",
"valueExpr": "http://example.org/T"
},
"extra": [
"http://example.org/a"
]
} },
{ "type": "ShapeDecl",
"id": "http://example.org/T",
"shapeExpr": {
"type": "Shape",
"expression": {
"type": "TripleConstraint",
"predicate": "http://example.org/b"
}
} }
],
"@context": "http://www.w3.org/ns/shex.jsonld"
}