Hi Sandor,

You need to do a federated query. See the SPARQL 1.1 Query spec. Something like this:


SELECT *
WHERE {
  SERVICE <http://other-endpoint/sparql> {
    GRAPH <http://uri-of-graph> {
      ?s ?p ?o
    }
  }
}

-Osma

16.02.2017, 14:08, Sandor Kopacsi kirjoitti:
Dear list-member,

I have two Fuseki servers running on two different machines. In one of
them there are several named graphs containing a lot of concepts.

I would like to run a query from another Fuseki server to select all (or
later just some) triplets from this dataset using a query like this:

SELECT *
FROM </URL of the SPARQL endpoint/:3030/ds/query>
WHERE {GRAPH </URI of the graph/>
{?s ?p ?o . }
}

but it provides empty set:

-------------
| s | p | o |
=============
-------------

What is wrong?

Thanks in advance,
Sandor



--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.suomi...@helsinki.fi
http://www.nationallibrary.fi

Reply via email to