Question: What is the number of democracies that are named for Bavaria and are located in the Alaska Time Zone?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Bavaria
function: Relate
dependencies: 0
inputs: named after
backward
function: FilterConcept
dependencies: 1
inputs: democracy
function: Find
inputs: Alaska Time Zone
function: Relate
dependencies: 3
inputs: located in time zone
backward
function: FilterConcept
dependencies: 4
inputs: democracy
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Bavaria" .  ?e <located_in_time_zone> ?e_2 . ?e_2 <pred:name> "Alaska Time Zone" .  }
Answer: 0