Question: Which is the official language of the geographic region in Scotland, demonym סקוטי ?
Choices: Swedish
Romanian
German
Polish
English
Greek
Irish
Scots
Gujarati
Hebrew
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" . ?e_1 <official_language> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "geographic region" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Scotland" . ?e_2 <demonym> ?pv . ?pv <pred:value> "סקוטי" .   }
Program:
function: Find
inputs: Scotland
function: FilterStr
dependencies: 0
inputs: demonym
סקוטי
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: geographic region
function: Relate
dependencies: 3
inputs: official language
forward
function: FilterConcept
dependencies: 4
inputs: language
function: What
dependencies: 5
Answer: Scots