Question: How many film genres have their release region in Norway or were composed by David Brown (whose date of death is 2000-09-04)?
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> "film genre" .  { ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Norway" .  } UNION { ?e <composer> ?e_1 . ?e_1 <pred:name> "David Brown" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2000-09-04"^^xsd:date .  } }
Program:
function: Find
inputs: Norway
function: Relate
dependencies: 0
inputs: film release region
backward
function: FilterConcept
dependencies: 1
inputs: film genre
function: Find
inputs: David Brown
function: FilterDate
dependencies: 3
inputs: date of death
2000-09-04
=
function: Relate
dependencies: 4
inputs: composer
backward
function: FilterConcept
dependencies: 5
inputs: film genre
function: Or
dependencies: 2
6
function: Count
dependencies: 7