Question: What is the connection between Robert Forster (the one that is educated at University of Queensland) to songwriter?
Choices:
next lower rank
country
occupation
soundtrack album
studies
director/manager
part of
instrumentation
publisher
commander of
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Forster" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "University of Queensland" . ?e_2 <pred:name> "songwriter" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: University of Queensland
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Robert Forster
function: And
dependencies: 1
2
function: Find
inputs: songwriter
function: QueryRelation
dependencies: 3
4