Question: What is the ending date that Pozsony is the official name of the city that is the capital of the Kingdom of Hungary (whose establishment date is 1526-11-11)?
Choices:
1990-01-01
1815-11-20
1952
2012-05-21
1962-08-31
2013-02-01
2005-12-31
1953-12-31
1538
1971-04-02
Program:
function: Find
inputs: Kingdom of Hungary
function: FilterDate
dependencies: 0
inputs: inception
1526-11-11
=
function: Relate
dependencies: 1
inputs: capital
forward
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttrQualifier
dependencies: 3
inputs: official name
Pozsony
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Kingdom of Hungary" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:date> "1526-11-11"^^xsd:date . ?e <official_name> ?pv . ?pv <pred:value> "Pozsony" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }
Answer: 1538