Question: What is the connection between Michael Jackson (the one whose genre is new jack swing) to Sammy Davis Jr.?
Choices:
basic form of government
official symbol
movement
influenced by
genre
symptoms
production designer
sidekick of
next higher rank
month of the year
Program:
function: Find
inputs: new jack swing
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 1
2
function: Find
inputs: Sammy Davis Jr.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Jackson" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "new jack swing" . ?e_2 <pred:name> "Sammy Davis Jr." . ?e_1 ?p ?e_2 .  }
Answer: influenced by