Question: How is Qantas linked to Australia, which has diplomatic ties to Sri Lanka?
Choices:
opposite of
office held by head of the organisation
significant event
domain of saint or deity
has immediate cause
update method
country
has quality
replaced by
located on terrain feature
Program:
function: Find
inputs: Qantas
function: Find
inputs: Sri Lanka
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: Find
inputs: Australia
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Qantas" . ?e_2 <pred:name> "Australia" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> "Sri Lanka" . ?e_1 ?p ?e_2 .  }
Answer: country