Question: How many political parties use blue color (the official color of Sliema Wanderers F.C.) or use 'Parti progessiste-conservateur de l'Ontario' native label ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" .  { ?e <color> ?e_1 . ?e_1 <pred:name> "blue" . ?e_2 <official_color> ?e_1 . ?e_2 <pred:name> "Sliema Wanderers F.C." .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "Parti progressiste-conservateur de l'Ontario" .  } }
Program:
function: Find
inputs: Sliema Wanderers F.C.
function: Relate
dependencies: 0
inputs: official color
forward
function: Find
inputs: blue
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: color
backward
function: FilterConcept
dependencies: 4
inputs: political party
function: FindAll
function: FilterStr
dependencies: 6
inputs: native label
Parti progressiste-conservateur de l'Ontario
function: FilterConcept
dependencies: 7
inputs: political party
function: Or
dependencies: 5
8
function: Count
dependencies: 9