Question: How many programming languages have the Stack Exchange tag https://stackoverflow.com/tags/perl or the Arch Linux package julia?
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> "programming language" .  { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> "https://stackoverflow.com/tags/perl" .  } UNION { ?e <Arch Linux_package> ?pv . ?pv <pred:value> "julia" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Stack Exchange tag
https://stackoverflow.com/tags/perl
function: FilterConcept
dependencies: 1
inputs: programming language
function: FindAll
function: FilterStr
dependencies: 3
inputs: Arch Linux package
julia
function: FilterConcept
dependencies: 4
inputs: programming language
function: Or
dependencies: 2
5
function: Count
dependencies: 6