Question: How is Changeling (the one that has Amy Ryan as a cast member) related to Long Beach (the one that is the filming location of Little Children) ?
Choices:
medical condition
official language
season starts
next higher rank
filming location
this taxon is source of
student
set in period
headquarters location
located on astronomical location
Program:
function: Find
inputs: Amy Ryan
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Changeling
function: And
dependencies: 1
2
function: Find
inputs: Little Children
function: Relate
dependencies: 4
inputs: filming location
forward
function: Find
inputs: Long Beach
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Changeling" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Amy Ryan" . ?e_2 <pred:name> "Long Beach" . ?e_4 <filming_location> ?e_2 . ?e_4 <pred:name> "Little Children" . ?e_1 ?p ?e_2 .  }
Answer: filming location