Question: How many public offices head the government of Wyoming (the one whose demonym is Wyomingian) or apply jurisdiction over Connecticut?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Wyoming
function: FilterStr
dependencies: 0
inputs: demonym
Wyomingian
function: Relate
dependencies: 1
inputs: office held by head of government
forward
function: FilterConcept
dependencies: 2
inputs: public office
function: Find
inputs: Connecticut
function: Relate
dependencies: 4
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 5
inputs: public office
function: Or
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public office" .  { ?e_1 <office_held_by_head_of_government> ?e . ?e_1 <pred:name> "Wyoming" . ?e_1 <demonym> ?pv . ?pv <pred:value> "Wyomingian" .  } UNION { ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:name> "Connecticut" .  } }
Answer: 1