Question: What is the connection between the People's Republic of China and Singapore (that is the release territory of The Red Violin)?
Choices:
contains administrative territorial entity
medical condition
location of final assembly
main subject
diplomatic relation
position held
uses
writing system
record label
league
Program:
function: Find
inputs: People's Republic of China
function: Find
inputs: The Red Violin
function: Relate
dependencies: 1
inputs: film release region
forward
function: Find
inputs: Singapore
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "People's Republic of China" . ?e_2 <pred:name> "Singapore" . ?e_3 <film_release_region> ?e_2 . ?e_3 <pred:name> "The Red Violin" . ?e_1 ?p ?e_2 .  }
Answer: diplomatic relation