Question: How many Massachusetts counties are administrative divisions of Alabama, nicknamed The Yellowhammer State?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Massachusetts" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Alabama" . ?e_1 <nickname> ?pv . ?pv <pred:value> "The Yellowhammer State" .   }
Program:
function: Find
inputs: Alabama
function: FilterStr
dependencies: 0
inputs: nickname
The Yellowhammer State
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: county of Massachusetts
function: Count
dependencies: 3
Answer: 0