the character rank of king boo applies to how many book characters?
Value
7
class class entity
book.book_character fictional_universe.character_rank m.03fp9m
book.book_character fictional_universe.character_rank cvg.game_character
Book Character Character Rank King Boo
count none none
fictional_universe.fictional_character.rank fictional_universe.character_rank.characters_of_this_rank
Rank Characters of This Rank
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (COUNT(?x0) AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :book.book_character . 
?x1 :type.object.type :fictional_universe.character_rank . 
VALUES ?x2 { :m.03fp9m } 
?x0 :fictional_universe.fictional_character.rank ?x1 . 
?x1 :fictional_universe.character_rank.characters_of_this_rank ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(COUNT (AND book.book_character (JOIN fictional_universe.fictional_character.rank (JOIN fictional_universe.character_rank.characters_of_this_rank m.03fp9m))))