Question: How many movie genres correspond to IAB code 337 or were released in Poland?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film genre" .  { ?e <IAB_code> ?pv . ?pv <pred:value> "337" .  } UNION { ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Poland" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IAB code
337
function: FilterConcept
dependencies: 1
inputs: film genre
function: Find
inputs: Poland
function: Relate
dependencies: 3
inputs: film release region
backward
function: FilterConcept
dependencies: 4
inputs: film genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2