Question: What is the relationship between Oz (the one that was born in Heidelberg) and graphic designer?
Choices:
stated in
indigenous to
occupation
product or material produced
separated from
eye color
contributing factor of
business division
next higher rank
set in period
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Oz" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Heidelberg" . ?e_2 <pred:name> "graphic designer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Heidelberg
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Oz
function: And
dependencies: 1
2
function: Find
inputs: graphic designer
function: QueryRelation
dependencies: 3
4