Hi,

Does Virtuoso (or any other triple store) support the definition of an alias for a set of named graphs such as defining <http://ex.org> to refer to a set of graphs such as <http://ex.org/1> ... <http://ex.org/n>

The reason is that I want to consider using an approach for triple management, where triples sharing the same metadata are stored in a graph*, and an update simply clears the graph and inserts the new data. However, applications should not have to deal with physical representation and instead only see a single logical graph.

So in other words: The goal is to avoid having to filter the graphs explicitely in the SPARQL query as shown below, but rather specify an alias in the from clause and have the store do the filtering "behind the scenes".
Select ?s ?p ?o {
   Graph ?g {?s ?p ?o}
   Filter(Regex(?g, '^http://ex.org/'))
}

Kind regards,
Claus

*As already mentioned in the thread
[Virtuoso-users] Anotating RDF triples with metadata



Reply via email to