Query Result API #3013
namedgraph
started this conversation in
Development
Replies: 1 comment 1 reply
-
This topic is being visited in Issue 2283, and development in progress on PR 2320, though stalled due to availability. If there are questions about API style preference, my own preference is to defer to definitions or model suggestions from the upstream sources. I haven't reviewed SPARQL's specification recently enough to recall if there is a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think it the query
Result
API is also awkward af.I personally hate this sort of "magic". I would prefer to have less of it, not more, and make things explicit. For example, that the method signature would be
where
Graph
is forDESCRIBE/CONSTRUCT
results,Result
is forSELECT
results only, andbool
is forASK
results.Right now having a
Result
object there is no good way (that I know of) to determine what form of query it is coming from.Beta Was this translation helpful? Give feedback.
All reactions