Question: How many films cost less than 4900000 euro or whose release region is Lebanon whose nominal GDP is 49459296463.2836 USD?
Choices: 41
42
43
44
45
46
47
48
49
50
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" .  { ?e <cost> ?pv . ?pv <pred:unit> "euro" . ?pv <pred:value> ?v . FILTER ( ?v < "4900000"^^xsd:double ) .  } UNION { ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Lebanon" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "49459296463.2836"^^xsd:double .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: cost
4900000 euro
<
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Lebanon
function: FilterNum
dependencies: 3
inputs: nominal GDP
49459296463.2836 United States dollar
=
function: Relate
dependencies: 4
inputs: film release region
backward
function: FilterConcept
dependencies: 5
inputs: film
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 41