How can I query transitive closures / trees / hierarchies / RDF lists in SPARQL?

There is no built-in support within SPARQL to query hierarchical structures of an unknown depth (e.g. Trees or lists), to query transitive relations, or to query via XPath like paths. The Data Access Working Group postponed this issue in early 2005. There are several workarounds to perform these queries using SPARQL: • Repeated queries.

A repeating structure can be queried via a series of queries. If the structure's internal nodes have URIs (or if the SPARQL endpoint supports blank node identifiers which are stable across queries ("told bnodes"), then the same query can be issued repeatedly to explore the structure. Alternatively, an ever-growing query can be created which repeatedly queries the structure from its root to an increasing, fixed depth (until a desired value is found or the end of the structure is reached).

€¢ Inference. In an environment which supports querying over an inferred graph, inference rules can be used to specify transitive closures or hierarchy membership ... more.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions