Question: What is the relation between Charlotte (the one whose publication date is 1981-01-01) and Derek Jacobi?
Choices:
office held by head of government
original language of film or TV show
draft pick from school
main subject
stated in
student of
cast member
designed to carry
geographic distribution
Wikidata property
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Charlotte" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1981-01-01"^^xsd:date . ?e_2 <pred:name> "Derek Jacobi" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Charlotte
function: FilterDate
dependencies: 0
inputs: publication date
1981-01-01
=
function: Find
inputs: Derek Jacobi
function: QueryRelation
dependencies: 1
2