Question: What is the connection between Ted Kennedy (the one that has the occupation of priest) to English?
Choices:
copyright holder
languages spoken, written or signed
location of discovery
genre
terminus
occupant
librettist
has edition
make-up artist
medical condition
Answer: languages spoken, written or signed
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ted Kennedy" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "priest" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: priest
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Ted Kennedy
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4