Question: How many award classes do we know that come from Romania  (the one whose population is 22515389) or fall within film disciplines?
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> "class of award" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Romania" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "22515389"^^xsd:double .  } UNION { ?e <award_disciplines_or_subjects> ?e_1 . ?e_1 <pred:name> "film" .  } }
Program:
function: Find
inputs: Romania
function: FilterNum
dependencies: 0
inputs: population
22515389
=
function: Relate
dependencies: 1
inputs: country
backward
function: FilterConcept
dependencies: 2
inputs: class of award
function: Find
inputs: film
function: Relate
dependencies: 4
inputs: award disciplines or subjects
backward
function: FilterConcept
dependencies: 5
inputs: class of award
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 9