Question: How many currencies are used in Italy and whose TeX string is \EUR ?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "currency" . ?e <country> ?e_1 . ?e_1 <pred:name> "Italy" .  ?e <TeX_string> ?pv . ?pv <pred:value> "\\EUR" .  }
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: currency
function: FindAll
function: FilterStr
dependencies: 3
inputs: TeX string
\EUR
function: FilterConcept
dependencies: 4
inputs: currency
function: And
dependencies: 2
5
function: Count
dependencies: 6