shex-test
Version:
Shape Expressions library tests.
975 lines (974 loc) • 29.6 kB
JSON
{
"@context": "http://www.w3.org/ns/shex.jsonld",
"type": "Schema",
"start": "http://www.w3.org/ns/shex#Schema",
"shapes": [
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#Schema"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#startActs",
"valueExpr": "http://www.w3.org/ns/shex#SemActList1Plus",
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#start",
"valueExpr": "http://www.w3.org/ns/shex#shapeExpr",
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#shapes",
"valueExpr": "http://www.w3.org/ns/shex#shapeExpr",
"min": 0,
"max": -1
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#Schema"
},
{
"type": "ShapeOr",
"shapeExprs": [
"http://www.w3.org/ns/shex#ShapeOr",
"http://www.w3.org/ns/shex#ShapeAnd",
"http://www.w3.org/ns/shex#ShapeNot",
"http://www.w3.org/ns/shex#NodeConstraint",
"http://www.w3.org/ns/shex#Shape",
"http://www.w3.org/ns/shex#ShapeExternal"
],
"id": "http://www.w3.org/ns/shex#shapeExpr"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#ShapeOr"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#shapeExprs",
"valueExpr": "http://www.w3.org/ns/shex#shapeExprList2Plus"
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#ShapeOr"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#ShapeAnd"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#shapeExprs",
"valueExpr": "http://www.w3.org/ns/shex#shapeExprList2Plus"
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#ShapeAnd"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#ShapeNot"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#shapeExpr",
"valueExpr": "http://www.w3.org/ns/shex#shapeExpr"
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#ShapeNot"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#NodeConstraint"
]
}
},
{
"type": "OneOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#nodeKind",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#iri",
"http://www.w3.org/ns/shex#bnode",
"http://www.w3.org/ns/shex#literal",
"http://www.w3.org/ns/shex#nonliteral"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#datatype",
"valueExpr": {
"type": "NodeConstraint",
"nodeKind": "iri"
}
},
"http://www.w3.org/ns/shex#stringFacet",
"http://www.w3.org/ns/shex#numericFacet",
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#values",
"valueExpr": "http://www.w3.org/ns/shex#valueSetValueList1Plus"
}
],
"min": 1,
"max": -1
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#NodeConstraint"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#Shape"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#closed",
"valueExpr": {
"type": "NodeConstraint",
"values": [
{
"value": "true",
"type": "http://www.w3.org/2001/XMLSchema#boolean"
},
{
"value": "false",
"type": "http://www.w3.org/2001/XMLSchema#boolean"
}
]
},
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#extra",
"valueExpr": {
"type": "NodeConstraint",
"nodeKind": "iri"
},
"min": 0,
"max": -1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#expression",
"valueExpr": "http://www.w3.org/ns/shex#tripleExpression",
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#semActs",
"valueExpr": "http://www.w3.org/ns/shex#SemActList1Plus",
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#annotation",
"valueExpr": "http://www.w3.org/ns/shex#Annotation",
"min": 0,
"max": -1
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#Shape"
},
{
"type": "Shape",
"expression": {
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#ShapeExternal"
]
}
},
"closed": true,
"id": "http://www.w3.org/ns/shex#ShapeExternal"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#SemAct"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#name",
"valueExpr": {
"type": "NodeConstraint",
"nodeKind": "iri"
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#code",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#string"
},
"min": 0,
"max": 1
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#SemAct"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#Annotation"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#predicate",
"valueExpr": {
"type": "NodeConstraint",
"nodeKind": "iri"
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#object",
"valueExpr": "http://www.w3.org/ns/shex#objectValue"
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#Annotation"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"id": "http://www.w3.org/ns/shex#stringFacet",
"type": "OneOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#length",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#integer"
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#minlength",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#integer"
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#maxlength",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#integer"
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#pattern",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#string"
}
}
]
},
{
"id": "http://www.w3.org/ns/shex#numericFacet",
"type": "OneOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#mininclusive",
"valueExpr": "http://www.w3.org/ns/shex#numericLiteral"
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#minexclusive",
"valueExpr": "http://www.w3.org/ns/shex#numericLiteral"
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#maxinclusive",
"valueExpr": "http://www.w3.org/ns/shex#numericLiteral"
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#maxexclusive",
"valueExpr": "http://www.w3.org/ns/shex#numericLiteral"
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#totaldigits",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#integer"
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#fractiondigits",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#integer"
}
}
]
}
]
},
"id": "http://www.w3.org/ns/shex#facet_holder"
},
{
"type": "ShapeOr",
"shapeExprs": [
{
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#integer"
},
{
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#decimal"
},
{
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#double"
}
],
"id": "http://www.w3.org/ns/shex#numericLiteral"
},
{
"type": "ShapeOr",
"shapeExprs": [
"http://www.w3.org/ns/shex#objectValue",
"http://www.w3.org/ns/shex#IriStem",
"http://www.w3.org/ns/shex#IriStemRange"
],
"id": "http://www.w3.org/ns/shex#valueSetValue"
},
{
"type": "ShapeOr",
"shapeExprs": [
{
"type": "NodeConstraint",
"nodeKind": "iri"
},
{
"type": "NodeConstraint",
"nodeKind": "literal"
}
],
"id": "http://www.w3.org/ns/shex#objectValue"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#IriStem"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#stem",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#string"
}
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#IriStem"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#IriStemRange"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#stem",
"valueExpr": {
"type": "ShapeOr",
"shapeExprs": [
{
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#string"
},
"http://www.w3.org/ns/shex#Wildcard"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#exclusion",
"valueExpr": {
"type": "ShapeOr",
"shapeExprs": [
"http://www.w3.org/ns/shex#objectValue",
"http://www.w3.org/ns/shex#IriStem"
]
},
"min": 0,
"max": -1
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#IriStemRange"
},
{
"type": "ShapeAnd",
"shapeExprs": [
{
"type": "NodeConstraint",
"nodeKind": "bnode"
},
{
"type": "Shape",
"expression": {
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#Wildcard"
]
}
},
"closed": true
}
],
"id": "http://www.w3.org/ns/shex#Wildcard"
},
{
"type": "ShapeOr",
"shapeExprs": [
"http://www.w3.org/ns/shex#TripleConstraint",
"http://www.w3.org/ns/shex#OneOf",
"http://www.w3.org/ns/shex#EachOf"
],
"id": "http://www.w3.org/ns/shex#tripleExpression"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#OneOf"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#min",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#integer"
},
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#max",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#integer"
},
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#expressions",
"valueExpr": "http://www.w3.org/ns/shex#tripleExpressionList2Plus"
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#semActs",
"valueExpr": "http://www.w3.org/ns/shex#SemActList1Plus",
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#annotation",
"valueExpr": "http://www.w3.org/ns/shex#Annotation",
"min": 0,
"max": -1
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#OneOf"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#EachOf"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#min",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#integer"
},
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#max",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#integer"
},
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#expressions",
"valueExpr": "http://www.w3.org/ns/shex#tripleExpressionList2Plus"
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#semActs",
"valueExpr": "http://www.w3.org/ns/shex#SemActList1Plus",
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#annotation",
"valueExpr": "http://www.w3.org/ns/shex#Annotation",
"min": 0,
"max": -1
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#EachOf"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#first",
"valueExpr": "http://www.w3.org/ns/shex#tripleExpression"
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest",
"valueExpr": "http://www.w3.org/ns/shex#tripleExpressionList1Plus"
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#tripleExpressionList2Plus"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#first",
"valueExpr": "http://www.w3.org/ns/shex#tripleExpression"
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest",
"valueExpr": {
"type": "ShapeOr",
"shapeExprs": [
{
"type": "NodeConstraint",
"values": [
"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"
]
},
"http://www.w3.org/ns/shex#tripleExpressionList1Plus"
]
}
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#tripleExpressionList1Plus"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"valueExpr": {
"type": "NodeConstraint",
"values": [
"http://www.w3.org/ns/shex#TripleConstraint"
]
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#inverse",
"valueExpr": {
"type": "NodeConstraint",
"values": [
{
"value": "true",
"type": "http://www.w3.org/2001/XMLSchema#boolean"
},
{
"value": "false",
"type": "http://www.w3.org/2001/XMLSchema#boolean"
}
]
},
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#negated",
"valueExpr": {
"type": "NodeConstraint",
"values": [
{
"value": "true",
"type": "http://www.w3.org/2001/XMLSchema#boolean"
},
{
"value": "false",
"type": "http://www.w3.org/2001/XMLSchema#boolean"
}
]
},
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#min",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#integer"
},
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#max",
"valueExpr": {
"type": "NodeConstraint",
"datatype": "http://www.w3.org/2001/XMLSchema#integer"
},
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#predicate",
"valueExpr": {
"type": "NodeConstraint",
"nodeKind": "iri"
}
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#valueExpr",
"valueExpr": "http://www.w3.org/ns/shex#shapeExpr",
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#semActs",
"valueExpr": "http://www.w3.org/ns/shex#SemActList1Plus",
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/ns/shex#annotation",
"valueExpr": "http://www.w3.org/ns/shex#Annotation",
"min": 0,
"max": -1
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#TripleConstraint"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#first",
"valueExpr": "http://www.w3.org/ns/shex#SemAct"
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest",
"valueExpr": {
"type": "ShapeOr",
"shapeExprs": [
{
"type": "NodeConstraint",
"values": [
"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"
]
},
"http://www.w3.org/ns/shex#SemActList1Plus"
]
}
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#SemActList1Plus"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#first",
"valueExpr": "http://www.w3.org/ns/shex#shapeExpr"
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest",
"valueExpr": "http://www.w3.org/ns/shex#shapeExprList1Plus"
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#shapeExprList2Plus"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#first",
"valueExpr": "http://www.w3.org/ns/shex#shapeExpr"
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest",
"valueExpr": {
"type": "ShapeOr",
"shapeExprs": [
{
"type": "NodeConstraint",
"values": [
"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"
]
},
"http://www.w3.org/ns/shex#shapeExprList1Plus"
]
}
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#shapeExprList1Plus"
},
{
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#first",
"valueExpr": "http://www.w3.org/ns/shex#valueSetValue"
},
{
"type": "TripleConstraint",
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest",
"valueExpr": {
"type": "ShapeOr",
"shapeExprs": [
{
"type": "NodeConstraint",
"values": [
"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"
]
},
"http://www.w3.org/ns/shex#valueSetValueList1Plus"
]
}
}
]
},
"closed": true,
"id": "http://www.w3.org/ns/shex#valueSetValueList1Plus"
}
],
"@context": "http://www.w3.org/ns/shex.jsonld"
}