query-ecee0fa3fa78973de4a54cb7d2710f87
Count sizes of huge subsets intersections with WikibaseCirrusSearch it works extremely fast. WikibaseCirrusSearch and MWAPIBlazegraph often fails when counting sizes of intersections of huge subsets, for example, it is impossible to count number of humans without gender property set with only SPARQL-based optimizations. However with Taille des compteurs pour les intersections de gros sous-ensembles avec WikibaseCirrusSearch it works extremely fast. WikibaseCirrusSearch and MWAPIBlazegraph often fails when counting sizes of intersections of huge subsets, for example, it is impossible to count number of humans without gender property set with only SPARQL-based optimizations. However with Count sizes of huge subsets intersections with WikibaseCirrusSearch it works extremely fast. WikibaseCirrusSearch and MWAPIBlazegraph often fails when counting sizes of intersections of huge subsets, for example, it is impossible to count number of humans without gender property set with only SPARQL-based optimizations. However with Tellen grootte van grote subsets van intersecties met WikibaseCirrusSearch, werkt het extreem snel. WikibaseCirrusSearch en MWAPIBlazegraph slaagt vaak niet bij het tellen van de grootte van intersecties van enorme subsets, bijvoorbeeld is het onmogelijk om het aantal mensen te tellen zonder geslachtseigenschappen met alleen SPARQL-gebaseerde optimalisaties. Echter met gebruik van TODO Count sizes of huge subsets intersections with WikibaseCirrusSearch it works extremely fast. WikibaseCirrusSearch and MWAPIBlazegraph often fails when counting sizes of intersections of huge subsets, for example, it is impossible to count number of humans without gender property set with only SPARQL-based optimizations. However with Count sizes of huge subsets intersections with WikibaseCirrusSearch it works extremely fast. WikibaseCirrusSearch and MWAPIBlazegraph often fails when counting sizes of intersections of huge subsets, for example, it is impossible to count number of humans without gender property set with only SPARQL-based optimizations. However with 用WikibaseCirrusSearch计算大型子集交集点的大小 it works extremely fast. WikibaseCirrusSearch and MWAPIBlazegraph often fails when counting sizes of intersections of huge subsets, for example, it is impossible to count number of humans without gender property set with only SPARQL-based optimizations. However with
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?label ?count WHERE {
{
BIND("People without gender" AS ?label)
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:endpoint "www.wikidata.org";
wikibase:api "Search"; wikibase:limit "once" ;
mwapi:srsearch "haswbstatement:P31=Q5 -haswbstatement:P21" ;
mwapi:srlimit "1" ; mwapi:srprop "" ; mwapi:srsort "none" ; mwapi:srnamespace "0" .
?count wikibase:apiOutput '//searchinfo[1]/@totalhits'.
}
} UNION {
BIND("Male" AS ?label)
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:endpoint "www.wikidata.org";
wikibase:api "Search"; wikibase:limit "once" ;
mwapi:srsearch "haswbstatement:P31=Q5 haswbstatement:P21=Q6581097" ;
mwapi:srlimit "1" ; mwapi:srprop "" ; mwapi:srsort "none" ; mwapi:srnamespace "0" .
?count wikibase:apiOutput '//searchinfo[1]/@totalhits'.
}
} UNION {
BIND("Female" AS ?label)
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:endpoint "www.wikidata.org";
wikibase:api "Search"; wikibase:limit "once" ;
mwapi:srsearch "haswbstatement:P31=Q5 haswbstatement:P21=Q6581072" ;
mwapi:srlimit "1" ; mwapi:srprop "" ; mwapi:srsort "none" ; mwapi:srnamespace "0" .
?count wikibase:apiOutput '//searchinfo[1]/@totalhits'.
}
} UNION {
BIND("Other" AS ?label)
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:endpoint "www.wikidata.org";
wikibase:api "Search"; wikibase:limit "once" ;
mwapi:srsearch "haswbstatement:P31=Q5 haswbstatement:P21 -haswbstatement:P21=Q6581097 -haswbstatement:P21=Q6581072" ;
mwapi:srlimit "1" ; mwapi:srprop "" ; mwapi:srsort "none" ; mwapi:srnamespace "0" .
?count wikibase:apiOutput '//searchinfo[1]/@totalhits'.
}
}
}
Query found at
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/en
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/fr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/hy
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/nl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/pt
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/ru
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/uk
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/zh