Question: What number of organizations with a net profit of less than 1010000000 Australian dollars or has hte record label The Band?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "organization" .  { ?e <net_profit> ?pv . ?pv <pred:unit> "Australian dollar" . ?pv <pred:value> ?v . FILTER ( ?v < "1010000000"^^xsd:double ) .  } UNION { ?e_1 <record_label> ?e . ?e_1 <pred:name> "The Band" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: net profit
1010000000 Australian dollar
<
function: FilterConcept
dependencies: 1
inputs: organization
function: Find
inputs: The Band
function: Relate
dependencies: 3
inputs: record label
forward
function: FilterConcept
dependencies: 4
inputs: organization
function: Or
dependencies: 2
5
function: Count
dependencies: 6