Question: Ukraine partly encloses which sovereign state?
Choices:
Madagascar
Peru
Turkey
Cambodia
Switzerland
Austrian Empire
Kiribati
Danube
Moldavia
United States of America
Program:
function: Find
inputs: Ukraine
function: Relate
dependencies: 0
inputs: partially contains
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 <partially_contains> ?e . ?e_1 <pred:name> "Ukraine" .   }
Answer: Moldavia