Question: Who is the performer in Spider-Man that appears in Marvel vs. Capcom 2: New Age of Heroes) and is present in the work Spider-Man (whose genre is superhero film)?
Choices:
David Boreanaz
Nick Nolte
Mike Myers
Madonna
Andrew Garfield
Tobey Maguire
Duran Duran
Tina Turner
Adele
Prince
Program:
function: Find
inputs: Marvel vs. Capcom 2: New Age of Heroes
function: Relate
dependencies: 0
inputs: characters
forward
function: Find
inputs: Spider-Man
function: And
dependencies: 1
2
function: Find
inputs: superhero film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Spider-Man
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: present in work
performer
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Spider-Man" . ?e_3 <characters> ?e_1 . ?e_3 <pred:name> "Marvel vs. Capcom 2: New Age of Heroes" . ?e_2 <pred:name> "Spider-Man" . ?e_2 <genre> ?e_4 . ?e_4 <pred:name> "superhero film" . ?e_1 <present_in_work> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <present_in_work> ; <pred:fact_t> ?e_2 ] <performer> ?qpv .  }
Answer: Tobey Maguire