Question: When did the historical country that has the captital Lisbon (the one that is the twinned administrative body of Tunis) have a population of 5400000?
Choices:
1369
1956-01-01
1881
2016-12-17
1800
1910
1962
1960-02-15
2012-05-01
1922
Answer: 1910
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Lisbon" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Tunis" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "5400000"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Tunis
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Lisbon
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital
backward
function: FilterConcept
dependencies: 4
inputs: historical country
function: QueryAttrQualifier
dependencies: 5
inputs: population
5400000
point in time