Question: How many operating systems have official website https://www.apple.com/tw/ios/ or contain macOS?
Choices: 0
1
2
3
4
5
6
7
8
9
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/tw/ios/" .  } UNION { ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> "macOS" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
https://www.apple.com/tw/ios/
function: FilterConcept
dependencies: 1
inputs: operating system
function: Find
inputs: macOS
function: Relate
dependencies: 3
inputs: part of the series
forward
function: FilterConcept
dependencies: 4
inputs: operating system
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3