Question: How many currencies whose HTML entity is ¥ or that are used by the European Union as currency?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "currency" .  { ?e <HTML_entity> ?pv . ?pv <pred:value> "¥" .  } UNION { ?e_1 <currency> ?e . ?e_1 <pred:name> "European Union" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: HTML entity
¥
function: FilterConcept
dependencies: 1
inputs: currency
function: Find
inputs: European Union
function: Relate
dependencies: 3
inputs: currency
forward
function: FilterConcept
dependencies: 4
inputs: currency
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3