Question: What is the area of the administrative territorial entity that is the birthplace of Robert Smith (whose work location is Ottawa)?
Choices: 498 square kilometre
488.1 square kilometre
45.86195177 square kilometre
19210 square kilometre
1783 square kilometre
3006 square kilometre
1254 square kilometre
2911 square kilometre
739 square kilometre
4099 square kilometre
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Robert Smith" . ?e_1 <work_location> ?e_2 . ?e_2 <pred:name> "Ottawa" .  ?e <area> ?pv .  }
Program:
function: Find
inputs: Ottawa
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Robert Smith
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: QueryAttr
dependencies: 5
inputs: area
Answer: 1254 square kilometre