Re: Sesame Tripe store

2015-08-18 Thread Andy Seaborne
On 18/08/15 09:30, kumar rohit wrote: Hi, how can I use Sesame using eclipse and Jena Api? Any tutorial for Sesame used in Eclipse IDE? Personally, I find it easier to run the triple server outside Eclipse and the client code inside. Sesame questions will be better answered on the Sesame

Re: Can I save an in-memory Jena Model to a remote Fuseki-managed database?

2015-08-18 Thread Andy Doddington
You’ll think me very dense, but how do I specify the dataset name? When I specify the dummy URL that you suggest (I don’t care what the dataset is called at the moment) I get: Exception in thread main org.apache.jena.atlas.web.HttpException: 404 - Not Found I feel I’m missing some

Re: Quad store HTTP semantics

2015-08-18 Thread james anderson
good morning; On 2015-08-18, at 11:52, Martynas Jusevičius marty...@graphity.org wrote: This was getting off-topic, so I changed the subject. So these HTTP operations would have to be executed on a a quad endpoint that represents the dataset as a whole? And if I PUT a single quad, the

Re: Quad store HTTP semantics

2015-08-18 Thread Andy Seaborne
On 18/08/15 10:52, Martynas Jusevičius wrote: This was getting off-topic, so I changed the subject. So these HTTP operations would have to be executed on a a quad endpoint that represents the dataset as a whole? And if I PUT a single quad, the whole store would be wiped and replaced with it? Or

Re: Quad store HTTP semantics

2015-08-18 Thread Martynas Jusevičius
James, so which of the entries in the table represents the following case? PUT /rdf-graph-store Host: example.com Content-Type: application/n-quads http://one.example/subject1 http://one.example/predicate1 http://one.example/object1 http://example.org/graph1 . If no graph is

Sesame Tripe store

2015-08-18 Thread kumar rohit
Hi, how can I use Sesame using eclipse and Jena Api? Any tutorial for Sesame used in Eclipse IDE?

Re: Can I save an in-memory Jena Model to a remote Fuseki-managed database?

2015-08-18 Thread Andy Doddington
OK, I’ve created the model, which I can successfully print out using 'model.write(System.out, RDF/XML-ABBREV”);' However, when I use your code below, and do an acc.put(model) I find that there is nothing on the server, even though no errors are indicated. The URL that I am using for the

Re: Can I save an in-memory Jena Model to a remote Fuseki-managed database?

2015-08-18 Thread Andy Seaborne
The dataset (not the graph) needs to exist before the operation is attempted. e.g. via the UI, or via startup with --update /ds for a name of ds. http://foobar:3030/myDatasetName/data /myDatasetName -- dataset name - must exist /myDatasetName/data -- service endpoint for GSP on that

Re: Quad store HTTP semantics

2015-08-18 Thread Andy Seaborne
On 18/08/15 12:10, james anderson wrote: good afternoon; On 2015-08-18, at 12:35, Andy Seaborne a...@apache.org mailto:a...@apache.org wrote: […] That is the definition of PUT for HTTP always. See quote from the RFC. created or replaced, the old content is lost. There is nothing special

Re: Fuseki over HTTPS?

2015-08-18 Thread A. Soroka
I checked more carefully (should have done that before replying) and it seems that Fuseki 2 also offers the `--jetty-config` flag for using a Jetty configuration that supports HTTPS: --jetty-config=FILESet up the server (not services) with a Jetty XML file --- A. Soroka The University of

Re: Fuseki over HTTPS?

2015-08-18 Thread Andy Seaborne
Right. In a production environment, a reverse proxy is useful for several things and while there is nothing that force a reverse proxy, the weight of features can mean it's a useful and flexible thing to put into a production system. 1/ Blocking undesirable clients (manic crawlers, badly

Re: Can I save an in-memory Jena Model to a remote Fuseki-managed database?

2015-08-18 Thread Andy Seaborne
Out of the box, the UI only responds to the localhost. If you access it from a different machine, or (unfortunately) the same machine but its external IP address, the Fuseki refuses access to the JSON calls driving the interface. You can change the default to a user/password.

Re: Fuseki over HTTPS?

2015-08-18 Thread aj...@virginia.edu
Are you deploying Fuseki to your own servlet container (e.g. Tomcat or Jetty) or using the server included with Fuseki and is it Fuskei 1 or 2? If the former, you will need to supply configuration specific to that container. If the latter and it is Fuseki 1, there is a Stack Overflow answer

Re: Can I save an in-memory Jena Model to a remote Fuseki-managed database?

2015-08-18 Thread Andy Doddington
Hah! I hadn’t configured a dataset. Now rectified by setting the config.ttl to be one of the templates provided as part of the build. Curiously though, although I can see this when I run a browser locally on the server, and set the url to localhost:3030, I don't see any datasets listed when I