Question: Of historical countries with Bertolt Brecht as the citizen, which one covers the smallest area ?
Choices:
Crown of Aragón
Confederate States of America
Qing dynasty
Kingdom of Portugal
Spanish Empire
Union of South Africa
German Empire
Second French Empire
Abyssinia
German Democratic Republic
Program:
function: Find
inputs: Bertolt Brecht
function: Relate
dependencies: 0
inputs: country of citizenship
forward
function: FilterConcept
dependencies: 1
inputs: historical country
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e_1 <country_of_citizenship> ?e . ?e_1 <pred:name> "Bertolt Brecht" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: German Democratic Republic