Question: What is the connection between The Witches of Eastwick (the one that has Jack Nicholson as a cast member) to The Witches of Eastwick (the one whose ISBN-10 is 0-394-53760-2)?
Choices: capital of
official religion
languages spoken, written or signed
has contributing factor
political alignment
worshipped by
place of birth
based on
donated by
home port
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Witches of Eastwick" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jack Nicholson" . ?e_2 <pred:name> "The Witches of Eastwick" . ?e_2 <ISBN-10> ?pv . ?pv <pred:value> "0-394-53760-2" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jack Nicholson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Witches of Eastwick
function: And
dependencies: 1
2
function: Find
inputs: The Witches of Eastwick
function: FilterStr
dependencies: 4
inputs: ISBN-10
0-394-53760-2
function: QueryRelation
dependencies: 3
5
Answer: based on