Question: What is the character role of Matt Frewer in Watchmen (the one whose publication date is 2009-03-05)?
Choices:
Oz
Raymond Langston
Rick Deckard
Hotep
Cheshire Cat
Jack Donaghy
Ivan Vanko
Egon Spengler
Moloch
Mister Fantastic
Program:
function: Find
inputs: Watchmen
function: FilterDate
dependencies: 0
inputs: publication date
2009-03-05
=
function: Find
inputs: Matt Frewer
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
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> "Matt Frewer" . ?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: Moloch