Question: Which geographic region has been at war with the Kingdom of Scotland?
Choices:
Bohemia
Dutch Republic
Central Alberta
Lake District
Swedish Empire
Transylvania
Pacific Ocean
Electorate of Saxony
England
France
Program:
function: Find
inputs: Kingdom of Scotland
function: Relate
dependencies: 0
inputs: military conflicts
forward
function: FilterConcept
dependencies: 1
inputs: geographic region
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e_1 <military_conflicts> ?e . ?e_1 <pred:name> "Kingdom of Scotland" .   }
Answer: Bohemia