query-0bce2d513b34f7b2dfbdcaf574bbe70c
the host service receiving data from the federated service the host service sending data to the federated service (least efficient) we explain that federation can happen in two different ways: Wikidata:SPARQL_query_service/WDQS_graph_split/Federation_Limits The reason is a limitation of federation and blazegraph. In DrThneed@ subgraph endpoint, but because there are many publications it is making multiple requests (by sending them in chunks) but the types it is asking are likely the same and thus it's retrieving multiple times the same label, blazegraph being unable to determine that these are the same types they remain as duplicates.wikidata_main the publications to the sendingIn your query federation works by I think that a better way to do what you want is using query-main and pulling the publications from the scholarly subgraph:
Use at
- https://query.wikidata.org/sparql
PREFIX wdsubgraph: <https://query.wikidata.org/subgraph/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?thesisType ?thesisTypeLabel (COUNT(?thesis) AS ?count)
WHERE {
SERVICE wdsubgraph:scholarly_articles {
?thesis wdt:P4101 wd:Q1048626;
wdt:P31 ?thesisType
}
?thesisType rdfs:label ?thesisTypeLabel .
FILTER (LANG(?thesisTypeLabel) = 'en')
}
GROUP BY ?thesisType ?thesisTypeLabel ORDER BY DESC (?count)