Question: How many republics have under 72000000000 euros nominal GDP or are an Inside Deep Throat distribution location?
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> "republic" .  { ?e <nominal_GDP> ?pv . ?pv <pred:unit> "euro" . ?pv <pred:value> ?v . FILTER ( ?v < "72000000000"^^xsd:double ) .  } UNION { ?e_1 <film_distribute_region> ?e . ?e_1 <pred:name> "Inside Deep Throat" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
72000000000 euro
<
function: FilterConcept
dependencies: 1
inputs: republic
function: Find
inputs: Inside Deep Throat
function: Relate
dependencies: 3
inputs: film distribute region
forward
function: FilterConcept
dependencies: 4
inputs: republic
function: Or
dependencies: 2
5
function: Count
dependencies: 6