Question: What writer of the music for Dr. T & the Women was also married to Julia Roberts?
Answer(s):
answer: Lyle Lovett

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.046zh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.046zh ns:people.person.spouse_s ?y .
?y ns:people.marriage.spouse ?x .
?y ns:people.marriage.type_of_union ns:m.04ztj .
?x ns:film.music_contributor.film ns:m.0323y3 . 
}