Question: What is the connection between Saskatchewan (the one that shares border with Alberta) to French?
Choices:
geographic distribution
student of
costume designer
official language
lifestyle
instrument
family
copyright holder
programming language
part of
Program:
function: Find
inputs: Alberta
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Saskatchewan
function: And
dependencies: 1
2
function: Find
inputs: French
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Saskatchewan" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Alberta" . ?e_2 <pred:name> "French" . ?e_1 ?p ?e_2 .  }
Answer: official language