Open blake-regalia opened 4 years ago
The first ShapeMap spec was supposed to avoid the controversial implicit inclusion of prefixes and bases from other contexts (the data and schema). That said, it seems to be what people expect so maybe it's time to stop being so shy.
I started to draft this in yacker but have to run out the door. I think the behavior you want is implemented in the shex.js grammar (reference, declaration). Feel free to hack on that yacker grammar if you get to it before I do.
iri ::= IRIREF
, but I believe it should beIRIREF | PNAME_LN
... and the productionsPNAME_NS
andPNAME_LN
included in the grammar.