Question: How is Beirut, with local dialing code 01, related to Marseille?
Choices:
dissertation submitted to
office held by head of the organisation
conflict
fictional universe described in
sports season of league or competition
member of
twinned administrative body
member of political party
destination point
substitute/deputy/replacement of office/officeholder
Program:
function: Find
inputs: Beirut
function: FilterStr
dependencies: 0
inputs: local dialing code
01
function: Find
inputs: Marseille
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Beirut" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> "01" . ?e_2 <pred:name> "Marseille" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body