Did that spatial SPARQL query work for you Claude? Marco
On Fri, Dec 1, 2023 at 8:08 PM Claude Warren <[email protected]> wrote: > can you give me an example of a query? > > On Fri, Dec 1, 2023, 19:14 Marco Neumann <[email protected]> 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 <[email protected]> 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
