Question: The John Wells born on 1956-05-28 is cast in what role on For Your Eyes Only, composed by Bill Conti?
Choices:
General Orlov
Emile Mondavarious
Les Amours de la reine Élisabeth
The Hatter
Elizabeth I of England
Conrad Strughold
Chloe O'Brian
Arthur Poe
Denis Thatcher
Leland Stottlemeyer
Answer: Denis Thatcher
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "For Your Eyes Only" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Bill Conti" . ?e_2 <pred:name> "John Wells" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> "1956-05-28"^^xsd:date . ?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: Bill Conti
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: For Your Eyes Only
function: And
dependencies: 1
2
function: Find
inputs: John Wells
function: FilterDate
dependencies: 4
inputs: date of birth
1956-05-28
=
function: QueryRelationQualifier
dependencies: 3
5
inputs: cast member
character role