Question: What country does State University of New York at Albany, headquartered in Albany (in Eastern Time Zone) belong to ?
Choices:
Peru
Czech Republic
Lithuania
Panama
Sweden
Indonesia
United States of America
Holy Roman Empire
Hungary
Venezuela
Program:
function: Find
inputs: State University of New York at Albany
function: Find
inputs: Eastern Time Zone
function: Relate
dependencies: 1
inputs: located in time zone
backward
function: Find
inputs: Albany
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "State University of New York at Albany" . ?e_2 <pred:name> "Albany" . ?e_2 <located_in_time_zone> ?e_3 . ?e_3 <pred:name> "Eastern Time Zone" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: United States of America