Question: What is the connection between Precious (the one whose publication date is 1997-05-02) to Sam Waterston?
Choices:
distributor
approved by
cast member
relative
producer
official religion
presenter
practiced by
architect
depicted by
Program:
function: Find
inputs: Precious
function: FilterDate
dependencies: 0
inputs: publication date
1997-05-02
=
function: Find
inputs: Sam Waterston
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Precious" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1997-05-02"^^xsd:date . ?e_2 <pred:name> "Sam Waterston" . ?e_1 ?p ?e_2 .  }
Answer: cast member