Question: How many private not-for-profit educational institutions are registered with the organization that is Rock and Roll Hall of Fame's registration?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "private not-for-profit educational institution" . ?e <registered_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "organization" . ?e_2 <registered_with> ?e_1 . ?e_2 <pred:name> "Rock and Roll Hall of Fame" .   }
Program:
function: Find
inputs: Rock and Roll Hall of Fame
function: Relate
dependencies: 0
inputs: registered with
forward
function: FilterConcept
dependencies: 1
inputs: organization
function: Relate
dependencies: 2
inputs: registered with
backward
function: FilterConcept
dependencies: 3
inputs: private not-for-profit educational institution
function: Count
dependencies: 4