Question: Which sovereign state is the country of Samsung Electronics?
Choices:
Weimar Republic
Kiribati
Cambodia
South Korea
Czechoslovakia
Haiti
Kenya
Switzerland
Uzbekistan
Mexico
Program:
function: Find
inputs: Samsung Electronics
function: Relate
dependencies: 0
inputs: country
forward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <country> ?e . ?e_1 <pred:name> "Samsung Electronics" .   }
Answer: South Korea