Question: Which sovereign state is the country of Damascus?
Choices:
New Zealand
Solomon Islands
Nicaragua
Argentina
Byzantine Empire
Switzerland
Syria
Guinea-Bissau
Ottoman Empire
North Korea
Program:
function: Find
inputs: Damascus
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> "Damascus" .   }
Answer: Syria