Question: What administrative territorial entity is Las Vegas, where B. B. King and Steve Gerber died, located in ?
Choices: British Raj
Roer
Habsburg Monarchy
Los Angeles
Nevada
Minnesota
Tennessee
Kilo
Kentucky
Utah
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "B. B. King" . ?e_2 <pred:name> "Las Vegas" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> "Steve Gerber" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }
Program:
function: Find
inputs: B. B. King
function: Find
inputs: Steve Gerber
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Las Vegas
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of death
located in the administrative territorial entity
Answer: Nevada