Question: What is the relationship between Jeff Daniels (the one that is related to sport ice hockey) and Oshawa?
Choices:
connects with
ancestral home
screenwriter
languages spoken, written or signed
approved by
place of birth
programming language
military rank
derivative work
located on terrain feature
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jeff Daniels" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "ice hockey" . ?e_2 <pred:name> "Oshawa" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: ice hockey
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Jeff Daniels
function: And
dependencies: 1
2
function: Find
inputs: Oshawa
function: QueryRelation
dependencies: 3
4