Question: What is the connection between Captain Corelli's Mandolin to John Madden (the one that is the citizen of United Kingdom)?
Choices:
influenced by
director
properties for this type
after a work by
has edition
partially contains
native language
separated from
commander of
director of photography
Program:
function: Find
inputs: Captain Corelli's Mandolin
function: Find
inputs: United Kingdom
function: Relate
dependencies: 1
inputs: country of citizenship
backward
function: Find
inputs: John Madden
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Captain Corelli's Mandolin" . ?e_2 <pred:name> "John Madden" . ?e_2 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: director