Question: What number of 3D movies had an El Salvador release region and a publication date earlier than 2009?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "3D film" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2009 ) .  } UNION { ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "El Salvador" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2009
<
function: FilterConcept
dependencies: 1
inputs: 3D film
function: Find
inputs: El Salvador
function: Relate
dependencies: 3
inputs: film release region
backward
function: FilterConcept
dependencies: 4
inputs: 3D film
function: Or
dependencies: 2
5
function: Count
dependencies: 6