Question: What is the character role of Stephen McHattie in Watchmen (the one whose publication date is 2009-03-05)?
Choices: Heimdall
Nelson Muntz
Ron Kovic
Christopher Marlowe
Aragorn
Nite Owl I
Dick Grayson
George Costanza
Mike Delfino
Itzhak Stern
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Watchmen" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2009-03-05"^^xsd:date . ?e_2 <pred:name> "Stephen McHattie" . ?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: Watchmen
function: FilterDate
dependencies: 0
inputs: publication date
2009-03-05
=
function: Find
inputs: Stephen McHattie
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Nite Owl I