query-a40b3efb8bd9ee3b01970252ade83fa3
McGill Library Archival Collections (Q6801308)McGill University Library (Q6801297)McGill University Archives (Q63644951)Marvin Duchow Music Library (Q7106994)Osler Library of the History of Medicine (Q62535993)Rare Books and Special Collections
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?natureLabel ?nature
WHERE
{
{?item wdt:P485 wd:Q6801308} UNION {?item wdt:P485 wd:Q62535993} UNION {?item wdt:P485 wd:Q63644951} UNION {?item wdt:P485 wd:Q63644951} .
?item wdt:P31 ?nature.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?natureLabel ?archivedBYLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?archivedBYLabel")
v3("?item"):::projected
v4("?nature"):::projected
v1("?natureLabel"):::projected
c4(["wd:Q63644951"]):::iri
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q6801308"]):::iri
c3(["wd:Q62535993"]):::iri
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
subgraph union2[" Union "]
subgraph union2l[" "]
style union2l fill:#abf,stroke-dasharray: 3 3;
v3 --"wdt:P485"--> c4
end
subgraph union2r[" "]
style union2r fill:#abf,stroke-dasharray: 3 3;
v3 --"wdt:P485"--> c4
end
union2r <== or ==> union2l
end
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
v3 --"wdt:P485"--> c3
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v3 --"wdt:P485"--> c2
end
union0r <== or ==> union0l
end
v3 --"wdt:P31"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end