Question: What is the connection between Weeds (the one whose end time is 2012-09-16) to Mary-Kate Olsen?
Choices: office held by head of state
head of government
official language
professional or sports partner
participant of
ancestral home
chief executive officer
original language of film or TV show
cast member
architectural style
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Weeds" . ?e_1 <end_time> ?pv . ?pv <pred:date> "2012-09-16"^^xsd:date . ?e_2 <pred:name> "Mary-Kate Olsen" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Weeds
function: FilterDate
dependencies: 0
inputs: end time
2012-09-16
=
function: Find
inputs: Mary-Kate Olsen
function: QueryRelation
dependencies: 1
2
Answer: cast member