Question: What role did Kristin Davis play in Sex and the City that ended on 2004-02-22?
Choices: F.B.I. Assistant Director Kendall
Charlotte York Goldenblatt
Helen of Troy
Mephisto
Puss in Boots
Blair Waldorf
Jamie Williams
Sebastian Shaw
ACME Chairman
Jorah Mormont
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Sex and the City" . ?e_1 <end_time> ?pv . ?pv <pred:date> "2004-02-22"^^xsd:date . ?e_2 <pred:name> "Kristin Davis" . ?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: Sex and the City
function: FilterDate
dependencies: 0
inputs: end time
2004-02-22
=
function: Find
inputs: Kristin Davis
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Charlotte York Goldenblatt