Tree results for graph queries
The goal of this note is to study how to get tree answers from a graph database.
An application can be to obtain JSON document from CONSTRUCT SPARQL queries over a RDF graph.
The aim of such approach is :
- to avoid the exponential explosion of results of SELECT SPARQL. The number of returned tuples can be exponential in the size of the matching tree
- to describe a way to navigate on an answer
The SPARQL case
- sparql result converter aims to map SELECT SPARQL results to JSON tree : https://github.com/hsu-aut/sparql-result-converter