Question: What is the official website of the film that has The Temptations (whose genre is rock music) as a cast member?
Choices: http://www.tim-roth.com/
http://www.franklincountyin.com
https://www.apple.com/es/ios/
http://www.canada.ca
http://www.walkhard-movie.com
http://www.burundi-gov.bi/
http://www.pulitzer.org/
http://www.outkast.com/
http://www.gerardbutler.net
http://www.co.ulster.ny.us
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "The Temptations" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "rock music" .  ?e <official_website> ?pv .  }
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Temptations
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: official website
Answer: http://www.walkhard-movie.com