Question: What does Dressed to Kill (which has William Demarest as a cast member) have to do with Richard Day?
Choices:
production designer
next higher rank
update method
place of burial
located in or next to body of water
award received
field of work
military casualty classification
has dialect (DEPRECATED)
author
Answer: production designer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dressed to Kill" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "William Demarest" . ?e_2 <pred:name> "Richard Day" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: William Demarest
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Dressed to Kill
function: And
dependencies: 1
2
function: Find
inputs: Richard Day
function: QueryRelation
dependencies: 3
4