Question: What dynasty was not established in 1917 and was located in the Kingdom of Scotland?
Choices:
Borjigin
House of Orange-Nassau
Edinburgh
Imperial House of Japan
House of Oldenburg
House of Plantagenet
House of Stuart
Chakri Dynasty
House of Windsor
Kingdom of Scotland
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1917
!=
function: FilterConcept
dependencies: 1
inputs: dynasty
function: Find
inputs: Kingdom of Scotland
function: Relate
dependencies: 3
inputs: country
backward
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 <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1917 ) . ?e <country> ?e_1 . ?e_1 <pred:name> "Kingdom of Scotland" .  }
Answer: House of Stuart