Question: How many 3D films are distributed in Syria or have a release date that is before 2010?
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 <film_distribute_region> ?e_1 . ?e_1 <pred:name> "Syria" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2010 ) .  } }
Program:
function: Find
inputs: Syria
function: Relate
dependencies: 0
inputs: film distribute region
backward
function: FilterConcept
dependencies: 1
inputs: 3D film
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2010
<
function: FilterConcept
dependencies: 4
inputs: 3D film
function: Or
dependencies: 2
5
function: Count
dependencies: 6