Question: What is the title of the written work that derives Empire of the Sun (the one whose producer is Kathleen Kennedy)?
Choices:
GODZILLA
los goonies
There's Something About Mary
Broadcast News
True Blood
Judgment at Nuremberg
Viskningar och rop
On Her Majesty's Secret Service
Bicentennial Man
Empire of the Sun
Program:
function: Find
inputs: Kathleen Kennedy
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Empire of the Sun
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
backward
function: FilterConcept
dependencies: 4
inputs: written work
function: QueryAttr
dependencies: 5
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Empire of the Sun" . ?e_1 <producer> ?e_2 . ?e_2 <pred:name> "Kathleen Kennedy" .  ?e <title> ?pv .  }
Answer: Empire of the Sun