Question: How many currencies were established before 2002 or have PermID 500127?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
2002
<
function: FilterConcept
dependencies: 1
inputs: currency
function: FindAll
function: FilterStr
dependencies: 3
inputs: PermID
500127
function: FilterConcept
dependencies: 4
inputs: currency
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> "currency" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2002 ) .  } UNION { ?e <PermID> ?pv . ?pv <pred:value> "500127" .  } }
Answer: 2