PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  acl:  <http://www.w3.org/ns/auth/acl#>
PREFIX  sioc: <http://rdfs.org/sioc/ns#>

SELECT  *
FROM <urn:x-arq:UnionGraph>
WHERE
  { VALUES ( ?this ?Container ) {
      ( <https://localhost:4443/whateverest/> <https://localhost:4443/> )
    }
    SERVICE <http://fuseki-end-user:3030/ds/>
      { GRAPH ?Container
          { ?Container  a  ?Type }
      }
  }

For Fuseki-specific solution:
LATERAL may work

WHERE
  { VALUES ( ?this ?Container ) {
      ( <https://localhost:4443/whateverest/> <https://localhost:4443/> ) }
    LATERAL {
      SERVICE <http://fuseki-end-user:3030/ds/>
        { GRAPH ?Container
            { ?Container  a  ?Type }
        }
     }
  }

It's Fuseki-specific (ATM) becuae it needs to rewrite the SERVICE block. Normally, that's an alegbra rewrite but for SERVICE it needs to recreate query syntax and it's using LET currently.

    Andy

LET is an ARQ extension like BIND except if the variable is already bound to the same value it passes the soltion, and if it is a different value does not match. So it is a combination of BIND and FILTER sameTerm and is position insensitive unlike BIND.

Reply via email to