query-0bce2d513b34f7b2dfbdcaf574bbe70c

rq turtle/ttl

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

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)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?count") v3("?thesis"):::projected v4("?thesisType"):::projected v2("?thesisTypeLabel"):::projected c4(["wd:Q1048626"]):::iri f0[["?thesisTypeLabel = 'en'"]] f0 --> v2 subgraph s1["https://query.wikidata.org/subgraph/scholarly_articles"] style s1 stroke-width:4px; v3 --"wdt:P4101"--> c4 v3 --"wdt:P31"--> v4 end v4 --"rdfs:label"--> v2 bind2[/"count(?thesis)"/] v3 --o bind2 bind2 --as--o v5