Question: Which website represents the Black Sabbath that Ozzy Osbourne belongs to?
Choices:
http://www.blacksabbath.com
http://www.slumdogmillionairemovie.co.uk
http://www.hbo.com/documentaries/george-harrison-living-in-the-material-world/index.html
https://www.warnerbros.com/crazy-stupid-love
http://www.ci.hillsboro.or.us
http://www.priceisright.com/
http://www.kirsten-dunst.com
http://www.gov.bc.ca
http://www.unionco.org
http://www.co.whatcom.wa.us
Program:
function: Find
inputs: Ozzy Osbourne
function: Relate
dependencies: 0
inputs: member of
forward
function: Find
inputs: Black Sabbath
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: official website
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Black Sabbath" . ?e_1 <member_of> ?e . ?e_1 <pred:name> "Ozzy Osbourne" .  ?e <official_website> ?pv .  }
Answer: http://www.blacksabbath.com