Question: What is the connection between Contact (the one whose release region is Taiwan) to Ireland (the one that is exported to United States of America)?
Choices:
original network
head of state
honorific prefix
has edition
published in
spouse
officially opened by
film release region
filmography
has effect
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Contact" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Taiwan" . ?e_2 <pred:name> "Ireland" . ?e_2 <exported_to> ?e_4 . ?e_4 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Taiwan
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Contact
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: exported to
backward
function: Find
inputs: Ireland
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7