Question: What is the number of computer programs that are influenced by Java (that is developed by Sun Microsystems) or have the Stack Exchange tag https://stackoverflow.com/tags/oop?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "computer programming" .  { ?e <influenced_by> ?e_1 . ?e_1 <pred:name> "Java" . ?e_1 <developer> ?e_2 . ?e_2 <pred:name> "Sun Microsystems" .  } UNION { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> "https://stackoverflow.com/tags/oop" .  } }
Program:
function: Find
inputs: Sun Microsystems
function: Relate
dependencies: 0
inputs: developer
backward
function: Find
inputs: Java
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: influenced by
backward
function: FilterConcept
dependencies: 4
inputs: computer programming
function: FindAll
function: FilterStr
dependencies: 6
inputs: Stack Exchange tag
https://stackoverflow.com/tags/oop
function: FilterConcept
dependencies: 7
inputs: computer programming
function: Or
dependencies: 5
8
function: Count
dependencies: 9