query-b5156be3de5c385284069d1e94305ba1

rq turtle/ttl

Smittede av Covid-19 over tid i Norge

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# Smittede av Covid-19 over tid i Norge
#defaultView:LineChart
SELECT ?date ?caseNo
WHERE {
  VALUES ?truthy { wikibase:NormalRank wikibase:PreferredRank }
  wd:Q86886544 p:P1603 ?cases .
  ?cases ps:P1603 ?caseNo;
    pq:P585 ?date;
    wikibase:rank ?truthy.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "nb,en". } 
}
ORDER BY DESC (?date)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?caseNo"):::projected v3("?cases") v1("?date"):::projected v2("?truthy") c7(["bd:serviceParam"]):::iri c1(["wd:Q86886544"]):::iri c9(["nb,en"]):::literal bind0[/VALUES ?truthy/] bind0-->v2 bind00(["wikibase:NormalRank"]) bind00 --> bind0 bind01(["wikibase:PreferredRank"]) bind01 --> bind0 c1 --"p:P1603"--> v3 v3 --"p:statement/P1603"--> v4 v3 --"p:qualifier/P585"--> v1 v3 --"wikibase:rank"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end