Question: Terence Stamp was cast as what character on Elektra, published on 2005-03-10?
Choices:
Stick
Stanley Goodspeed
Sephiroth
Jamie Madrox
Dr. Facilier
Jack O'Neill
Norman Bates
Manny
Bugs Bunny
Anna Valerious
Answer: Stick
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Elektra" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2005-03-10"^^xsd:date . ?e_2 <pred:name> "Terence Stamp" . ?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: Elektra
function: FilterDate
dependencies: 0
inputs: publication date
2005-03-10
=
function: Find
inputs: Terence Stamp
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role