summaryrefslogtreecommitdiff
path: root/rdflib
diff options
context:
space:
mode:
Diffstat (limited to 'rdflib')
-rw-r--r--rdflib/namespace/_GEO.py26
-rw-r--r--rdflib/namespace/__init__.py28
-rw-r--r--rdflib/plugins/stores/sparqlconnector.py3
-rw-r--r--rdflib/plugins/stores/sparqlstore.py3
4 files changed, 48 insertions, 12 deletions
diff --git a/rdflib/namespace/_GEO.py b/rdflib/namespace/_GEO.py
index 7f316fcb..c890973c 100644
--- a/rdflib/namespace/_GEO.py
+++ b/rdflib/namespace/_GEO.py
@@ -9,18 +9,20 @@ class GEO(DefinedNamespace):
Generated from: http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf
Date: 2021-12-27 17:38:15.101187
- <http://www.opengis.net/ont/geosparql> dc:creator "Open Geospatial Consortium"^^xsd:string
- dc:date "2012-04-30"^^xsd:date
- dc:source <http://www.opengis.net/doc/IS/geosparql/1.0>
- "OGC GeoSPARQL – A Geographic Query Language for RDF Data OGC 11-052r5"^^xsd:string
- rdfs:seeAlso <http://www.opengis.net/def/function/ogc-geosparql/1.0>
- <http://www.opengis.net/def/rule/ogc-geosparql/1.0>
- <http://www.opengis.net/doc/IS/geosparql/1.0>
- owl:imports dc:
- <http://www.opengis.net/ont/gml>
- <http://www.opengis.net/ont/sf>
- <http://www.w3.org/2004/02/skos/core>
- owl:versionInfo "OGC GeoSPARQL 1.0"^^xsd:string
+ .. code-block:: Turtle
+
+ <http://www.opengis.net/ont/geosparql> dc:creator "Open Geospatial Consortium"^^xsd:string
+ dc:date "2012-04-30"^^xsd:date
+ dc:source <http://www.opengis.net/doc/IS/geosparql/1.0>
+ "OGC GeoSPARQL – A Geographic Query Language for RDF Data OGC 11-052r5"^^xsd:string
+ rdfs:seeAlso <http://www.opengis.net/def/function/ogc-geosparql/1.0>
+ <http://www.opengis.net/def/rule/ogc-geosparql/1.0>
+ <http://www.opengis.net/doc/IS/geosparql/1.0>
+ owl:imports dc:
+ <http://www.opengis.net/ont/gml>
+ <http://www.opengis.net/ont/sf>
+ <http://www.w3.org/2004/02/skos/core>
+ owl:versionInfo "OGC GeoSPARQL 1.0"^^xsd:string
"""
# http://www.w3.org/2000/01/rdf-schema#Datatype
diff --git a/rdflib/namespace/__init__.py b/rdflib/namespace/__init__.py
index 618cab78..d96c21f3 100644
--- a/rdflib/namespace/__init__.py
+++ b/rdflib/namespace/__init__.py
@@ -91,6 +91,34 @@ __all__ = [
"ClosedNamespace",
"DefinedNamespace",
"NamespaceManager",
+ "BRICK",
+ "CSVW",
+ "DC",
+ "DCAM",
+ "DCAT",
+ "DCMITYPE",
+ "DCTERMS",
+ "DOAP",
+ "FOAF",
+ "GEO",
+ "ODRL2",
+ "ORG",
+ "OWL",
+ "PROF",
+ "PROV",
+ "QB",
+ "RDF",
+ "RDFS",
+ "SDO",
+ "SH",
+ "SKOS",
+ "SOSA",
+ "SSN",
+ "TIME",
+ "VANN",
+ "VOID",
+ "WGS",
+ "XSD",
]
logger = logging.getLogger(__name__)
diff --git a/rdflib/plugins/stores/sparqlconnector.py b/rdflib/plugins/stores/sparqlconnector.py
index faf57538..cbf7bd92 100644
--- a/rdflib/plugins/stores/sparqlconnector.py
+++ b/rdflib/plugins/stores/sparqlconnector.py
@@ -185,3 +185,6 @@ class SPARQLConnector:
self.update_endpoint + qsa, data=query.encode(), headers=args["headers"]
)
)
+
+
+__all__ = ["SPARQLConnector", "SPARQLConnectorException"]
diff --git a/rdflib/plugins/stores/sparqlstore.py b/rdflib/plugins/stores/sparqlstore.py
index 47bb57f9..cfffbd76 100644
--- a/rdflib/plugins/stores/sparqlstore.py
+++ b/rdflib/plugins/stores/sparqlstore.py
@@ -1011,3 +1011,6 @@ class SPARQLUpdateStore(SPARQLStore):
"""A generator of (predicate, object) tuples for the given subject"""
for t, c in self.triples((subject, None, None)):
yield t[1], t[2]
+
+
+__all__ = ["SPARQLUpdateStore", "SPARQLStore"]