Question: How many software programs have Apple as developer or have the Stack Exchange tag https://stackoverflow.com/tags/windows-xp?
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> "software" .  { ?e <developer> ?e_1 . ?e_1 <pred:name> "Apple" .  } UNION { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> "https://stackoverflow.com/tags/windows-xp" .  } }
Program:
function: Find
inputs: Apple
function: Relate
dependencies: 0
inputs: developer
backward
function: FilterConcept
dependencies: 1
inputs: software
function: FindAll
function: FilterStr
dependencies: 3
inputs: Stack Exchange tag
https://stackoverflow.com/tags/windows-xp
function: FilterConcept
dependencies: 4
inputs: software
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 4