Nick, we only support GeoSPARQL 1.0 at this point in time in the Jena
project with some extensions that predate the OGC effort.

Marco



On Sat, Dec 2, 2023 at 4:36 AM Nicholas Car <n...@kurrawong.net> wrote:

> GeoSPARQL 1.1 is now approved by the OGC and its specification document
> contains many more examples than GeoSPARQL 1.0:
>
> https://opengeospatial.github.io/ogc-geosparql/geosparql11/spec.html
>
> Nick
>
>
>
> On Saturday, 2 December 2023 at 6:39 AM, Marco Neumann <
> marco.neum...@gmail.com> wrote:
>
>
> > PREFIX spatial:http://jena.apache.org/spatial#
> >
> > PREFIX units: http://www.opengis.net/def/uom/OGC/1.0/
> >
> >
> > SELECT *
> > WHERE{
> > ?object spatial:nearby(5 5 10 units:kilometer).
> > }
> >
> > On Fri, Dec 1, 2023 at 8:08 PM Claude Warren cla...@xenei.com wrote:
> >
> > > can you give me an example of a query?
> > >
> > > On Fri, Dec 1, 2023, 19:14 Marco Neumann marco.neum...@gmail.com
> wrote:
> > >
> > > > just go ahead you are almost there
> > > >
> > > > wkt:asWKT "Polygon (( -5.5 -5.5, -4.5 -5.5, -4.5 -4.5, -5.5 -4.5,
> -5.5
> > > > -5.5 ))"^^wkt:wktLiteral
> > > >
> > > > same with the LINESTRING
> > > >
> > > > Marco
> > > >
> > > > On Fri, Dec 1, 2023 at 6:03 PM Claude Warren cla...@xenei.com wrote:
> > > >
> > > > > I am playing with GeoSparql for the fist time and I am trying to
> find
> > > > > an
> > > > > example of how to format the data.
> > > > >
> > > > > I have a polygon:
> > > > > POLYGON ((-5.5 -5.5, -4.5 -5.5, -4.5 -4.5, -5.5 -4.5, -5.5 -5.5))
> > > > >
> > > > > and a linestring:
> > > > > LINESTRING (-1 -3, -1 -2)
> > > > >
> > > > > Using the jena-geosparql module what is the SPARQL insert
> statement to
> > > > > place the polygon into a model or dataset?
> > > > >
> > > > > Once the polygon is in, what is the query that will do the
> equivalent
> > > > > of
> > > > > the jst Geometry.iswithinDistance between the Linestring and the
> > > > > Polygon?
> > > > >
> > > > > Thanks,
> > > > > Claude
> > > > >
> > > > > --
> > > > > LinkedIn: http://www.linkedin.com/in/claudewarren
> > > >
> > > > --
> > > >
> > > > ---
> > > > Marco Neumann
> >
> >
> >
> > --
> >
> >
> > ---
> > Marco Neumann
>


-- 


---
Marco Neumann

Reply via email to