Question: How is Shanghai that is the narrative location of The Warlords related to East Java?
Choices:
public holiday
student of
allegiance
subject has role
country of citizenship
item operated
distributor
professional or sports partner
cites
twinned administrative body
Program:
function: Find
inputs: The Warlords
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Shanghai
function: And
dependencies: 1
2
function: Find
inputs: East Java
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shanghai" . ?e_3 <narrative_location> ?e_1 . ?e_3 <pred:name> "The Warlords" . ?e_2 <pred:name> "East Java" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body