From 522bda29066c7c340938979b6f1d8af352230616 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Wed, 17 Jan 2024 22:37:34 -0500 Subject: [PATCH] Add WKT_LITERAL vocabulary support --- lib/oxrdf/src/vocab.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/oxrdf/src/vocab.rs b/lib/oxrdf/src/vocab.rs index a0c3bd5c..56110c4a 100644 --- a/lib/oxrdf/src/vocab.rs +++ b/lib/oxrdf/src/vocab.rs @@ -231,3 +231,12 @@ pub mod xsd { pub const YEAR_MONTH_DURATION: NamedNodeRef<'_> = NamedNodeRef::new_unchecked("http://www.w3.org/2001/XMLSchema#yearMonthDuration"); } + +pub mod geosparql { + //! [GeoSpatial](https://opengeospatial.github.io/ogc-geosparql/) vocabulary. + use crate::named_node::NamedNodeRef; + + /// Geospatial datatype like `"Point({longitude} {latitude})"^^geo:wktLiteral` + pub const WKT_LITERAL: NamedNodeRef<'_> = + NamedNodeRef::new_unchecked("http://www.opengis.net/ont/geosparql#wktLiteral"); +}