RE: Fuseki with a web.xml

2015-01-09 Thread Trevor Donaldson
Not production ready, yet? Oh no. :-( On Jan 9, 2015 6:59 PM, "John A. Fereira" wrote: > I haven't looked at Fuseki2 in a few weeks but did finally get a version > deployed with includes both a TDB and an SDB datastore, running under > Tomcat. I've got a project for which I'll need to use Fuseki

RE: Fuseki with a web.xml

2015-01-09 Thread John A. Fereira
I haven't looked at Fuseki2 in a few weeks but did finally get a version deployed with includes both a TDB and an SDB datastore, running under Tomcat. I've got a project for which I'll need to use Fuseki and would like to use Fuseki2 but last time I used it there were still a number of things t

Re: Fuseki with a web.xml

2015-01-09 Thread Trevor Donaldson
Awesome. That is exactly what I was trying to do. Use shiro. Woohoo. Is there an example utilizing Shiro and fuseki? On Jan 9, 2015 6:45 PM, "Andy Seaborne" wrote: > On 09/01/15 22:11, Trevor Donaldson wrote: > >> Is it possible to have a Web.xml file with fuseki. I would like to setup a >> filte

Re: Fuseki with a web.xml

2015-01-09 Thread Andy Seaborne
On 09/01/15 22:11, Trevor Donaldson wrote: Is it possible to have a Web.xml file with fuseki. I would like to setup a filter element. Is this possible? Yes. See Fuseki2 which is all web.xml driven including as a WAR file. (It already uses a servlet filter to put Apache Shiro onto the dispat

Fuseki with a web.xml

2015-01-09 Thread Trevor Donaldson
Is it possible to have a Web.xml file with fuseki. I would like to setup a filter element. Is this possible?

Re: Inferencing

2015-01-09 Thread Kamalraj Jairam
Hello Dave and everyone I have run into one more issue I have a class “A” and “B” in my ontology for which i have added an equivalent class from “Schema.org” and “DBPedia” ontologies (This is to provide external context). Now when i run the reasoner to inter data against my

Re: How to update fuseki from a local model?

2015-01-09 Thread Andy Seaborne
On 09/01/15 19:47, Trevor Donaldson wrote: Could I possible do this ? For the adds, yes. DatasetAccessor dataAccessor = DatasetAccessorFactory.createHTTP("http//localhost:3030/ds"); Model model = dataAcessor.getModel(); OntModel ontmodel = ModelFactory.createOntologyModel(OntModelSpec.OWL_D

Re: How to update fuseki from a local model?

2015-01-09 Thread Trevor Donaldson
I take that back. I am unable to pull back the named graph. That will not work for me. Looks like manual statements it is. On Fri, Jan 9, 2015 at 2:47 PM, Trevor Donaldson wrote: > Could I possible do this ? > > DatasetAccessor dataAccessor = > DatasetAccessorFactory.createHTTP("http//localhost

Re: How to update fuseki from a local model?

2015-01-09 Thread Trevor Donaldson
Could I possible do this ? DatasetAccessor dataAccessor = DatasetAccessorFactory.createHTTP("http//localhost:3030/ds"); Model model = dataAcessor.getModel(); OntModel ontmodel = ModelFactory.createOntologyModel(OntModelSpec.OWL_DL_MEM); ontmodel.add(model); //add, remove etc... do dataAcessor.a

Re: How to update fuseki from a local model?

2015-01-09 Thread Martynas Jusevičius
Andy - builder code like this? https://github.com/Graphity/graphity-client/blob/master/src/main/java/org/graphity/processor/update/InsertDataBuilder.java It is based on SPIN though, not on Jena directly. On Fri, Jan 9, 2015 at 6:49 PM, Andy Seaborne wrote: > On 09/01/15 15:13, Trevor Donaldson w

Re: How to update fuseki from a local model?

2015-01-09 Thread Trevor Donaldson
@Andy - Yes there are bNodes in it. On Fri, Jan 9, 2015 at 12:49 PM, Andy Seaborne wrote: > On 09/01/15 15:13, Trevor Donaldson wrote: > >> Hi all, >> >> Is there a way to take a temp model and send the result to fuseki? >> >> What I would like to accomplish : >> 1. Insert / delete triples in te

Re: How to update fuseki from a local model?

2015-01-09 Thread Trevor Donaldson
I think building the sparql manually is the way to go. On Fri, Jan 9, 2015 at 1:23 PM, Trevor Donaldson wrote: > @Andy - Yes there are bNodes in it. > > On Fri, Jan 9, 2015 at 12:49 PM, Andy Seaborne wrote: > >> On 09/01/15 15:13, Trevor Donaldson wrote: >> >>> Hi all, >>> >>> Is there a way to

Re: Graph traversal and Jena TDB

2015-01-09 Thread Martynas Jusevičius
There was some interesting research from Microsoft about their Trinity RDF store, could be relevant here: http://research.microsoft.com/apps/pubs/default.aspx?id=183717 On Fri, Jan 9, 2015 at 7:05 PM, Andy Seaborne wrote: > On 09/01/15 11:08, Olivier Rossel wrote: >> >> Hi everyone. >> >> I have

Re: Graph traversal and Jena TDB

2015-01-09 Thread Andy Seaborne
On 09/01/15 11:08, Olivier Rossel wrote: Hi everyone. I have this (classical) graph traversal use case: in a graph, let's find all the paths from resource A to resource B. AFAIU, SPARQL has a dedicated syntax for that. http://www.w3.org/TR/sparql11-query/#propertypaths (called property path

Re: How to update fuseki from a local model?

2015-01-09 Thread Andy Seaborne
On 09/01/15 15:13, Trevor Donaldson wrote: Hi all, Is there a way to take a temp model and send the result to fuseki? What I would like to accomplish : 1. Insert / delete triples in temp model 2. Send results (inserts and deletes) to fuseki to have it update the named graph Is this possible or

How to update fuseki from a local model?

2015-01-09 Thread Trevor Donaldson
Hi all, Is there a way to take a temp model and send the result to fuseki? What I would like to accomplish : 1. Insert / delete triples in temp model 2. Send results (inserts and deletes) to fuseki to have it update the named graph Is this possible or do I need to do build the sparql queries man

Graph traversal and Jena TDB

2015-01-09 Thread Olivier Rossel
Hi everyone. I have this (classical) graph traversal use case: in a graph, let's find all the paths from resource A to resource B. AFAIU, SPARQL has a dedicated syntax for that. (called property path). In my use case, the property paths to match have unknown length. I think Virtuoso stores trip