Question: How many constituencies are known that are associated with a communication medium within Ontario jurisdiction (sharing a border with Wisconsin)?
Choices:
107
Mount Fuji
Congregation of Holy Cross
OE
123552
ITOMO
east
2115500141
47
338
Program:
function: Find
inputs: Wisconsin
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Ontario
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 4
inputs: communication medium
function: QueryAttr
dependencies: 5
inputs: number of constituencies
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "communication medium" . ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:name> "Ontario" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> "Wisconsin" .  ?e <number_of_constituencies> ?pv .  }
Answer: 107