Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

change optional match syntax in query #9

Open
superfell opened this issue Apr 5, 2019 · 1 comment
Open

change optional match syntax in query #9

superfell opened this issue Apr 5, 2019 · 1 comment

Comments

@superfell
Copy link
Contributor

Query supports an optional match operator, however the syntax is subtle (a trailing ? on the predicate) and the part of the query that is optional is determined by that query lines subject & object variables. This gets more confusing if there are multiple optional matches. This should be moved to Sparqls optional match format where its much clearer both that there is an optional match, and what the optional match is made up of.

@darrengarvey
Copy link

The current syntax is a standard SPARQL 1.1 property path. OPTIONAL {} is still useful for optional blocks of query lines.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants