Questions tagged [federated-queries]

Federated query is the SPARQL 1.1 ability to take a query and provide solutions based on information from many different sources. The SERVICE keyword instructs a query processor to invoke a portion of a SPARQL query against a remote SPARQL endpoint.

Specification

Federated queries on public endpoints

  • DBpedia does not allow federated queries [1];
  • Wikidata allows federated queries to a selected number of external endpoints [2].
70 questions
1
vote
0 answers

With multiple SERVICE clauses and large numbers of relationships in the path, how to execute SPARQL federated query statement?

Regarding the following SPARQL federated query statements: There are over 10000 ?s2 related to ?s1 There are over 10000 ?s3 related to the previously found ?s2 There are over 10000 ?s4 related to the previously found ?s3 There are over 100 ?s5…
chenkun
  • 45
  • 6
1
vote
0 answers

Connection not found on BigQuery federated query

I just started on Bigquery projects, I was trying to connect Postgres SQL instance using Bigquery federated query. When I ran the query in Bigquery console (UI) it was running fine and the results came out: SELECT * FROM…
1
vote
1 answer

AWS Athena Federated query gives permission error while running in AWS Batch

I have set up MySQL datasource in Athena (it required creating Lambda for RDB access) and can run federated queries successfully in Athena console - I can do joins between RDB tables and Athena/Glue tables (when RDB table is referred, it is supposed…
1
vote
1 answer

SPARQL Federated Query takes too long to respond

I have a SPARQL federated query where I join data from wikidata and dbpedia. When I run the first two queries it takes reasonable time. However, when I add the 3rd service it takes too much time. In the 3rd query I fetch the entities obtained from…
cuneyttyler
  • 1,255
  • 2
  • 17
  • 27
1
vote
1 answer

Is it feasible to perform a cross database federated query in redshift?

while cross database queries (in ra3 node based clusters) and federated queries individually seem to work, together it seems that they won't work. I am most probably missing something, hence the question. Below are the details: RDS Aurora MySQL has…
1
vote
1 answer

RDF4J SAIL API implementation

I am trying to build a federated RDF application based on rdf4j and FedX. What I need is to be able to: Optimize the querying plan and joining strategies. To expose different and heterogeneous databases (A timeseries or a relational DB for example)…
M.Taki_Eddine
  • 160
  • 2
  • 11
1
vote
0 answers

Federated SPARQL Query with optional fields returns empty result

I'm trying to build a federated query that can have multiple optional fields. If any optional field has no corresponding statements, the result should have empty value on that field. Just the normal optional behaviour :) But if you run the code…
1
vote
0 answers

federated SPARQL - return information from two data sets

I would like to return all the information from both data sets, without merging them, just plain return everything that matches in either of them, without being concerned if this data exists in another data base. So far the closest I am is…
Bartek Wójcik
  • 473
  • 3
  • 15
1
vote
1 answer

SPARQL SERVICE with protected endpoint

I need to use a protected endpoint to formulate a federated query in SPARQL like: select ?s ?p ?o { SERVICE { select ?s ?p ?o { ?s ?p ?o } limit 10 } } Unfortunately in the SERVICE spec there is no…
Fabio Ricci
  • 89
  • 1
  • 9
1
vote
1 answer

Proper usage of VALUES in federated queries

Note: possible GrapbDB bug (see comments) I have this knowledge base in GraphDB: PREFIX : PREFIX wd: PREFIX owl: :foo a :cat ; :name…
floatingpurr
  • 7,749
  • 9
  • 46
  • 106
1
vote
1 answer

How to bind a string with a variable in SPARQL

The following query PREFIX dc: PREFIX edm: PREFIX ore: SELECT * { SERVICE { ?CHO…
Fabio Ricci
  • 89
  • 1
  • 9
1
vote
1 answer

Blazegraph bigdata.war 2.1.5 allowing SPARQL SERVICE from "outside"

I am running bigdata 2.1.5 on a tomcat on a OSX system. This is giving a /bigdata/ URI which shows up a running html console of Blazegraph. This bigdata instance "DBPedia" is using a journal with DBPedia triples inside. DBPedia is showing up to the…
Fabio Ricci
  • 89
  • 1
  • 9
1
vote
1 answer

comparing labels in a federated query

I have an instance of Wikibase running. I'm able to run federated queries with Wikidata successfully. I have certain queries that compare labels like this: PREFIX xwdt: PREFIX xwd:…
Elfalem
  • 347
  • 3
  • 17
1
vote
1 answer

SPARQL DELETE/INSERT with SERVICE statement

I'm creating a local cache for some data from Wikidata, to make sure I have fast autocompletion for tags. I would like to update the data once a week but only if the SERVICE clause works. Basically I do: INSERT { GRAPH…
Adrian Gschwend
  • 664
  • 8
  • 16
1
vote
0 answers

Federated search on D2RQ

I'm using D2RQ to map relational database to an RDF format. Everything works fine except when I want to do a federated search from another endpoint I'm seeing this in a log file: Query execution error: com.hp.hpl.jena.sparql.ARQNotImplemented:…
marko3d
  • 111
  • 2