Question: Tell me the person that is a partner of Ashanti (who is in the R&B genre).
Choices:
Jeremy Renner
William Henry Harrison
Fred Ebb
Sylvester Stallone
Miley Cyrus
Nelly
Ashanti
Joe Jonas
Martin Heidegger
Richard Gere
Program:
function: Find
inputs: contemporary R&B
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Ashanti
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: partner
backward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <partner> ?e_1 . ?e_1 <pred:name> "Ashanti" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "contemporary R&B" .   }
Answer: Nelly