Question: How is The Three Musketeers composed by William Hanna related to Australia that has a diplomatic relation with Cambodia?
Choices:
next lower rank
member of sports team
famous people
industry
political alignment
statistical leader
country of origin
dialect of
contributing factor of
approved by
Program:
function: Find
inputs: William Hanna
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: Find
inputs: Cambodia
function: Relate
dependencies: 4
inputs: diplomatic relation
backward
function: Find
inputs: Australia
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Three Musketeers" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "William Hanna" . ?e_2 <pred:name> "Australia" . ?e_2 <diplomatic_relation> ?e_4 . ?e_4 <pred:name> "Cambodia" . ?e_1 ?p ?e_2 .  }
Answer: country of origin