Skip to content
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

Add GraphSparqlAsk operation to perform SPARQL ASK queries #12

Merged
merged 5 commits into from
Jun 11, 2024

Conversation

AuPath
Copy link
Collaborator

@AuPath AuPath commented Apr 19, 2024

A query can be passed to the operation in the following ways:

  1. Using the 'query' endpoint parameter and passing the query as a String
  2. Using the chimeraResource endpoint parameter and passing it in as a ChimeraResourceBean

At least one of these queries must be not null. If for some reason both are specified then the 'query' parameter one has priority. This is to be consistent with the behaviour of the GraphConstruct operation.

Returns either Java true or false in the body of the outgoing exchange.

An example of usage:
.toD("graph://ask?chimeraResource=#bean:resourceQuery")

If accepted should be merged after #11.
@marioscrock WDYT?

@AuPath AuPath added the enhancement New feature or request label Apr 19, 2024
@AuPath AuPath requested a review from marioscrock April 19, 2024 14:11
@AuPath AuPath self-assigned this Apr 19, 2024
@AuPath AuPath changed the title Add GraphAsk operation to perform SPARQL ASK queries Add GraphSparqlAsk operation to perform SPARQL ASK queries Apr 22, 2024
@marioscrock
Copy link
Member

marioscrock commented May 2, 2024

@AuPath as done for the SELECT operation, update the docs if not already done with the content of this PR

@AuPath AuPath merged commit 8d059cc into master Jun 11, 2024
@AuPath AuPath deleted the feat-sparql-ask-op branch June 11, 2024 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants