Question: How many currencies do we know whose ISO 4217 code is JPY or whose HTML entity is € ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 4217 code
JPY
function: FilterConcept
dependencies: 1
inputs: currency
function: FindAll
function: FilterStr
dependencies: 3
inputs: HTML entity
&euro;
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 <ISO_4217_code> ?pv . ?pv <pred:value> "JPY" .  } UNION { ?e <HTML_entity> ?pv . ?pv <pred:value> "&euro;" .  } }
Answer: 2