Question: How is Algiers, capital of Algeria, related to Dakar, twinned administrative body of Marseille?
Choices:
is a list of
filmography
screenwriter
twinned administrative body
musical conductor
official symbol
next lower rank
collection
edition or translation of
has part
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Algiers" . ?e_3 <capital> ?e_1 . ?e_3 <pred:name> "Algeria" . ?e_2 <pred:name> "Dakar" . ?e_4 <twinned_administrative_body> ?e_2 . ?e_4 <pred:name> "Marseille" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Algeria
function: Relate
dependencies: 0
inputs: capital
forward
function: Find
inputs: Algiers
function: And
dependencies: 1
2
function: Find
inputs: Marseille
function: Relate
dependencies: 4
inputs: twinned administrative body
forward
function: Find
inputs: Dakar
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7