Question: How many law schools did the person that was nominated for the Grammy Award for Album of the Year for Supernatural attend?
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> "law school" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Grammy Award for Album of the Year" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv . ?qpv <pred:value> "Supernatural" .   }
Program:
function: Find
inputs: Grammy Award for Album of the Year
function: Relate
dependencies: 0
inputs: nominated for
backward
function: QFilterStr
dependencies: 1
inputs: for work
Supernatural
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: law school
function: Count
dependencies: 5