Re: there is a tutorial on the use of fuseki on jsp (JavaServer Pages), to be able to consult about the web platform

2017-11-21 Thread Manuel Quintero Fonseca
I could make a query to show it on a page with jsp with the information on the following page: https://www.codementor.io/isaib.cicourel/sparql-query-using-endpoints-101-du10884g8 Now it is still possible to format the presentation with html, and a search box, we will see how it is going

Advice on hardware upgrade

2017-11-21 Thread John Sanders
Hi, I'm running a Fuseki server on a rather small server. I'm willing to upgrade it a little bit (since it's handling a lot of requests) so I was wondering which single component I could upgrade to get the best possible return. This I suppose boils down to either more RAM or a better CPU.

Re: problem with VALUES querybuilder

2017-11-21 Thread Claude Warren
I have added options to add values inside the graph patterns but have not had time to write the test cases yet. I expect to have the additional features added and tested tomorrow night. I am also add a series of addGraph( graph, [ some sort of triple here ] ) methods to create simple graphs

Re: there is a tutorial on the use of fuseki on jsp (JavaServer Pages), to be able to consult about the web platform

2017-11-21 Thread John A. Fereira
I have done something like this but it’s a bit too complex to describe on a mailing list. It’s basically a Spring MVC java web application that uses JSP (and JSTL) at a view layer for the results. Paul Tysons suggestion to use a javascript library rather than JSP is a good one. Basically,

Re: there is a tutorial on the use of fuseki on jsp (JavaServer Pages), to be able to consult about the web platform

2017-11-21 Thread Paul Tyson
> On Nov 21, 2017, at 12:21, Manuel Quintero Fonseca wrote: > > Yes, I want to make a query with sparql in fuseki, to show the result in a > web. what has been researched, happens to use java for web pages JSP is > used in tomcat. You might have a good reason (or

Re: there is a tutorial on the use of fuseki on jsp (JavaServer Pages), to be able to consult about the web platform

2017-11-21 Thread Manuel Quintero Fonseca
Yes, I want to make a query with sparql in fuseki, to show the result in a web. what has been researched, happens to use java for web pages JSP is used in tomcat. 2017-11-21 6:55 GMT-07:00 ajs6f : > Are you asking about the use of Fuseki from JSP pages? That is, using JSP >

Re: sixteenth anniversary

2017-11-21 Thread Marco Neumann
congratulations to the entire Jena community it's a great open source for many projects, products and research activities around the world. is there a copy of the first release available with source code (http://www-uk.hpl.hp.com/people/bwm/rdf/jena 4/2001)? Best, Marco On Mon, Nov 20, 2017 at

Re: sixteenth anniversary

2017-11-21 Thread Zhe Wu
Congratulations! Andy and team have done a great job! Thanks Zhe Architect | Oracle Sent from BlueMail for iPhone On Nov 21, 2017 at 1:40 AM, Jean-Marc Vanel wrote: Congratulations Andy ! In addition to this nice doo-wop Platters - like , I propose this very

Re: Loading dataset with relative IRIs

2017-11-21 Thread ajs6f
> BUT if you get relative URIs into the dataset, don't expect everything else > to work seamlessly. e.g. SPARQL - in syntax, relative URIs are resolved. Amen. For example, if you serve this data via Fuseki you may find that clients have problems because their requests are getting resolved with

Re: Loading dataset with relative IRIs

2017-11-21 Thread Andy Seaborne
As Martynas says, RDF is defined in terms of absolute URIs. It is MUCH better to invent a base like "http://myBase/;. For Trig, IRI resolution relative the base is always done and there is always a base, RIOT will insert http://base reading from an input stream for TriG. The only bypass is

Re: Loading dataset with relative IRIs

2017-11-21 Thread Mohammad Noorani Bakerally
The link you gave I didn't, I was checking the RDFParser ( http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/riot/RDFParser.html ), thanks for the link, ‌ On Tue, Nov 21, 2017 at 4:03 PM, Martynas Jusevičius wrote: > Yes. Did you look at the JavaDoc?

Re: Loading dataset with relative IRIs

2017-11-21 Thread Martynas Jusevičius
Yes. Did you look at the JavaDoc? https://jena.apache.org/documentation/javadoc/arq/org/apache/jena/riot/RDFDataMgr.html#read-org.apache.jena.query.Dataset-java.lang.String-java.lang.String-org.apache.jena.riot.Lang- On Tue, Nov 21, 2017 at 3:54 PM, Mohammad Noorani Bakerally <

Re: Loading dataset with relative IRIs

2017-11-21 Thread Mohammad Noorani Bakerally
is it possible to explicitly set a base when loading the dataset ? ‌ On Tue, Nov 21, 2017 at 3:46 PM, Martynas Jusevičius wrote: > You cannot. RDF data model is based on absolute URIs. > > On Tue, Nov 21, 2017 at 3:35 PM, Mohammad Noorani Bakerally < >

Re: problem with VALUES querybuilder

2017-11-21 Thread Andy Seaborne
Yes, there is a difference. It (the join) happens just before project and after any GROUP BY. See the algebra at http://www.sparql.org/query-validator.html Andy On 21/11/17 14:46, Claude Warren wrote: based on https://www.w3.org/TR/sparql11-query/#inline-data-examples there is no

Re: problem with VALUES querybuilder

2017-11-21 Thread Andy Seaborne
You can check syntax at: http://www.sparql.org/query-validator.html On 21/11/17 12:05, Chris Dollin wrote: Dear All I'm missing something with use of the query builder to create VALUES clauses. The code @Test public void buildValues() { SelectBuilder sb = new SelectBuilder();

Re: Loading dataset with relative IRIs

2017-11-21 Thread Martynas Jusevičius
You cannot. RDF data model is based on absolute URIs. On Tue, Nov 21, 2017 at 3:35 PM, Mohammad Noorani Bakerally < noorani.bakera...@gmail.com> wrote: > I have a dataset in a trig file with resources having relative iris, when > loading them with the method RDFDataMgr.loadDataset, all the

Re: problem with VALUES querybuilder

2017-11-21 Thread Claude Warren
based on https://www.w3.org/TR/sparql11-query/#inline-data-examples there is no difference between values blocks inside or outside a graph pattern. On Tue, Nov 21, 2017 at 2:35 PM, Claude Warren wrote: > Currently the values are always placed in the top level of the query. >

Re: problem with VALUES querybuilder

2017-11-21 Thread Claude Warren
Currently the values are always placed in the top level of the query. Q: does it make a difference to exeuction? (I suspect it does but I want to make sure before I proceed to add a method to place it inside the graph pattern. Claude On Tue, Nov 21, 2017 at 1:20 PM, Rob Vesse

Loading dataset with relative IRIs

2017-11-21 Thread Mohammad Noorani Bakerally
I have a dataset in a trig file with resources having relative iris, when loading them with the method RDFDataMgr.loadDataset, all the relative IRIs are converted to absolute iris, how can I prevent this, I want them to retain their relative IRIs ? ‌

Re: problem with VALUES querybuilder

2017-11-21 Thread Rob Vesse
The output you get is syntactically valid - VALUES is allowed at the top level of the query as well as within graph patterns It is not clear to me if the latter this Is actually possible with the current query builder, Claude can probably give you a more detailed answer Rob On 21/11/2017,

Advice on hardware upgrade

2017-11-21 Thread 94al51+ch8i714ks7p90
Hi, I'm running a Fuseki server on a rather small server. I'm willing to upgrade it a little bit (since it's handling a lot of requests) so I was wondering which single component I could upgrade to get the best possible return. This I suppose boils down to either more RAM or a better CPU.

problem with VALUES querybuilder

2017-11-21 Thread Chris Dollin
Dear All I'm missing something with use of the query builder to create VALUES clauses. The code @Test public void buildValues() { SelectBuilder sb = new SelectBuilder(); sb.addValueVar("item", "spoo", "flarn"); System.err.println(sb.buildString()); } generates

Re: sixteenth anniversary

2017-11-21 Thread Jean-Marc Vanel
Congratulations Andy ! In addition to this nice doo-wop Platters - like , I propose this very well know song, Sweet little Sixteen, by Chuck Berry, filmed in 1958 at the Newport Jazz festival: https://www.youtube.com/watch?v=Ud8peXosPLg 2017-11-20 17:23 GMT+01:00 Claude Warren

Re: sixteenth anniversary

2017-11-21 Thread Osma Suominen
Like the one here? http://englishcoffeedrinker.blogspot.fi/2009/07/realising-semantic-web.html -Osma ajs6f kirjoitti 20.11.2017 klo 18:26: You mean a Layer Cake, right? https://en.wikipedia.org/wiki/Semantic_Web_Stack :) ajs6f On Nov 20, 2017, at 11:22 AM, Claude Warren