Re: Spin integration

2013-05-29 Thread Martynas Jusevičius
Hey Matias, I'm using SPIN API in Graphity Linked Data platform. Here's an example of a SPIN-based SPARQL QueryBuilder: https://github.com/Graphity/graphity-browser/blob/master/src/main/java/org/graphity/processor/query/QueryBuilder.java I'm also planning to use SPIN constraints to validate

Re: Spin integration

2013-05-29 Thread Martynas Jusevičius
Not sure about Fuseki architecture, as I'm using JAX-RS REST layer over Jena instead. But yeah it looks like you'll need to write some Java code and plug it in. It could work as a request filter of some kind. SPINConstraints is probably the class you need, I think an example should be included

Re: Spin integration

2013-05-29 Thread Matías Parodi
I guess this is it: http://paste.kde.org/753266/ I couldn't find any real example of what to put in the class Fuseki needs to load, all I found is that I can load the class using ja:loadClass (btw, loadClass is not even in the vocabulary, I don't know where it's defined..) Am I supposed to

Re: Spin integration

2013-05-29 Thread Rob Vesse
One option is to look at the DatasetGraphMonitor class which provides a for wrapping another dataset (e.g. a TDB one) and then responding to changes e.g. by validating constraints. Bear in mind that this will see each change as it arrives and you may not want to validate constraints until an

Re: Spin integration

2013-05-29 Thread Matías Parodi
Alright, that makes sense now. I only need to find an example to follow and write my own extension. Thanks. On Wed, May 29, 2013 at 7:08 PM, Rob Vesse rve...@yarcdata.com wrote: One option is to look at the DatasetGraphMonitor class which provides a for wrapping another dataset (e.g. a TDB