Question: If there is a TV program, which is a part of The Wire, series 5, what is its official website?
Choices:
http://www.fantasticfourmovie.com
http://www.dow.cam.ac.uk/
http://www.alanrickman.com
http://margaritaville.com
http://www.anotherworld.fr/index.htm
https://www.cityofathens.gr/
http://www.aausullivan.org/
http://www.hbo.com/the-wire/index.html
http://www.dumbanddumber.com
https://www.pixar.com/feature-films/ratatouille
Answer: http://www.hbo.com/the-wire/index.html
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television program" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "The Wire" .  [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv . ?qpv <pred:value> "5" . ?e <official_website> ?pv .  }
Program:
function: Find
inputs: The Wire
function: Relate
dependencies: 0
inputs: part of the series
backward
function: QFilterStr
dependencies: 1
inputs: series ordinal
5
function: FilterConcept
dependencies: 2
inputs: television program
function: QueryAttr
dependencies: 3
inputs: official website