Question: What does Mark Robson (a citizen of Canada) have to do with University of California, Los Angeles?
Choices:
afflicts
editor
permanent resident of
educated at
used by
place of death
depicted by
archives at
worshipped by
main food source
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Mark Robson
function: And
dependencies: 1
2
function: Find
inputs: University of California, Los Angeles
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mark Robson" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "University of California, Los Angeles" . ?e_1 ?p ?e_2 .  }
Answer: educated at