query-09d4e903527d5d1855cccf2f7deb4a50

rq turtle/ttl

Museum digital project submissions for DigAMus awards 2020Graphs are temporarily unavailable due to technical issues.

Use at

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 {
  ?project (p:P1344|p:P1411|p:P166) ?awardStatement.
  ?awardStatement (ps:P1344|ps:P1411|ps:P166) ?award.
  ?award wdt:P361 wd:Q106748908.
  OPTIONAL { ?project wdt:P1344 ?awardPart. }
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "de,en".
    ?project rdfs:label ?projectLabel.
    ?awardPart 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; v4("?award") v5("?awardPart") v3("?awardStatement") v7("?label"):::projected v2("?project"):::projected v6("?projectLabel") v8("?value") c8(["wd:Q106748908"]):::iri c11(["bd:serviceParam"]):::iri c13(["de,en"]):::literal 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; v2 --"p:P166"--> v3 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v2 --"p:P1411"--> v3 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v2 --"p:P1344"--> v3 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; v3 --"p:statement/P166"--> v4 end subgraph union3r[" "] style union3r fill:#abf,stroke-dasharray: 3 3; v3 --"p:statement/P1411"--> v4 end union3r <== or ==> union3l end end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; v3 --"p:statement/P1344"--> v4 end union2r <== or ==> union2l end v4 --"p:direct/P361"--> c8 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P1344".-> v5 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 v2 --"rdfs:label"--> v6 v5 --"rdfs:label"--> v7 end bind1[/"count(?project)"/] v2 --o bind1 bind1 --as--o v8