Question: Which dynasty is the family of a person whose name, in native language, is พระบาทสมเด็จพระจุลจอมเกล้าเจ้าอยู่หัว ?
Choices:
House of Windsor
House of Stuart
Imperial House of Japan
Borjigin
House of Oldenburg
House of Bernadotte
House of Romanov
House of Plantagenet
Chakri Dynasty
Ottoman Dynasty
Answer: Chakri Dynasty
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "dynasty" . ?e_1 <family> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "พระบาทสมเด็จพระจุลจอมเกล้าเจ้าอยู่หัว" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
พระบาทสมเด็จพระจุลจอมเกล้าเจ้าอยู่หัว
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: family
forward
function: FilterConcept
dependencies: 3
inputs: dynasty
function: What
dependencies: 4