Question: What is the connection between Dangerous Liaisons (the one whose genre is film based on literature) to People's Republic of China?
Choices:
narrative role
military branch
mountain range
culture
home world
fabrication method
cause of death
country of origin
record label
territory claimed by
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Dangerous Liaisons
function: And
dependencies: 1
2
function: Find
inputs: People's Republic of China
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dangerous Liaisons" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "film based on literature" . ?e_2 <pred:name> "People's Republic of China" . ?e_1 ?p ?e_2 .  }
Answer: country of origin