Question: What band is a performer of Iron Man 2 that has AC/DC as a performer?
Choices:
The Pretenders
Jonas Brothers
The Kinks
Cradle of Filth
Marillion
Queens of the Stone Age
Yes
Dixie Chicks
AC/DC
Renaissance
Program:
function: Find
inputs: AC/DC
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Iron Man 2
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: performer
forward
function: FilterConcept
dependencies: 4
inputs: band
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" . ?e_1 <performer> ?e . ?e_1 <pred:name> "Iron Man 2" . ?e_1 <performer> ?e_2 . ?e_2 <pred:name> "AC/DC" .   }
Answer: AC/DC