Question: What is the relationship between Shakira (the one that is famous for contemporary R&B) to Prince (the one that died from drug overdose)?
Choices:
practiced by
educated at
software engine
child
professional or sports partner
position held
has contributing factor
place of publication
sibling
influenced by
Program:
function: Find
inputs: contemporary R&B
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Shakira
function: And
dependencies: 1
2
function: Find
inputs: drug overdose
function: Relate
dependencies: 4
inputs: cause of death
backward
function: Find
inputs: Prince
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shakira" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "contemporary R&B" . ?e_2 <pred:name> "Prince" . ?e_2 <cause_of_death> ?e_4 . ?e_4 <pred:name> "drug overdose" . ?e_1 ?p ?e_2 .  }
Answer: influenced by