Question: What is the character role of Kristin Davis as a cast member in Sex and the City that has 94 episodes?
Choices:
Martin Luther King Jr.
Derek Smalls
Madam Medusa
Ethan Kanin
John Hammond
The Peddler
A.J. Frost
Adrian Monk
Whitey Duvall
Charlotte York Goldenblatt
Answer: Charlotte York Goldenblatt
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Sex and the City" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "94"^^xsd:double . ?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: FilterNum
dependencies: 0
inputs: number of episodes
94
=
function: Find
inputs: Kristin Davis
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role