Question: Who both sang for pink Floyd and also wrote their lyric book?
Answer(s):
answer: Roger Waters

SPARQL query:
#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
  {
    ns:m.01wv9xn ns:music.musical_group.member ?y .
    ?y ns:music.group_membership.member ?x ;
       ns:music.group_membership.role ns:m.0290ngj . #vocals
  }
  UNION
  {
    ns:m.01wv9xn ns:music.musical_group.member ?y .
    ?y ns:music.group_membership.member ?x ;
       ns:music.group_membership.role ns:m.0_sv_90 . #lead vocals
  }?x ns:book.author.works_written ns:m.06c04f9 . 
}