shex-test
Version:
Shape Expressions library tests.
24 lines (23 loc) • 716 B
JSON
{
"@context": "http://www.w3.org/ns/shex.jsonld",
"type": "Schema",
"shapes": [
{ "id": "http://schema.example/IssueShape",
"type": "ShapeDecl",
"shapeExpr": {
"type": "Shape",
"expression":
{ "type": "TripleConstraint",
"predicate": "http://schema.example/reproducedBy",
"valueExpr": "http://schema.example/TesterShape" } } },
{ "id": "http://schema.example/TesterShape",
"type": "ShapeDecl",
"shapeExpr": {
"type": "Shape",
"expression":
{ "type": "TripleConstraint",
"predicate": "http://schema.example/role",
"valueExpr":
{ "type": "NodeConstraint",
"values": [ "http://schema.example/testingRole" ] } } } }
] }