Question: What is the official website for the business whose headquarters is located in Las Vegas (whose population is 800)?
Choices:
https://www.chemnitz.de/
http://www.pmb.ox.ac.uk/
http://delaware.gov
http://www.citadelbroadcasting.com/
http://www.kyoto-u.ac.jp
http://www.stephenmerchant.com/
http://www.foxmovies.com/movies/poltergeist
http://www.sydneyairport.com.au
http://www.sesamestreet.org/
http://www.recreativohuelva.com/
Answer: http://www.citadelbroadcasting.com/
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "business" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Las Vegas" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "800"^^xsd:double . ?e <official_website> ?pv .  }
Program:
function: Find
inputs: Las Vegas
function: FilterNum
dependencies: 0
inputs: population
800
=
function: Relate
dependencies: 1
inputs: headquarters location
backward
function: FilterConcept
dependencies: 2
inputs: business
function: QueryAttr
dependencies: 3
inputs: official website