Question: Which sovereign state is in the country of House of Wittelsbach?
Choices:
Russia
Switzerland
Bavaria
Botswana
Jordan
Mauritania
Holy Roman Empire
Cambodia
Cameroon
Kiribati
Program:
function: Find
inputs: House of Wittelsbach
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> "House of Wittelsbach" .   }
Answer: Holy Roman Empire