Question: What electronic dance music is the genre of Die Another Day that has Madonna as a performer?
Choices:
progressive house music
trip hop
dance-pop
pop music
minimal techno
psychedelic trance
Breakcore
hip house
electro house
electroclash
Answer: electroclash
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "electronic dance music" . ?e_1 <genre> ?e . ?e_1 <pred:name> "Die Another Day" . ?e_1 <performer> ?e_2 . ?e_2 <pred:name> "Madonna" .   }
Program:
function: Find
inputs: Madonna
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Die Another Day
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: electronic dance music
function: What
dependencies: 5