Question: What is Adam Baldwin's role in Chuck that ended on 2012-01-27?
Choices:
Cleopatra
John Casey
Ronny Cammareri
Muhammad Ali
Twoflower
Judah Ben-Hur
John Locke
Romeo
Henry Hooker
Brutish Guard
Program:
function: Find
inputs: Chuck
function: FilterDate
dependencies: 0
inputs: end time
2012-01-27
=
function: Find
inputs: Adam Baldwin
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Chuck" . ?e_1 <end_time> ?pv . ?pv <pred:date> "2012-01-27"^^xsd:date . ?e_2 <pred:name> "Adam Baldwin" . ?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: John Casey