Question: What is the connection between The Hitchhiker's Guide to the Galaxy (the one that has Jason Schwartzman as a cast member) to Zooey Deschanel?
Choices:
drug used for treatment
is a list of
director of photography
works in collection
candidacy in election
professorship
production company
cast member
doctoral student
partially contains
Program:
function: Find
inputs: Jason Schwartzman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Hitchhiker's Guide to the Galaxy
function: And
dependencies: 1
2
function: Find
inputs: Zooey Deschanel
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Hitchhiker's Guide to the Galaxy" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jason Schwartzman" . ?e_2 <pred:name> "Zooey Deschanel" . ?e_1 ?p ?e_2 .  }
Answer: cast member