the tv character who species in ai has what occupation?
Entity Entity Entity Entity Entity Entity
m.09l65 m.03sbb m.05t4q m.09j9h m.06q2q m.0pbql
Singer Inventor Physician Engineer Scientist Supervillain
class class entity
fictional_universe.character_occupation tv.tv_character m.0mkz
fictional_universe.character_occupation tv.tv_character fictional_universe.character_species
Character Occupation TV Character ai
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.0mkz } 
?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.0mkz)))