Question: Rochester, (which has the nickname Roch) is located in time zone Central Time Zone, which time zone is it valid in?
Choices:
Louis XIV of France
Second French Empire
inception
French First Republic
masculine plural
Vichy France
year
standard time
1920s
French Second Republic
Answer: standard time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Rochester" . ?e_1 <nickname> ?pv . ?pv <pred:value> "Roch" . ?e_2 <pred:name> "Central Time Zone" . ?e_1 <located_in_time_zone> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_time_zone> ; <pred:fact_t> ?e_2 ] <valid_in_period> ?qpv .  }
Program:
function: Find
inputs: Rochester
function: FilterStr
dependencies: 0
inputs: nickname
Roch
function: Find
inputs: Central Time Zone
function: QueryRelationQualifier
dependencies: 1
2
inputs: located in time zone
valid in period