-
Notifications
You must be signed in to change notification settings - Fork 127
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
SPARQL Operation support for ordering results #3720
Labels
Comments
|
The solution should be in accordance with the extension of Dynamic API ontology - #3878. It means, the appropriate suffix will be added before the execution of the query, if there is pageable flag set to true, and sortable flag set to true, and there are URL parameters.
NOTE: A procedure can have more than one SPARQL Select Operations, the logic is applied only for operations which flags are turned on. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
For the endpoint
GET http://localhost:8080/vivo/api/rest/1.0.0/geolocation/?sortBy=limit&order=ASC
this SPARQL query should be executed
Before execution ?order(??sortBy) should be replaced with ASC(?limit). Neither ParameterizedSparqlString setLiteral, neither setIRI are working here. For the first (setLiteral), it produces "ASC^^xsdstring"(?"limit^^xsdstring"), for the second (setIRI) it produces (?).
Describe the solution you'd like
Probably ParameterizedSparqlString append method might resolve this issue, but redesign of the ontology description of SPARQL operation class might be needed.
The text was updated successfully, but these errors were encountered: