Question: How many film awards are named after Eric Tsang or are nominated to Amour?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film award" .  { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Eric Tsang" .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Amour" .  } }
Program:
function: Find
inputs: Eric Tsang
function: Relate
dependencies: 0
inputs: named after
backward
function: FilterConcept
dependencies: 1
inputs: film award
function: Find
inputs: Amour
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: film award
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 4