[shex] Define the semantics of qualified names in shape maps (#95)

labra has just created a new issue for https://github.com/shexSpec/shex:

== Define the semantics of qualified names in shape maps ==
At this moment shapemap implementations allow qualified names without prefix declarations and inherit the alias from the ShEx schemas or RDF data. For example, a shapemap like:

```
foo:Node@bar:Shape
```

is accepted whenever the RDF data contains a prefix declaration for `foo`  and the ShEx schema contains a prefix declaration for `bar`. 

This behaviour works well in practice and has been implemented by [Shex.js](https://github.com/shexSpec/shex.js) and [SHaclEX](http://labra.github.io/shaclex), but is hasn't been docomented yet in the shape map spec. 

Apart from that, users may want to define their own prefix declarations in their shapemaps. So a shape map could be:

```
prefix foo: <http://example.org/foo/>
prefix bar: <http://example.org/bar/>

foo:Node@bar:Shape
```
and would try to check node `<http://example.org/foo/Node>` with the shape `<http://example.org/bar/Shape>`

Please view or discuss this issue at https://github.com/shexSpec/shex/issues/95 using your GitHub account

Received on Saturday, 20 July 2019 06:58:11 UTC