Question: What is the connection between Keith Richards (the one that is famous for country music) to English?
Choices:
officeholder
manner of death
writing system
licensed to broadcast to
capital of
registered with
contains settlement
lowest point
original film format
languages spoken, written or signed
Answer: languages spoken, written or signed
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Keith Richards" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "country music" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: country music
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Keith Richards
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4