Jason - in Eclipse, you just import the maven module and it sorts out setting up the project. Or you can import the top-level POM and Eclipse lets you choose the modules to import. Other IDEs act the same way.

You probably want a minimal set of jena-core, jena-arq, jena-tdb and jena-fuseki-core.

    Andy


On 28/09/16 23:59, Jason Koh wrote:
OK. Then, I would like to "try" to embed SPIN into Fuseki by myself. Maybe
I could push it later. (if people have an interest in this... It looks
people lost interests in either Fuseki or SPIN... Otherwise, is the
integration not a good idea?)

I succeeded at cloning the repo and building Fuseki by maven, but I still
have a few questions if you can help me.

Here's what I want to do:
1. Whenever a flag (I define) is set in a GET and POST request, it performs
SPIN inference or validation based on the given graph.
2. With a custom HTTP request, Fuseki performs SPIN inference on the entire
graph.

Questions:
1. What is the functions related to SPARQL query processing? I am looking
at SPARQL_Query.java, ActionSPARQL.java, etc., but this kinda
reverse-engineering does not work well until now. I will look into the
JavaDoc more, but I would appreciate if I can get an enlightment here.
2. How can I import the entire project into an IDE? Is there a general
recommendation on this? Text editor + mvn is quite painful to me as I am a
junior engineer.

Thank you!


With regards,
Jason Koh
cseweb.ucsd.edu/~jbkoh

On Wed, Sep 28, 2016 at 12:33 PM, Andy Seaborne <[email protected]> wrote:

Jason,

I don't know of a proper integration - it will need some kind of repacking
Fuseki because of getting java code into the fuseki jar or war files.

Maybe the place to ask is the spin users list :
http://groups.google.com/group/topbraid-users

    Andy


On 26/09/16 20:51, Jason Koh wrote:

Dear all,

I found a related thread about this issue back in the old days.
http://markmail.org/message/h4shizbsw2ezdojn

I however cannot find a proper implementation of SPIN API (
http://topbraid.org/spin/api/) integration to Fuseki yet. Does anybody
know
a pointer to how to integrate of SPIN API and Fuseki?

I would like to store triples into Fuseki and run SPIN rules on triples in
TDB via HTTP query to Fuseki.

Thank you.


With regards,
Jason Koh
cseweb.ucsd.edu/~jbkoh



Reply via email to