-
Notifications
You must be signed in to change notification settings - Fork 19
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
Multivalued query params #161
Comments
one example of a way to support multivalued parameters is to recognize arbitrary values data blocks as parameters and bind them to the locations in the query which have matching variables.
it is tedious, but all the aspects seem necessary.
|
|
-> every values block - there can be more than one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First see #57.
Why?
In a current project on company data, there's need for multivalued query parameters. Eg
or
Hopefully a good SPARQL endpoint will implement both cases above in the same way, and order the patterns efficiently. But:
$var
to multiple valuesin
, space-separated invalues
If you need several correlated params, maybe parallel
values
can be used:or something like this, using a list of pairs
Previous work
None of the query parameterization prior art has a concept of multivalued query params.
Example of "query threading":
$companies, $sectors, $subsectors
that fetches further data. These are multivalued params that are correlated in a complex way (not just with parallelvalues
)Proposal
I don't feel qualified to make a coherent proposal, but here are some ideas:
Backward compatibility
$
is used for an externally bound varSo I'm looking for ideas and best practices, more than anything else.
The text was updated successfully, but these errors were encountered: