Source code

Download source archive ↓

src/rdflib/namespace/_WGS.py

1from rdflib.namespace import DefinedNamespace, Namespace
2from rdflib.term import URIRef
3
4
5class WGS(DefinedNamespace):
6    """
7    Basic Geo (WGS84 lat/long) Vocabulary
8
9    The HTML Specification for the vocabulary can be found
10    here <https://www.w3.org/2003/01/geo/>.
11    """
12
13    _NS = Namespace("https://www.w3.org/2003/01/geo/wgs84_pos#")
14
15    # http://www.w3.org/2000/01/rdf-schema#Class
16    SpatialThing: URIRef
17    Point: URIRef
18
19    # http://www.w3.org/2002/07/owl#DatatypeProperty
20    alt: URIRef
21
22    lat: URIRef  # http://www.w3.org/2003/01/geo/wgs84_pos#lat
23    lat_long: URIRef
24    location: URIRef
25    long: URIRef