Question: How is Phnom Penh connected to Shanghai, where The Warlords took place?
Choices:
employer
office held by head of the organisation
health specialty
candidate
home world
twinned administrative body
mountain range
has part
natural product of taxon
head of state
Program:
function: Find
inputs: Phnom Penh
function: Find
inputs: The Warlords
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: Shanghai
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Phnom Penh" . ?e_2 <pred:name> "Shanghai" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "The Warlords" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body