Question: How is actor David Kaye related to Peterborough which has an elevation above sea level of 195 metres?
Choices:
academic degree
sponsor
religion
place of birth
heritage designation
film release region
place of burial
religious order
highest judicial authority
chairperson
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Kaye" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "actor" . ?e_2 <pred:name> "Peterborough" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "195"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: actor
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: David Kaye
function: And
dependencies: 1
2
function: Find
inputs: Peterborough
function: FilterNum
dependencies: 4
inputs: elevation above sea level
195 metre
=
function: QueryRelation
dependencies: 3
5