Question: How many currency prices are not equal to 190 United States dollar or that applies to jurisdiction over Togo?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "currency" .  { ?e <price> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v != "190"^^xsd:double ) .  } UNION { ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:name> "Togo" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: price
190 United States dollar
!=
function: FilterConcept
dependencies: 1
inputs: currency
function: Find
inputs: Togo
function: Relate
dependencies: 3
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 4
inputs: currency
function: Or
dependencies: 2
5
function: Count
dependencies: 6