Question: How is Sex and the City, directed by Michael Patrick King, connected to Kristin Davis?
Choices: award disciplines or subjects
domain of saint or deity
draft pick from school
cast member
depicts
located in or next to body of water
indigenous to
country
superhuman feature or ability
published in
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sex and the City" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Michael Patrick King" . ?e_2 <pred:name> "Kristin Davis" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Michael Patrick King
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Sex and the City
function: And
dependencies: 1
2
function: Find
inputs: Kristin Davis
function: QueryRelation
dependencies: 3
4
Answer: cast member