Question: How many colleges are the burial place of Philip Roth (the one that was nominated for National Book Award for Fiction)?
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> "college" . ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> "Philip Roth" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "National Book Award for Fiction" .   }
Program:
function: Find
inputs: National Book Award for Fiction
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Philip Roth
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of burial
forward
function: FilterConcept
dependencies: 4
inputs: college
function: Count
dependencies: 5