Question: What is the INSEE countries and foreign territories code of the sovereign state whose country is Tuvalu (which has the demonym Tuvalano)?
Choices:
99511
99249
99130
99125
99144
99410
99324
99235
99411
99258
Answer: 99511
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <country> ?e_1 . ?e_1 <pred:name> "Tuvalu" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> "Tuvalano" . ?e <INSEE_countries_and_foreign_territories_code> ?pv .  }
Program:
function: Find
inputs: Tuvalu
function: FilterStr
dependencies: 0
inputs: demonym
Tuvalano
function: Relate
dependencies: 1
inputs: country
backward
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttr
dependencies: 3
inputs: INSEE countries and foreign territories code