Question: When did Philadelphia become capital of the USA?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q1345 p:P1376 ?s . ?s ps:P1376 wd:Q30 . ?s pq:P580 ?value}