Question: What is the connection between Peterborough (the one whose area is 58.4 square kilometre) to Canada?
Choices:
copyright holder
captain
eye color
given name
located in time zone
country
member of
candidacy in election
creator
office held by head of government
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peterborough" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "58.4"^^xsd:double . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Peterborough
function: FilterNum
dependencies: 0
inputs: area
58.4 square kilometre
=
function: Find
inputs: Canada
function: QueryRelation
dependencies: 1
2