Question: What is the relationship between George Martin (the one that use English as the native language) to record producer?
Choices:
publisher
military casualty classification
office held by head of the organisation
heritage designation
occupation
narrative role
board member
nominated for
given name
narrative location
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "George Martin" . ?e_1 <native_language> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "record producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: native language
backward
function: Find
inputs: George Martin
function: And
dependencies: 1
2
function: Find
inputs: record producer
function: QueryRelation
dependencies: 3
4