Question: Which historical country is a facet of Sweden?
Choices:
Spanish Empire
Second French Empire
Kingdom of Portugal
Union of South Africa
North Vietnam
Swedish Empire
Wallachia
Qing dynasty
Abyssinia
Confederate States of America
Program:
function: Find
inputs: Sweden
function: Relate
dependencies: 0
inputs: facet of
backward
function: FilterConcept
dependencies: 1
inputs: historical country
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e <facet_of> ?e_1 . ?e_1 <pred:name> "Sweden" .   }
Answer: Swedish Empire