Question: Which dynasty's country is Mongolia and has the native-language name of Боржигин?
Choices:
Imperial House of Japan
House of Oldenburg
House of Orange-Nassau
Chakri Dynasty
House of Romanov
House of Windsor
House of Plantagenet
House of Stuart
Borjigin
House of Bernadotte
Program:
function: Find
inputs: Mongolia
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: dynasty
function: FindAll
function: FilterStr
dependencies: 3
inputs: name in native language
Боржигин
function: FilterConcept
dependencies: 4
inputs: dynasty
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "dynasty" . ?e <country> ?e_1 . ?e_1 <pred:name> "Mongolia" .  ?e <name_in_native_language> ?pv . ?pv <pred:value> "Боржигин" .  }
Answer: Borjigin