Question: How many forms of currency are customary in the European Union or correspond with PermID 500140?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "currency" .  { ?e_1 <currency> ?e . ?e_1 <pred:name> "European Union" .  } UNION { ?e <PermID> ?pv . ?pv <pred:value> "500140" .  } }
Program:
function: Find
inputs: European Union
function: Relate
dependencies: 0
inputs: currency
forward
function: FilterConcept
dependencies: 1
inputs: currency
function: FindAll
function: FilterStr
dependencies: 3
inputs: PermID
500140
function: FilterConcept
dependencies: 4
inputs: currency
function: Or
dependencies: 2
5
function: Count
dependencies: 6