Question: What language has an IETF language tag of bg and is spoken in Turkey?
Choices:
Indonesian
Scots
Tamil
Romanian
Gujarati
Bulgarian
German
Welsh
Greek
Croatian
Program:
function: Find
inputs: Turkey
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: language
function: FindAll
function: FilterStr
dependencies: 3
inputs: IETF language tag
bg
function: FilterConcept
dependencies: 4
inputs: language
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" . ?e <country> ?e_1 . ?e_1 <pred:name> "Turkey" .  ?e <IETF_language_tag> ?pv . ?pv <pred:value> "bg" .  }
Answer: Bulgarian