Question: What sovereign state comes from a country, also a sovereign state, whose motto is 'By the people and for the people'?
Choices:
Arabic
Algeria national football team
Honduras
Belize
Kingdom of Hungary
Algeria
Kyrgyzstan
Iran
Arab
Democratic Republic of the Congo
Answer: Algeria
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <motto_text> ?pv . ?pv <pred:value> "By the people and for the people[" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: motto text
By the people and for the people[
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Relate
dependencies: 2
inputs: country
backward
function: FilterConcept
dependencies: 3
inputs: sovereign state
function: What
dependencies: 4