Question: How many businesss have an IPv4 routing prefix of 158.185.0.0/16 or began before 1884?
Choices:
16
17
18
19
20
21
22
23
24
25
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "business" .  { ?e <IPv4_routing_prefix> ?pv . ?pv <pred:value> "158.185.0.0/16" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1884 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IPv4 routing prefix
158.185.0.0/16
function: FilterConcept
dependencies: 1
inputs: business
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1884
<
function: FilterConcept
dependencies: 4
inputs: business
function: Or
dependencies: 2
5
function: Count
dependencies: 6