Question: Who is the first wife of the actor who appeared in All My Friends Are Cowboys?
Answer(s):
answer: Vivian Liberto

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.film ns:m.0ngnkb5 . 
?c ns:people.person.spouse_s ?y .
?y ns:people.marriage.spouse ?x .
?y ns:people.marriage.type_of_union ns:m.04ztj .
?y ns:people.marriage.from ?sk0 .
}
ORDER BY xsd:datetime(?sk0)
LIMIT 1