Question: What country does Annapolis (which began in 1649), the United States Naval Academy's headquarters location, belong to?
Choices:
Netherlands
Austria-Hungary
Kingdom of Great Britain
Kingdom of Prussia
Saxe-Weimar-Eisenach
Russia
Venezuela
United Arab Republic
Iceland
United States of America
Program:
function: Find
inputs: United States Naval Academy
function: Find
inputs: Annapolis
function: FilterYear
dependencies: 1
inputs: inception
1649
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "United States Naval Academy" . ?e_2 <pred:name> "Annapolis" . ?e_2 <inception> ?pv . ?pv <pred:year> 1649 . ?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