Question: what is the IETF language tag of the official language of Wallachia (whose capital is Bucharest)?
Choices:
en-US
km
ga
en-AU
fil
ro
afa
af
cmn
sr
Answer: ro
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" . ?e_1 <official_language> ?e . ?e_1 <pred:name> "Wallachia" . ?e_1 <capital> ?e_2 . ?e_2 <pred:name> "Bucharest" .  ?e <IETF_language_tag> ?pv .  }
Program:
function: Find
inputs: Bucharest
function: Relate
dependencies: 0
inputs: capital
backward
function: Find
inputs: Wallachia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: official language
forward
function: FilterConcept
dependencies: 4
inputs: language
function: QueryAttr
dependencies: 5
inputs: IETF language tag