Question: What is the connection between Roman Republic (the one that locates in the continent of Europe) to Italian?
Choices:
drug used for treatment
official language
parent organization
territory claimed by
worshipped by
contains settlement
significant person
chairperson
substitute/deputy/replacement of office/officeholder
material used
Answer: official language
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roman Republic" . ?e_1 <continent> ?e_3 . ?e_3 <pred:name> "Europe" . ?e_2 <pred:name> "Italian" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Europe
function: Relate
dependencies: 0
inputs: continent
backward
function: Find
inputs: Roman Republic
function: And
dependencies: 1
2
function: Find
inputs: Italian
function: QueryRelation
dependencies: 3
4