what film character is married to longbottom?
Entity
g.120ktb3t
Hannah Abbott
class class entity
film.film_character fictional_universe.marriage_of_fictional_characters m.01kg7x
film.film_character fictional_universe.marriage_of_fictional_characters fictional_universe.fictional_object_destroyer
Film character Marriage (of Fictional Characters) longbottom
none none none
fictional_universe.fictional_character.married_to fictional_universe.marriage_of_fictional_characters.spouses
Married To Spouses
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.marriage_of_fictional_characters . 
VALUES ?x2 { :m.01kg7x } 
?x0 :fictional_universe.fictional_character.married_to ?x1 . 
?x1 :fictional_universe.marriage_of_fictional_characters.spouses ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND film.film_character (JOIN fictional_universe.fictional_character.married_to (JOIN fictional_universe.marriage_of_fictional_characters.spouses m.01kg7x)))