From b35f2a2f9966d46ae5e0506069e133a465695974 Mon Sep 17 00:00:00 2001 From: Eric Prud'hommeaux Date: Tue, 15 Feb 2022 11:53:53 +0100 Subject: [PATCH] + NodeConstraints += SemActs and Annotations --- index.html | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 3b88cec..1a78539 100644 --- a/index.html +++ b/index.html @@ -4285,6 +4285,13 @@

ShEx Compact syntax (ShExC)

[24]    litNodeConstraint    ::=    +litInlineNodeConstraint annotation* semanticActions + + + +[24½]    +litInlineNodeConstraint +   ::=       "LITERAL" xsFacet*
| datatype xsFacet*
| valueSet xsFacet*
@@ -4295,11 +4302,18 @@

ShEx Compact syntax (ShExC)

[25]    nonLitNodeConstraint    ::=    +nonLitInlineNodeConstraint annotation* semanticActions + + + +[25½]    +nonLitInlineNodeConstraint +   ::=       nonLiteralKind stringFacet*
| stringFacet+
-NodeConstraint{id:shapeExprLabel? nodeKind:("iri" | "bnode" | "nonliteral" | "literal")? datatype:IRIREF? xsFacet* values:[valueSetValue+]? } +NodeConstraint{id:shapeExprLabel? nodeKind:("iri" | "bnode" | "nonliteral" | "literal")? datatype:IRIREF? xsFacet* values:[valueSetValue+]? semActs:[SemAct+]? annotations:[Annotation+]? } [26]    nonLiteralKind @@ -5309,7 +5323,7 @@

ShEx JSON Syntax (ShExJ)

ShapeExternal { id:shapeExprLabel? } shapeExprRef = shapeExprLabel ; shapeExprLabel = IRIREF | BNODE ; - NodeConstraint {id:shapeExprLabel? nodeKind:("iri" | "bnode" | "nonliteral" | "literal")? datatype:IRIREF? xsFacet* values:[valueSetValue+]? } + NodeConstraint {id:shapeExprLabel? nodeKind:("iri" | "bnode" | "nonliteral" | "literal")? datatype:IRIREF? xsFacet* values:[valueSetValue+]? semActs:[SemAct+]? annotations:[Annotation+]? } xsFacet =stringFacet | numericFacet ; stringFacet =(length|minlength|maxlength):INTEGER | pattern:STRING flags:STRING? ; numericFacet =(mininclusive|minexclusive|maxinclusive|maxexclusive):numericLiteral