query-77849faa31bdeb6681abf6fc5ae73fa6
Collection overlap
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?othercollection ?othercollectionLabel ?othercollectionDescription (COUNT(?item) AS ?count) WHERE {
?item p:P195/ps:P195 wd:Q3044768 ;
wdt:P31 wd:Q3305213 ;
p:P195/ps:P195 ?othercollection .
FILTER(?othercollection!=wd:Q3044768)
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
} GROUP BY ?othercollection ?othercollectionLabel ?othercollectionDescription
ORDER BY DESC(?count)
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count")
v3("?item"):::projected
v2("?othercollection"):::projected
a1((" "))
a2((" "))
c1(["wd:Q3044768"]):::iri
c5(["wd:Q3305213"]):::iri
c7(["bd:serviceParam"]):::iri
c9(["fr"]):::literal
f0[["?othercollection != 'wd:Q3044768'"]]
f0 --> v2
v3 --"p:P195"--> a1
a1 --"p:statement/P195"--> c1
v3 --"p:direct/P31"--> c5
v3 --"p:P195"--> a2
a2 --"p:statement/P195"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind2[/"count(?item)"/]
v3 --o bind2
bind2 --as--o v4