Skip to content

Determine naming syntax for reifiers #116

Description

@niklasl

The currently proposed naming notation doesn't work for annotations in SPARQL. It collides with the use of | as the AlternativePath operator:

SELECT * { ?s ?p ?o {| dct:issued | dct:modified "2023" |} . }

The above already means "select any triples with annotations described as dct:issued or dct:modified in 2023", and thus cannot also mean "select any triples with the annotation denoted by dct:issued, which was dct:modified in 2023". (Try it out in the Jena-based SPARQL validator.)

Turtle is not SPARQL, but SPARQL has been designed in part with the intent of being easy to copy-paste Turtle into. Besides, having this notation mean completely different things in so similar syntaxes will hurt comprehension a lot.

(See also original mail about this.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions