Aklakan commented on PR #3033:
URL: https://github.com/apache/jena/pull/3033#issuecomment-2692254744

   Well the ARQ extension does have its merits, even though the JSON mapping 
capabilities are somewhat limited. 
   
   Maybe this is an opportunity to mention some other current work of mine 
related to GraphQL:
   There aren't many mentions of GraphQL on Jena's issue tracker - one mention 
is from yourself when the `JSON` query form was added: 
https://github.com/apache/jena/pull/114#issuecomment-371460985
   
   * I am aware of https://github.com/telicent-oss/graphql-jena which operates 
on the DatasetGraph level.
   * I have also been working on a GraphQL-to-SPARQL rewriter which allows use 
of arbitrary SPARQL graph patterns to traverse the RDF data. I have a  couple 
of [online 
demos](https://smartdataanalytics.github.io/RdfProcessingToolkit/graphql/demo). 
In the demos, the graph patterns are annotations in the GraphQL query, but 
since recently it is also possible to add the annotations to the GraphQL 
schema. Also, the graph patterns can be connected by multiple variables that 
form composite keys. For example, statistical observations might be blank nodes 
but identified by (city, country) attributes as in this  [test 
case](https://github.com/Scaseco/jenax/blob/d606cb4526ba921355ef1868a7c6102a829e1fbb/jenax-graphql-parent/jenax-graphql-v2/src/test/java/org/aksw/jenax/graphql/sparql/TestGraphQlToSparqlMultiVars.java#L47).
   
   So this is something I have in the pipeline and could contribute sometime 
after the spatial index as a more general approach to querying RDF data as JSON.
   
   
   From the [Movie Browser 
Demo](https://smartdataanalytics.github.io/RdfProcessingToolkit/demos/movies/):
   
![graphql](https://github.com/user-attachments/assets/9ec15b58-1a9a-48e9-bda6-78e1013d12bd)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to