Question: How many dynasties named after the estate in land are located in Windsor (the one whose population is 28324)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) 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> "estate in land" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Windsor" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "28324"^^xsd:double .   }
Program:
function: Find
inputs: Windsor
function: FilterNum
dependencies: 0
inputs: population
28324
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: estate in land
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: dynasty
function: Count
dependencies: 5