Question: What dynasty is named after the palace whose National Heritage List for England number is 1117776?
Choices:
House of Bernadotte
House of Romanov
House of Oldenburg
House of Stuart
Borjigin
House of Windsor
House of Hohenzollern
House of Plantagenet
Imperial House of Japan
House of Orange-Nassau
Answer: House of Windsor
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "dynasty" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "palace" . ?e_1 <National_Heritage_List_for_England_number> ?pv . ?pv <pred:value> "1117776" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: National Heritage List for England number
1117776
function: FilterConcept
dependencies: 1
inputs: palace
function: Relate
dependencies: 2
inputs: named after
backward
function: FilterConcept
dependencies: 3
inputs: dynasty
function: What
dependencies: 4