Question: How many operating systems either have the official website of https://www.apple.com/br/ios/ or use the Russian language?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "operating system" .  { ?e <official_website> ?pv . ?pv <pred:value> "https://www.apple.com/br/ios/" .  } UNION { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "Russian" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
https://www.apple.com/br/ios/
function: FilterConcept
dependencies: 1
inputs: operating system
function: Find
inputs: Russian
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: FilterConcept
dependencies: 4
inputs: operating system
function: Or
dependencies: 2
5
function: Count
dependencies: 6