Question: Moonraker (ISBN-13 code 978-84-663-0903-5) has what connection to movie producer Lewis Gilbert ?
Choices:
lifestyle
afflicts
airline hub
mother
place served by transport hub
director
honorific prefix
interested in
designated as terrorist by
has quality
Program:
function: Find
inputs: Moonraker
function: FilterStr
dependencies: 0
inputs: ISBN-13
978-84-663-0903-5
function: Find
inputs: film producer
function: Relate
dependencies: 2
inputs: occupation
backward
function: Find
inputs: Lewis Gilbert
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Moonraker" . ?e_1 <ISBN-13> ?pv . ?pv <pred:value> "978-84-663-0903-5" . ?e_2 <pred:name> "Lewis Gilbert" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "film producer" . ?e_1 ?p ?e_2 .  }
Answer: director