Hello Alexander,

> Let's imagine we have a list of entities uris' as input and we need to
retrieve all triples for each entity.
> Is there any way to execute it using one query?

We have an IN operator extension:

select ?p ?o
where
{
  ?s ?p ?o .
  filter (?s in (<someGraph#entity1>, <someGraph#entity2>, ...
    <someGraph#entityN> ) )
}

Best Regards,

Ivan Mikhailov
OpenLink Software
http://virtuoso.openlinksw.com



Reply via email to