Question: Who is the husband of the actor that played the character Franky Cook in a movie?
Answer(s):
answer: Brad Pitt

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.04ds213 . 
?c ns:people.person.spouse_s ?y .
?y ns:people.marriage.spouse ?x .
?y ns:people.marriage.type_of_union ns:m.04ztj .
FILTER(NOT EXISTS {?y ns:people.marriage.from ?sk0} || 
EXISTS {?y ns:people.marriage.from ?sk1 . 
FILTER(xsd:datetime(?sk1) <= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:people.marriage.to ?sk2} || 
EXISTS {?y ns:people.marriage.to ?sk3 . 
FILTER(xsd:datetime(?sk3) >= "2015-08-10"^^xsd:dateTime) })
?y ns:people.marriage.from ?sk4 .
}
ORDER BY DESC(xsd:datetime(?sk4))
LIMIT 1