Question: Bryce Dallas Howard is cast as which character on Spider-Man 3, released on 2007-05-04?
Choices:
Gwen Stacy
Benjamin Gates
Vincent Dwyer
Tyrone C. Love
Gus
Angel Batista
Owen Lars
John Doggett
Commodus
cameo appearance
Answer: Gwen Stacy
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Spider-Man 3" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2007-05-04"^^xsd:date . ?e_2 <pred:name> "Bryce Dallas Howard" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Spider-Man 3
function: FilterDate
dependencies: 0
inputs: publication date
2007-05-04
=
function: Find
inputs: Bryce Dallas Howard
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role