Question: Which sovereign state has military conflicts with France, and Scottish as its demonym?
Choices:
Israel
Brazil
Kiribati
England
Weimar Republic
Yugoslavia
Kingdom of Scotland
Dutch Republic
South Africa
Cambodia
Answer: Kingdom of Scotland
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <military_conflicts> ?e_1 . ?e_1 <pred:name> "France" .  ?e <demonym> ?pv . ?pv <pred:value> "Scottish" .  }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: military conflicts
backward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
Scottish
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: And
dependencies: 2
5
function: What
dependencies: 6