Question: What historical country is followed by the form of government with the demonym of German?
Choices:
Second French Empire
Spanish Empire
Kingdom of Italy
Qing dynasty
German Democratic Republic
Kingdom of Portugal
Swedish Empire
Confederate States of America
Abyssinia
Electorate of Saxony
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
German
function: FilterConcept
dependencies: 1
inputs: form of government
function: Relate
dependencies: 2
inputs: followed by
backward
function: FilterConcept
dependencies: 3
inputs: historical country
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e <followed_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "form of government" . ?e_1 <demonym> ?pv . ?pv <pred:value> "German" .   }
Answer: German Democratic Republic