Question: Tony Shalhoub has been a nominee for how many awards for theatre?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "theatre award" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Tony Shalhoub" .   }
Program:
function: Find
inputs: Tony Shalhoub
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: theatre award
function: Count
dependencies: 2