which film characters are of the same rank with king dedede?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.05v74p7 m.05yxmx7 m.05n32 m.012k8j m.03q2bd m.037fg7 m.062zvw7 m.0bf79c8 m.0k_8p m.05v45qj m.06qh7x m.0hgc6hm
The King King Richard Odysseus Oberon Mufasa Peter Pevensie Arthur King Vegeta King Koopa King Eidilleg Horned King King William
class class entity
film.film_character fictional_universe.character_rank m.03fgdf
film.film_character fictional_universe.character_rank cvg.game_character
Film character Character Rank King Dedede
none none none
fictional_universe.character_rank.characters_of_this_rank fictional_universe.fictional_character.rank
Characters of This Rank 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 (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :film.film_character . 
?x1 :type.object.type :fictional_universe.character_rank . 
VALUES ?x2 { :m.03fgdf } 
?x1 :fictional_universe.character_rank.characters_of_this_rank ?x0 . 
?x2 :fictional_universe.fictional_character.rank ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND film.film_character (JOIN (R fictional_universe.character_rank.characters_of_this_rank) (JOIN (R fictional_universe.fictional_character.rank) m.03fgdf)))