query-2aa07f901d562066cbd0e318c2e476e2

rq turtle/ttl

Visitors at Fort McHenry Q73122275 by decade

SELECT ?value ?time WHERE { wd:Q73122275 p:P1174 ?statement . # P1174 = visitors per year ?statement ps:P1174 ?value . # P1174 = visitors per year ?statement pq:P585 ?time # P585 = point in time } ORDER BY DESC(?time)

Use at

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/>
# Visitors at Fort McHenry Q73122275 by decade

SELECT ?value ?time WHERE {
  wd:Q73122275 p:P1174 ?statement . # P1174 = visitors per year
  ?statement ps:P1174 ?value . # P1174 = visitors per year
  ?statement pq:P585 ?time # P585 = point in time
}
ORDER BY DESC(?time)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?statement") v1("?time"):::projected v3("?value"):::projected c1(["wd:Q73122275"]):::iri c1 --"p:P1174"--> v2 v2 --"p:statement/P1174"--> v3 v2 --"p:qualifier/P585"--> v1