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 compile the example I pasted above? How does fuseki know
when to call it? I'm confused now..

Thanks.


On Wed, May 29, 2013 at 12:10 PM, Martynas Jusevičius <[email protected]
> wrote:

> 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 with the API:
>
> http://topbraid.org/spin/api/1.2.0/spin/apidocs/org/topbraid/spin/constraints/SPINConstraints.html
> 1.3.0 Javadoc is not online though, you would have to look in the
> distribution.
>
> Martynas
>
> On Wed, May 29, 2013 at 6:01 PM, Matías Parodi <[email protected]>
> wrote:
> > Thank you for your answer. The Spin's distribution I downloaded from the
> > link you pasted above only has Java examples, useful when your
> application
> > is using Jena directly. I'm using Jena through Fuseki, it's a Ruby on
> Rails
> > app...
> >
> > I guess I'll have to write a class with <something> and ask Fuseki to
> load
> > it on startup, I'm trying to find an example now.
> >
> >
> > On Wed, May 29, 2013 at 11:44 AM, Martynas Jusevičius <
> [email protected]
> >> wrote:
> >
> >> 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 incoming RDF
> input.
> >>
> >> You can add SPIN dependency as described here:
> >> http://topbraid.org/spin/api/
> >> The documentation is scarce, but you can look at the code since it's
> >> open-source. Constraints are handled by the SPINConstraints class, as
> >> far as I remember. You can also get help from Holger in the Google
> >> Group:
> >> https://groups.google.com/forum/?fromgroups=#!forum/topbraid-users
> >>
> >> Martynas
> >> graphityhq.com
> >>
> >> On Wed, May 29, 2013 at 5:23 PM, David Jordan <[email protected]>
> >> wrote:
> >> > I have the same interests, but don't have a commitment to Pellet, at
> >> least not yet.
> >> >
> >> > -----Original Message-----
> >> > From: Matías Parodi [mailto:[email protected]]
> >> > Sent: Wednesday, May 29, 2013 10:17 AM
> >> > To: [email protected]
> >> > Subject: Spin integration
> >> >
> >> > Hello,
> >> >
> >> > I haven't found information about how to integrate Spin (spinrdf.org)
> >> with Jena. Is there any way to do so?
> >> >
> >> > I'll really appreciate any information on that matter since the
> >> application I'm working on uses Jena through Fuseki, and now I need to
> >> force some constraints when an insertion is done in TDB.
> >> >
> >> > By the way, I'm using the reasoner Pellet.
> >> >
> >> > Thank you,
> >> > Matt
> >>
>

Reply via email to