Question: what is the military conflicts with Austria-Hungary which is a country of Transylvania
Choices:
contiguous United States
Lake District
Dutch Republic
Swedish Empire
Bohemia
France
Southern California
Transylvania
Electorate of Saxony
Indian Ocean
Answer: Bohemia
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e <military_conflicts> ?e_1 . ?e_1 <pred:name> "Transylvania" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "Austria-Hungary" .   }
Program:
function: Find
inputs: Austria-Hungary
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Transylvania
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: military conflicts
backward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: What
dependencies: 5