Question: What is the connection between John Keats (the one that has the occupation of writer) to English?
Choices:
child astronomical body
color
has effect
languages spoken, written or signed
depicts
start point
Wikidata property
presenter
sidekick of
general manager
Answer: languages spoken, written or signed
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Keats" . ?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: John Keats
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4