Question: How many literary awards are given for children's literature or nominated to Henri Bergson?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary award" .  { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Henri Bergson" .  } UNION { ?e <award_disciplines_or_subjects> ?e_1 . ?e_1 <pred:name> "children's literature" .  } }
Program:
function: Find
inputs: Henri Bergson
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: literary award
function: Find
inputs: children's literature
function: Relate
dependencies: 3
inputs: award disciplines or subjects
backward
function: FilterConcept
dependencies: 4
inputs: literary award
function: Or
dependencies: 2
5
function: Count
dependencies: 6