Hello!
Let's imagine we have a list of entities uris' as input and we need to
retrieve all triples for each entity. The brute force solution is to process
entities one by one executing the following query n times:
select ?p ?o
where
{
<someGraph#entityN> ?p ?o
}
N = 0..n
But it looks very inefficient. Is there any way to execute it using one
query?
I'm sorry if this question is not Virtuoso specific. But there is a
possibility we need to use some Virtuoso SPARQL extension syntax that's why
I'm posting this question here.
Regards,
Alexander