what's the demons species tv character's occupation?
Entity Entity Entity Entity Entity Entity Entity Entity
m.02wszfz m.04jrs3b m.01jnld m.0pbql m.0bq3x m.02h6nh6 m.01lr3v m.03hxjw
Martial Artist Demon Hunter Warrior Supervillain Serial killer Factory worker Villain Butler
class class entity
fictional_universe.character_occupation tv.tv_character m.029m8
fictional_universe.character_occupation tv.tv_character fictional_universe.character_species
Character Occupation TV Character demons
none none none
fictional_universe.character_occupation.characters_with_this_occupation fictional_universe.fictional_character.species
Characters With This Occupation Species
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 :fictional_universe.character_occupation . 
?x1 :type.object.type :tv.tv_character . 
VALUES ?x2 { :m.029m8 } 
?x0 :fictional_universe.character_occupation.characters_with_this_occupation ?x1 . 
?x1 :fictional_universe.fictional_character.species ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND fictional_universe.character_occupation (JOIN fictional_universe.character_occupation.characters_with_this_occupation (JOIN fictional_universe.fictional_character.species m.029m8)))