shex icon indicating copy to clipboard operation
shex copied to clipboard

What shape should a resultShapeMap report for START?

Open ericprud opened this issue 8 years ago • 1 comments

resultShapeMap.shape is a JSON-LD @id so IRIs are literals (e.g. "http://a.example/"), bnodes are literals with a leading "_:" (e.g. "_:b1") and literals are an object (e.g. { "value": "my string", "language": "en" }). What then should be the representation of the START identifier? shex.js uses { "term": "START" }.

ericprud avatar Aug 28 '17 09:08 ericprud

I've been using http://www.w3.org/ns/shex#Start (shex:Start), but that might be easy to confuse with shex:start, which is a predicate URI. However, it is distinct, and is being used in the subject/object position, in this case.

gkellogg avatar Aug 28 '17 23:08 gkellogg