Question: How is Bareka connected to Ireland (the one that has the basic government form of unitary state)?
Choices:
head coach
relative
newspaper format
musical conductor
film release region
ancestral home
is a list of
studied by
convicted of
health specialty
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Baraka" . ?e_2 <pred:name> "Ireland" . ?e_2 <basic_form_of_government> ?e_3 . ?e_3 <pred:name> "unitary state" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Baraka
function: Find
inputs: unitary state
function: Relate
dependencies: 1
inputs: basic form of government
backward
function: Find
inputs: Ireland
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4