Question: What administrative entity is Las Vegas, with the official website http://www.lasvegasnevada.gov, where Thomas Dekker, or theThomasDekker on Twitter, was born?
Choices:
Habsburg Monarchy
South Holland
Michigan
City of Westminster
Latvian Soviet Socialist Republic
Wisconsin
Virginia
New Jersey
Washington
Nevada
Answer: Nevada
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Thomas Dekker" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "theThomasDekker" . ?e_2 <pred:name> "Las Vegas" . ?e_2 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.lasvegasnevada.gov" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }
Program:
function: Find
inputs: Thomas Dekker
function: FilterStr
dependencies: 0
inputs: Twitter username
theThomasDekker
function: Find
inputs: Las Vegas
function: FilterStr
dependencies: 2
inputs: official website
http://www.lasvegasnevada.gov
function: QueryRelationQualifier
dependencies: 1
3
inputs: place of birth
located in the administrative territorial entity