Question: Which sovereign state has a diplomatic relation with France and has a demonym of босниец?
Choices: Weimar Republic
Vietnam
Chad
Bosnia and Herzegovina
United Kingdom
Mauritius
Russian Soviet Federative Socialist Republic
Switzerland
Cambodia
Kiribati
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "France" .  ?e <demonym> ?pv . ?pv <pred:value> "босниец" .  }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
босниец
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Bosnia and Herzegovina