Question: What has Psycho (the one that has Flea as a cast member) in common with Julianne Moore?
Choices:
office held by head of state
interests
theme music
original language of film or TV show
drafted by
operating system
cast member
interested in
located in the administrative territorial entity
depicts
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Psycho" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Flea" . ?e_2 <pred:name> "Julianne Moore" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Flea
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Psycho
function: And
dependencies: 1
2
function: Find
inputs: Julianne Moore
function: QueryRelation
dependencies: 3
4