Question: In which neighborhood does the person in the cast of Roman Holiday (distributed by NBC) reside?
Choices:
Greenwich Village
Roxbury
Encino
Northridge
Sherman Oaks
Monte Carlo
Pacific Palisades
Studio City
Hollywood
Woodland Hills
Program:
function: Find
inputs: NBC
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Roman Holiday
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: residence
forward
function: FilterConcept
dependencies: 6
inputs: neighborhood
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "neighborhood" . ?e_1 <residence> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> "Roman Holiday" . ?e_2 <distributor> ?e_3 . ?e_3 <pred:name> "NBC" .   }
Answer: Sherman Oaks