Question: How many communication mediums apply to jurisdiction over Ontario (which has as its motto text 'Ut incepit fidelis sic permanet') or are the distribution format of Guitar Hero III: Legends of Rock?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "communication medium" .  { ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:name> "Ontario" . ?e_1 <motto_text> ?pv . ?pv <pred:value> "Ut incepit fidelis sic permanet" .  } UNION { ?e_1 <distribution> ?e . ?e_1 <pred:name> "Guitar Hero III: Legends of Rock" .  } }
Program:
function: Find
inputs: Ontario
function: FilterStr
dependencies: 0
inputs: motto text
Ut incepit fidelis sic permanet
function: Relate
dependencies: 1
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 2
inputs: communication medium
function: Find
inputs: Guitar Hero III: Legends of Rock
function: Relate
dependencies: 4
inputs: distribution
forward
function: FilterConcept
dependencies: 5
inputs: communication medium
function: Or
dependencies: 3
6
function: Count
dependencies: 7