Question: Sam Neill is cast in what role on Merlin, released on 1998-01-01?
Choices:
Skids
Daryl
Merlin
John McKittrick
Mrs. Davis
Kenneth Parcell
Watcher Informant
Robert California
Razoul
Lois Lane
Answer: Merlin
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Merlin" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1998-01-01"^^xsd:date . ?e_2 <pred:name> "Sam Neill" . ?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: Merlin
function: FilterDate
dependencies: 0
inputs: publication date
1998-01-01
=
function: Find
inputs: Sam Neill
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role