Question: How many operating systems are based on Mac OS or whose Stack Exchange tag is https://stackoverflow.com/tags/unix?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Mac OS
function: Relate
dependencies: 0
inputs: based on
backward
function: FilterConcept
dependencies: 1
inputs: operating system
function: FindAll
function: FilterStr
dependencies: 3
inputs: Stack Exchange tag
https://stackoverflow.com/tags/unix
function: FilterConcept
dependencies: 4
inputs: operating system
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "operating system" .  { ?e <based_on> ?e_1 . ?e_1 <pred:name> "Mac OS" .  } UNION { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> "https://stackoverflow.com/tags/unix" .  } }
Answer: 1