Question: What is the connection between Albany (the one whose country is United Kingdom) and Peterhouse?
Choices:
place of death
donated by
follows
terminus
has quality
main subject
vehicle normally used
owned by
shares border with
source of income
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Albany
function: And
dependencies: 1
2
function: Find
inputs: Peterhouse
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Albany" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "Peterhouse" . ?e_1 ?p ?e_2 .  }
Answer: owned by