Question: For the country of Lisbon (twin of Rabat), at what time does the existent nation have 5016000 inhabitants?
Choices:
1910
2016-11-22
1753-01-01
1950-09-13
2006-11-01
2008-09-01
1981-12-31
1833
1996-02-21
1571
Answer: 1910
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e_1 <country> ?e . ?e_1 <pred:name> "Lisbon" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Rabat" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "5016000"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Rabat
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Lisbon
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
forward
function: FilterConcept
dependencies: 4
inputs: historical country
function: QueryAttrQualifier
dependencies: 5
inputs: population
5016000
point in time