Question: Which city with under 75000000 population count in 2016 is Frank Oz' place of birth?
Choices:
Turin
Erfurt
Kilkenny
Hamilton
Cork
Amsterdam
Lahore
Hereford
Trieste
Burnaby
Answer: Hereford
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "75000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2016 . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Frank Oz" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
75000000
<
function: QFilterYear
dependencies: 1
inputs: point in time
2016
=
function: FilterConcept
dependencies: 2
inputs: city
function: Find
inputs: Frank Oz
function: Relate
dependencies: 4
inputs: place of birth
forward
function: FilterConcept
dependencies: 5
inputs: city
function: And
dependencies: 3
6
function: What
dependencies: 7