w3c / sparql-update

https://w3c.github.io/sparql-update/
Other
4 stars 2 forks source link

Use PREFIX in Turtle #32

Closed rubensworks closed 6 months ago

rubensworks commented 1 year ago

As suggested by @afs in https://github.com/w3c/sparql-update/pull/31#discussion_r1311608934, we should replace the @prefix syntax in Turtle examples to PREFIX.

niklasl commented 1 year ago

I would prefer prefix (lower-case). Argument would be: it's more like "natural writing" (where upper-case is most common for e.g. acronyms/abbreviations, and "shouting"), which Turtle is intentionally designed for; in contrast to SPARQL, which is designed to "feel" like SQL (where the classic norm is upper-case for keywords).

I am in favour of it in any form due to the increased isomorphism with SPARQL (to e.g. help when copy-pasting between data and queries).