Question: How is Cinderella, the one that originates from Japan, related to the United States of America?
Choices:
place of publication
country of origin
student
used by
fictional universe described in
named after
killed by
airline hub
kit supplier
main subject
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Cinderella
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cinderella" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Japan" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of origin