Question: What is the association between Peter Buck (whose religion is atheism) and Athens (whose population is 115452)?
Choices:
legislative body
sex or gender
fabrication method
drug used for treatment
headquarters location
use
official symbol
position held
residence
capital
Answer: residence
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Buck" . ?e_1 <religion> ?e_3 . ?e_3 <pred:name> "atheism" . ?e_2 <pred:name> "Athens" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "115452"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: atheism
function: Relate
dependencies: 0
inputs: religion
backward
function: Find
inputs: Peter Buck
function: And
dependencies: 1
2
function: Find
inputs: Athens
function: FilterNum
dependencies: 4
inputs: population
115452
=
function: QueryRelation
dependencies: 3
5