Re: Followup GeoSparql + TDB 1 : freeze

2021-03-30 Thread Greg Albiston
Hi Jean-Marc, If you are only interested in the GeoSPARQL predicates then perhaps try using the no index options as outlined in the documentation: * No indexes setup (Query rewrite still performed but results not stored) : |GeoSPARQLConfig.setupNoIndex()| * No indexes and no query

Re: Jena geosparql , simple export use case ; practical doc. needed

2020-10-26 Thread Greg Albiston
Hi Jena-Marc, The namespace is for NeoGeo Spatial ontology, which has similarities to GeoSPARQL specification but is not fully compliant. The Apache Jena spatial property functions use . These are additional functions that exte

Re: GeoSPARQL: Why either geo:lat/long or geosparql:hasGeometry

2020-05-02 Thread Greg Albiston
The use of mixed datasets is not recommended and could be argued to be a somewhat niche use case. Conversion functions are provided to change Lat/Lon geometries to GeoSPARQL geometry. A user could also run two instances and direct the relevant spatial queries to either. Support for Lat/Lon was in

Re: regd: geosparql query

2020-05-02 Thread Greg Albiston
Using GeoSPARQL with Fuseki requires using GeoSPARQL Fuseki module, which runs Fuseki as an embedded server and has no GUI support. Please see documentation at: https://jena.apache.org/documentation/geosparql/geosparql-fuseki I don't think the mailing list supports images so it's unclear what you

Re: regd : geosparql queries inside Fuseki server

2020-04-19 Thread Greg Albiston
Sorry for the late response on this and thank you for replying. A couple of extra points: There is a "spatial:equals" property function and a "spatialF:equals" filter function that should return true to the point equality that Lorenz tested and is referred to in the Spatial Relations section of t

Re: Unclosed iterator in GeoSPARQL

2020-02-17 Thread Greg Albiston
Hi Holger, Thank you for highlighting these points. The following fixes have been applied to the 3.15-SNAPSHOT. * The iterators are now checked for more than one of either property and are closed along with a DatatypeFormat exception being thrown since only a single of each property shoul

GeoSPARQL Module - Testing

2019-01-30 Thread Greg Albiston
Hello, There was notification before Christmas about phasing out the jena-spatial module and replacing it with a GeoSPARQL compliant module. Work has been completed on incorporating the functions from jena-spatial relating to Lat/Lon geo predicates into the new module. These functions also have

Re: Retiring Jena modules

2018-12-21 Thread Greg Albiston
ntribution from Greg Albiston: > The project is now published on GitHub at > https://github.com/galbiston/geosparql-jena and has been released to > Maven Central today. > > There is also a project which uses Fuseki's embedded server with the > GeoSPARQL feature

Query VALUES Variable Names

2018-11-07 Thread Greg Albiston
Hello, I'm trying to retrieve the VALUES variable names of a Query parsed from a string. When I run the below test the result is false when I was expecting true. The query is from the SPARQL 1.1 standard. Can the VALUES variable names be retrieved from another method? Apologies if I've miss

RE: Spatial Searches with SPARQL

2018-09-05 Thread Greg Albiston
y this was discussed with a possible future implementation from Greg Albiston here [2]. Cheers, Lorenz [1] https://stackoverflow.com/questions/52094346/jena-dataaccessorfactory-with-the-parliament-triplestore [2] https://lists.apache.org/thread.html/2f09f9c3cfc749c84d09b6c5d2cb40f962986f9fd2890f

RE: Jena DataAccessor and the Parliament triplestore

2018-09-05 Thread Greg Albiston
Hi Kris, I've previously managed to get Parliament working through the API. Parliament still uses Jena 2.9.4 and Joseki (precursor to Fuseki). There are significant package name changes between Jena 2.x and 3.x so they aren't compatible. Below is code that I managed to put together through a lo

RE: RE: GeoSPARQL modules Was: Spatial distance in Fuseki

2018-08-30 Thread Greg Albiston
Fuseki Hello Greg On 2018/08/28 15:25:42, Greg Albiston <mailto:greg_albis...@hotmail.com> wrote: It's not clear to me whether JTS can be used with Apache SIS for point 3 and perhaps Martin can help? It let users choose between JTS, ESRI API (under Apache 2 license) or Java2D as a f

RE: GeoSPARQL modules Was: Spatial distance in Fuseki

2018-08-28 Thread Greg Albiston
h I believe may present some problems for Jena (which > is, of course, licensed as Apache 2.0). > > ajs6f > > [1] https://github.com/locationtech/jts/blob/master/LICENSES.md > [2] > http://docs.geotools.org/latest/userguide/faq.html#q-what-licence-does > -geotools-use > >

Re: Spatial distance in Fuseki

2018-08-24 Thread Greg Albiston
Hello, Since the topic has come up. I've put together an implementation of all the GeoSPARQL modules which I was getting around to discussing contributing. It has dependencies on JTS, for spatial relations and distances etc., and GeoTools, for coordinate reference system conversions. I think th

RE: Jena Fuseki Inference Configuration

2018-05-31 Thread Greg Albiston
Hi Matt, I asked a similar question on the 3rd April related to RDFS inferencing on TDB using the assemblers. The outcome of that was it could be done in Fuseki but for my use case it was better to apply the inferencing when loading the dataset. The email chain is titled “TDB Assembly: Multiple

RE: TDB2 tdbstats Script Error

2018-04-13 Thread Greg Albiston
:type" will do. I not sure how much use of stats is enabled for query execution in TDB2. On 12/04/18 11:28, Greg Albiston wrote: > Hello, > > I've created a new TDB2 dataset using Jena 3.7.0. I'm now trying to run the > tdbstats script on the command line (in Windows using th

TDB2 tdbstats Script Error

2018-04-12 Thread Greg Albiston
Hello, I've created a new TDB2 dataset using Jena 3.7.0. I'm now trying to run the tdbstats script on the command line (in Windows using the tdbstats.bat script). When running this I get an exception "Unable to check TDB lock owner as the lock file contains invalid data" (stack trace below signa

RE: TDB Assembly: Multiple Named Graphs with RDFS Inferencing

2018-04-05 Thread Greg Albiston
. Thanks again, Greg -Original Message- From: Andy Seaborne Sent: 04 April 2018 16:00 To: users@jena.apache.org Subject: Re: TDB Assembly: Multiple Named Graphs with RDFS Inferencing On 04/04/18 11:56, Greg Albiston wrote: > Hi Andy, > > I'm trying to use the TDB

RE: TDB Assembly: Multiple Named Graphs with RDFS Inferencing

2018-04-04 Thread Greg Albiston
e to pull your graphs and inference together, and a subsidiary one to have the TDB storage. Does this example help? https://github.com/apache/jena/blob/master/jena-fuseki2/examples/service-inference-2.ttl Andy On 03/04/18 15:14, Greg Albiston wrote: > Hello, > > I'm tryi

TDB Assembly: Multiple Named Graphs with RDFS Inferencing

2018-04-03 Thread Greg Albiston
Hello, I'm trying to setup a TDB dataset that contains multiple named graphs which each use RDFS inferencing and a schema. I've tried to follow the website documentation but there are several gaps on this topic. For example, the RDFS section on https://jena.apache.org/documentation/tdb/assemble