Question: How is A Midsummer Night's Dream (the one that has Bernard Hill as a cast member) related to Calista Flockhart?
Choices:
original network
military conflicts
developer
doctoral student
owned by
occupation
costume designer
cast member
league
donated by
Program:
function: Find
inputs: Bernard Hill
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: A Midsummer Night's Dream
function: And
dependencies: 1
2
function: Find
inputs: Calista Flockhart
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Midsummer Night's Dream" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Bernard Hill" . ?e_2 <pred:name> "Calista Flockhart" . ?e_1 ?p ?e_2 .  }
Answer: cast member