I ended up using a different form of the query.  I might have to revisit
the question to see if I can make it more performant, but I did get a
working solution.

On Sat, Dec 2, 2023 at 3:20 PM Marco Neumann <marco.neum...@gmail.com>
wrote:

> Did that spatial SPARQL query work for you Claude?
>
> Marco
>
> 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
>


-- 
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to