shex icon indicating copy to clipboard operation
shex copied to clipboard

[Validating RDF Data] Example 68: External shape

Open mistermboy opened this issue 5 years ago • 0 comments

This is the example 68 of the Validating RDF Data book:

:Product { 
    schema:productId xsd:string ;  
    schema:category EXTERNAL // :service <http://categories.org/>  
}

I wonder if the keyword "EXTERNAL" is correct because, looking at grammars, the only rule that accepts "EXTERNAL" is "shapeExprDecl":

[9]     shapeExprDecl    ::= shapeExprLabel (shapeExpression|"EXTERNAL")

Master branch grammar Shex2.1 branch grammar Shex.io grammar

mistermboy avatar Feb 10 '20 10:02 mistermboy