Question: How is Michael Collins (the one that has the occupation of writer) related to English ?
Choices:
editor
head of government
narrator
languages spoken, written or signed
child astronomical body
quotes work
indigenous to
relative
diaspora
operator
Answer: languages spoken, written or signed
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Collins" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "writer" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: writer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Michael Collins
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4