Question: What is the name of the first wife or the person who wrote "Understand Your Man"?
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:music.lyricist.lyrics_written ns:m.09g7bpf . 
?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