Question: What is the character role of Kirsten Dunst as a cast member in Spider-Man (whose genre is teen film)?
Choices:
Piper Halliwell
Poison Ivy
Wade Winston Wilson
Dwight McCarthy
Jack Bauer
Mitch Wilkinson
Francis Dolarhyde
Robert Clayton Dean
Brittany Pierce
Stabbington Brother
Program:
function: Find
inputs: teen film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Spider-Man
function: And
dependencies: 1
2
function: Find
inputs: Kirsten Dunst
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Spider-Man" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "teen film" . ?e_2 <pred:name> "Kirsten Dunst" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Wade Winston Wilson