Data loads, and I can query it!

public static void main(String...a) {
a = new String[] {"-d", "ds", "-rf", "geo.ttl", "-i", "true", "-dg", "true"};
    io.github.galbiston.geosparql_fuseki.Main.main(a);

data is geosparql_test.rdf in TTL.

SELECT ?subj ?obj
WHERE{
    ?subj geo:sfContains ?obj
} ORDER by ?subj ?obj

    Andy

On 09/10/18 14:57, Andy Seaborne wrote:
Hi Greg,

Excellent to see this!

I'll have ago at a shaded jar [*]

My first attempt shows an "interesting" issue : it only works with java8, not java 11 (well, this is Ubuntu, its actually Java 10.0.2 but it has modules):

Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlType

This is nothing to do with geosparql-fuseki and something we all are going to see for a while.

There is a dependency is maven central.
     http://central.maven.org/maven2/javax/xml/bind/jaxb-api/


Then, or with java 8, I get me a likely looking warning:

Oct 09, 2018 2:46:35 PM org.apache.sis.referencing.factory.sql.EPSGFactory <init>
WARNING: The “SIS_DATA” environment variable is not set.

and it is time to read the README properly!

     Andy

[*]
https://gist.github.com/afs/1edc6aed00b56966c44b70a0d763f071

POM, because it is a hacked copy of another one (RDF Delta) - when it's working I can gradle-ize it



On 08/10/18 14:38, Greg Albiston wrote:
Hello,

Previously I made contact about an implementation of the GeoSPARQL standard for Jena.

There was a suggestion to make this a standalone project and look into switching across to Apache SIS to ease licencing. These have both been done.

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 features at https://github.com/galbiston/geosparql-fuseki.

I've tried to use the Shadow Plugin for Gradle to produce a user-jar based on https://jena.apache.org/documentation/notes/jena-repack.html but haven't been successful. If anyone can provide any advice or guidance on this then I'd appreciate it.

Also, being able to utilise the Fuseki GUI with the embedded server, since the application is providing data loading and function setup features, would also be useful to get guidance about.

If you have any feedback then please let me know.

Thanks,

Greg

Reply via email to