Question: What does John Stephenson (who has English as the native language) have to do with head teacher?
Choices:
notable work
parent astronomical body
dissertation submitted to
color
taxon rank
location of formation
exclave of
position played on team / speciality
programming language
position held
Answer: position held
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Stephenson" . ?e_1 <native_language> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "head teacher" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: native language
backward
function: Find
inputs: John Stephenson
function: And
dependencies: 1
2
function: Find
inputs: head teacher
function: QueryRelation
dependencies: 3
4