Question: Is 818717 the WOEID of the city that is the capital of the Kingdom of Hungary whose establishment date is 1000-01-01 (this statement's ending date is in 1848)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Kingdom of Hungary
function: FilterDate
dependencies: 0
inputs: inception
1000-01-01
=
function: Relate
dependencies: 1
inputs: capital
forward
function: QFilterYear
dependencies: 2
inputs: end time
1848
=
function: FilterConcept
dependencies: 3
inputs: city
function: QueryAttr
dependencies: 4
inputs: WOEID
function: VerifyStr
dependencies: 5
inputs: 818717
SPARQL: ASK { ?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> "1000-01-01"^^xsd:date . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1848 . ?e <WOEID> ?pv . ?pv <pred:value> "818717" .  }
Answer: yes