w3c / rdf-star

RDF-star specification
https://w3c.github.io/rdf-star/
Other
119 stars 23 forks source link

Turtle evaluation tests #68

Closed afs closed 3 years ago

afs commented 3 years ago

Includes

afs commented 3 years ago

Also, please update /index.html with references to these test manifests; HTML version, if it's generated.

I have tried to do that. Added to this PR.

@pchampin - I had to change the make-html-manifests.py to remove the validation of the id name because it was checking for #turtle-star-.

pchampin commented 3 years ago

@pchampin - I had to change the make-html-manifests.py to remove the validation of the id name because it was checking for #turtle-star-.

No problem... I initially added that to detect copy-paste errors (copying a test and forgetting to change its name or its id) but I should probably run this check in a separate script...

afs commented 3 years ago

HTML rebuilt now; links on home page (and fixed the insecure links warning).

pchampin commented 3 years ago

Thanks a lot :) One thing I believe is missing: a test case for Turtle and N-Triples where there is no space between << and the embedded subject. I think I encountered some implementations that didn't support it, but my understanding of the grammar is that it should (even though that's not very readable...). Do you agree?

afs commented 3 years ago

It is possible.

<<<uri> :q 123>> and <<<<:s :p :o>> :q :z>> and similarly the trailing case.

I'll add some tests for this.