Question: What is the relationship between Justin Bieber and Michael Jackson (the one that is famous for funk)?
Choices: member of sports team
airline alliance
has quality
director of photography
make-up artist
notable work
place of origin (Switzerland)
producer
influenced by
edition or translation of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Justin Bieber" . ?e_2 <pred:name> "Michael Jackson" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "funk" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Justin Bieber
function: Find
inputs: funk
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Michael Jackson
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: influenced by