Question: How many Grammy Awards can be put into the equation with two other Grammy Awards, one of which is Grammy Award for Best Comedy Album, nominated to Patton Oswalt ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Grammy Award" . ?e_1 <said_to_be_the_same_as> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "Grammy Award" . ?e_1 <said_to_be_the_same_as> ?e_3 . ?e_3 <pred:name> "Grammy Award for Best Comedy Album" . ?e_4 <nominated_for> ?e_3 . ?e_4 <pred:name> "Patton Oswalt" .   }
Program:
function: Find
inputs: Patton Oswalt
function: Relate
dependencies: 0
inputs: nominated for
forward
function: Find
inputs: Grammy Award for Best Comedy Album
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: said to be the same as
backward
function: FilterConcept
dependencies: 4
inputs: Grammy Award
function: Relate
dependencies: 5
inputs: said to be the same as
forward
function: FilterConcept
dependencies: 6
inputs: Grammy Award
function: Count
dependencies: 7