query-8740065c1af4678a3b6b66005fc80645
Museum digital project instance types for DigAMus awards 2020Graphs are temporarily unavailable due to technical issues.
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?label (COUNT(DISTINCT ?project) AS ?value) WHERE {
FILTER(?instanceOf != wd:Q106778540).
?project (p:P1344|p:P1411|p:P166) ?awardStatement.
?awardStatement (ps:P1344|ps:P1411|ps:P166) ?award.
?award wdt:P361 wd:Q106748908.
?project wdt:P31 ?instanceOf.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "de,en".
?project rdfs:label ?projectLabel.
?instanceOf rdfs:label ?label.
}
}
GROUP BY ?label
ORDER BY DESC (?value)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?award")
v4("?awardStatement")
v2("?instanceOf")
v7("?label"):::projected
v3("?project"):::projected
v6("?projectLabel")
v8("?value")
c9(["wd:Q106748908"]):::iri
c12(["bd:serviceParam"]):::iri
c14(["de,en"]):::literal
f0[["?instanceOf != 'wd:Q106778540'"]]
f0 --> v2
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;
v3 --"p:P166"--> v4
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
v3 --"p:P1411"--> v4
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v3 --"p:P1344"--> v4
end
union0r <== or ==> union0l
end
subgraph union2[" Union "]
subgraph union2l[" "]
style union2l fill:#abf,stroke-dasharray: 3 3;
subgraph union3[" Union "]
subgraph union3l[" "]
style union3l fill:#abf,stroke-dasharray: 3 3;
v4 --"p:statement/P166"--> v5
end
subgraph union3r[" "]
style union3r fill:#abf,stroke-dasharray: 3 3;
v4 --"p:statement/P1411"--> v5
end
union3r <== or ==> union3l
end
end
subgraph union2r[" "]
style union2r fill:#abf,stroke-dasharray: 3 3;
v4 --"p:statement/P1344"--> v5
end
union2r <== or ==> union2l
end
v5 --"p:direct/P361"--> c9
v3 --"p:direct/P31"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
v3 --"rdfs:label"--> v6
v2 --"rdfs:label"--> v7
end
bind2[/"count(?project)"/]
v3 --o bind2
bind2 --as--o v8