Question: Since when was Budapest the capital of Kingdom of Hungary (the one that is the country of Bratislava) ?
Choices:
2017-10-06
-366
1945-11-27
1999-01-10
1870-10-15
1931-12-11
1802-11-01
1873
1956
2013-01-01
Program:
function: Find
inputs: Bratislava
function: Relate
dependencies: 0
inputs: country
forward
function: Find
inputs: Kingdom of Hungary
function: And
dependencies: 1
2
function: Find
inputs: Budapest
function: QueryRelationQualifier
dependencies: 3
4
inputs: capital
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kingdom of Hungary" . ?e_3 <country> ?e_1 . ?e_3 <pred:name> "Bratislava" . ?e_2 <pred:name> "Budapest" . ?e_1 <capital> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Answer: 1873