Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curiosity in start2RefS2.shex #43

Closed
hsolbrig opened this issue May 12, 2020 · 1 comment
Closed

Curiosity in start2RefS2.shex #43

hsolbrig opened this issue May 12, 2020 · 1 comment
Assignees

Comments

@hsolbrig
Copy link
Contributor

https://github.com/shexSpec/shexTest/blob/master/schemas/start2RefS2.shex has no reference to "p1":

start=@<http://a.example/S2>
<http://a.example/S2> {
   <http://a.example/p2> .
}

yet the https://github.com/shexSpec/shexTest/blob/master/schemas/start2RefS2.json and https://github.com/shexSpec/shexTest/blob/master/schemas/start2RefS2.ttl show one:

{ "@context": "http://www.w3.org/ns/shex.jsonld", "type": "Schema",
  "start": "http://a.example/S2",
  "shapes": [
    { "id": "http://a.example/S2", "type": "Shape", "expression": {
        "type": "TripleConstraint", "predicate": "http://a.example/p1" } }
  ] }
PREFIX sx: <http://www.w3.org/ns/shex#>

[] a sx:Schema ;
  sx:start <http://a.example/S2> ;
  sx:shapes <http://a.example/S2> .
    <http://a.example/S2> a sx:Shape ; sx:expression [
        a sx:TripleConstraint ; sx:predicate <http://a.example/p1> ] .

How can this happen and why does it pass existing unit tests?

@ericprud
Copy link
Contributor

ericprud commented Jun 9, 2023

grammar has rev'd since this comment

@ericprud ericprud closed this as completed Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants