A description of the source dataset from the Board on Geographic Names:
The Geographic Names Information System (GNIS) is the Federal and national standard for geographic nomenclature. The U.S. Geological Survey developed the GNIS in support of the U.S. Board on Geographic Names as the official repository of domestic geographic names data, the official vehicle for geographic names use by all departments of the Federal Government, and the source for applying geographic names to Federal electronic and printed products.
The GNIS contains information about physical and cultural geographic features of all types in the United States, associated areas, and Antarctica, current and historical, but not including roads and highways. The database holds the Federally recognized name of each feature and defines the feature location by state, county, USGS topographic map, and geographic coordinates. Other attributes include names or spellings other than the official name, feature designations, feature classification, historical and descriptive information, and for some categories the geometric boundaries.
Please note the above link is the SPARQL endpoint URL. When dereferencing it in a browser, you will be redirected to a YASGUI page prefilled with a default query.
geof:distancefunction to compute distance in meters between two features and filter the results by distance. The geometries used in this example are points since they are representing the GNIS feature.
nhd:areaproperty can be used to select or filter features (limited to NHD water bodies in the study area for this dataset).
geof:sfTouchesGeoSPARQL topology function to select streams that empty into or start from Lake Tahoe.
$ curl -L -H 'Accept:application/vnd.geo+json' http://gnis-ld.org/lod/geometry/multipolygon/nhdf.44560536
text/plainfor Well-Known Text, and
application/octet-streamfor Well-Known Binary.
Regalia, B., Janowicz, K. , and McKenzie, G. (2019): Computing and Querying Strict, Approximate, and Metrically-Refined Topological Relations in Linked Geographic Data. Transactions in GIS.
Regalia, B., Janowicz, K. , and Mai, G. (2018): GNIS-LD: Serving and Visualizing the Geographic Names Information System Gazetteer As Linked Data. 15th ESWC Conference. 3-7 June, Heraklion, Crete.