Question: When did Bratislava become the capital of the Kingdom of Hungary, founded on 1526-11-11?
Choices:
1984
1961-05-02
1996-05-14
1817-10-09
610
2000-11-18
1986-04-25
1536
2004-10-09
1922-03-22
Program:
function: Find
inputs: Kingdom of Hungary
function: FilterDate
dependencies: 0
inputs: inception
1526-11-11
=
function: Find
inputs: Bratislava
function: QueryRelationQualifier
dependencies: 1
2
inputs: capital
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kingdom of Hungary" . ?e_1 <inception> ?pv . ?pv <pred:date> "1526-11-11"^^xsd:date . ?e_2 <pred:name> "Bratislava" . ?e_1 <capital> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Answer: 1536