Re: Unsupported major

2016-10-19 Thread Andy Seaborne
On 19/10/16 16:39, Sandor Kopacsi wrote: Thank you, Dick. How can avoid this problem next time? Fuseki takes into consideration the JAVA_HOME system variable? If yes, how and where should I set it? In a starting script of Fuseki You can install multiple JRE's and "point" your application at

Re: Unsupported major

2016-10-19 Thread Dick Murray
On 19 October 2016 at 16:39, Sandor Kopacsi wrote: > Thank you, Dick. > > How can avoid this problem next time? Fuseki takes into consideration the >>> JAVA_HOME system variable? If yes, how and where should I set it? In a >>> starting script of Fuseki >>> >> You can

ApacheCon is now less than a month away!

2016-10-19 Thread Rich Bowen
Dear Apache Enthusiast, ApacheCon Sevilla is now less than a month out, and we need your help getting the word out. Please tell your colleagues, your friends, and members of related technical communities, about this event. Rates go up November 3rd, so register today! ApacheCon, and Apache Big

Re: Unsupported major

2016-10-19 Thread Dick Murray
On 19 October 2016 at 15:10, Sandor Kopacsi wrote: > Dear Dick, > > You are right. I have Java version 1.6.0_37 and the exception says: > > "minor version 52.0" > > Am I right, that Fuseki 1.3 requires Java 8 (that I used previously)? > You'll probably want to

RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
There was no output at all through the general query. Now I am working with an OWL file and get all the concepts (It has only one concept). The query I am running is: prefix owl: prefix rdfs: SELECT DISTINCT ?class ?label

Re: Unsupported major

2016-10-19 Thread Sandor Kopacsi
Thanks, ok, but do they require Java 8? Am 19.10.2016 um 16:19 schrieb Andy Seaborne: On 19/10/16 15:10, Sandor Kopacsi wrote: Dear Dick, You are right. I have Java version 1.6.0_37 and the exception says: "minor version 52.0" Am I right, that Fuseki 1.3 requires Java 8 (that I used

Re: Unsupported major

2016-10-19 Thread Andy Seaborne
On 19/10/16 15:51, Sandor Kopacsi wrote: Thanks, ok, but do they require Java 8? Yes. https://jena.apache.org/download/ "Jena requires Java8 (from Jena version 3.0.0 onwards)." Andy Am 19.10.2016 um 16:19 schrieb Andy Seaborne: On 19/10/16 15:10, Sandor Kopacsi wrote: Dear

Re: Fuseki 2.4.0 web user interface

2016-10-19 Thread Andy Seaborne
On 19/10/16 15:44, Mahmood Ahmad wrote: Ah, your query works! I had just missed a '}' character in the end. Thanks Andy, but why did my query not work. It was: SELECT ?subject ?predicate ?object WHERE { ?subject ?predicate ?object } LIMIT 25 Please note that I can't see your

RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
Ah, your query works! I had just missed a '}' character in the end. Thanks Andy, but why did my query not work. It was: SELECT ?subject ?predicate ?object WHERE { ?subject ?predicate ?object } LIMIT 25 Regards -Original Message- From: Andy Seaborne [mailto:a...@apache.org]

Re: RDF Turtle Blank Nodes

2016-10-19 Thread Andy Seaborne
Does it parse? :-) http://www.sparql.org/data-validator.html Spec: [6] triples ::= subject predicateObjectList | blankNodePropertyList predicateObjectList? It matches blankNodePropertyList predicateObjectList? Andy On 19/10/16 15:24, Erich Bremer wrote: Is this a valid

RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
Andy Your query line cause this parse error: Error 400: Parse error: prefix owl: prefix rdfs: SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } Encountered "" at line 4, column 55. Was expecting one of: ...

RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
>From Windows 10 machine, I used the DOS command prompt C:\.> fuseki-server --update --mem /ds And then opened the browser for the page http://localhost:3030 to start the web UI. By 'query' button, do you mean the big right arrow button on the right? Regards -Original Message-

Re: Fuseki 2.4.0 web user interface

2016-10-19 Thread Andy Seaborne
The list does not pass attachments through. How are you runnign the server exactly? Ask this query: SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } } and don't forget to press the "query" button (it caches results otherwise). Andy On 19/10/16 14:23, Mahmood Ahmad wrote:

RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
I guess it was a search for RDF data that led to https://jena.apache.org/documentation/serving_data/ But the more important is my current problem with displaying query results for a simple ttl file. (I sent a related question on both Jena and Apache lists). I am struggling in displaying simple

Re: Unsupported major

2016-10-19 Thread Andy Seaborne
On 19/10/16 15:10, Sandor Kopacsi wrote: Dear Dick, You are right. I have Java version 1.6.0_37 and the exception says: "minor version 52.0" Am I right, that Fuseki 1.3 requires Java 8 (that I used previously)? The latest version is 1.4 ... and there is Fuseki 2 ... 2.4.0 the Java

Re: Fuseki 2.4.0 web user interface

2016-10-19 Thread Andy Seaborne
Yes - its linked to in that text I quoted,on the page. http://jena.apache.org/documentation/fuseki2/ and it is the nav fro the front page. How did you get to the Fuseki1 documentation? Andy On 19/10/16 13:59, Mahmood Ahmad wrote: Thank Andy, I see it now. Is there a documentation page

Re: Unsupported major

2016-10-19 Thread Sandor Kopacsi
Dear Dick, You are right. I have Java version 1.6.0_37 and the exception says: "minor version 52.0" Am I right, that Fuseki 1.3 requires Java 8 (that I used previously)? I am afraid that the administrators / or the system itself downgraded the Java version to Java 6, which is the pre set or

Getting query results in Apache 2.4.0 web UI

2016-10-19 Thread Mahmood Ahmad
Hi I used a simple ulo.ttl file (owl file converted to ttl format) to upload on dataset /ds (Fuseki 2.4.0) and ran a simple query to get all triples. The file uploaded correctly but generated no result in query results portion of the Fuseki v2.4.0 web UI, although there are 11 triples in

Re: Unsupported major

2016-10-19 Thread Dick Murray
Hi. Check what version of JRE you have with java -version dick@Dick-M3800:~$ java -version java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) Your exception should say what version it is having trouble

Unsupported major

2016-10-19 Thread Sandor Kopacsi
Dear List Members, I wanted to start Fuseki 1.3.0 for test purposes, but I got an exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/jena/fuseki/FusekiCmd : Unsupported major. I do not want to update Fuseki by all means, I just wanted to try something in this test

RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
Andy, I used a simple ulo.ttl file (owl file converted to ttl format) to upload on dataset /ds (Fuseki 2.4.0) and ran a simple query to get all triples. The file uploaded correctly but generated no result in query results portion of the Fuseki v2.4.0 web UI, although there are 11 triples in

RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
Thank Andy, I see it now. Is there a documentation page for Fuseki v2 as well? -Original Message- From: Andy Seaborne [mailto:a...@apache.org] Sent: 19 October 2016 13:57 To: users@jena.apache.org Subject: Re: Fuseki 2.4.0 web user interface Note what it says at the top of the page:

Re: Fuseki 2.4.0 web user interface

2016-10-19 Thread Andy Seaborne
Note what it says at the top of the page: """ This page covers Fuseki v1. As of Jena 2.13.0, there is also a new version, Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and Fuseki v2 are currently active and maintained. """ You are looking at Fuseki1 documentation. Andy On

Re: Fuseki 2.4.0 web user interface

2016-10-19 Thread Andy Seaborne
It is looking for a file called tdb.ttl which is not found. --desc is for a assembler file - you have to provide that, the documentation is out of date. If all you eant is some small data for experimentation: fuseki-server --file /ds will work If you have a TDB database, fuseki-server

Re: Statistic of Data in owl file

2016-10-19 Thread neha gupta
Yes students here are working on projects but we are working independently. Will it be useful if we use another owl file to store information, apart from our main owl file. And use team1.addLiteral() for Number of goals, wins etc so that data might not be over written. And in our main owl

Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
Hi, [I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine] Can anyone please point me to the tdb.ttl for running a few practice SPARQL queries? The Apache Jena says that TDB is a part of Apache Jena 3.1.0 on the following page: http://jena.apache.org/documentation/tdb/index.html I

Re: addliteral() vs setpropertyvalue()

2016-10-19 Thread Lorenz B.
> Yes its true that it returns Null Pointer Exception. It returns NULL, not a NullPointerException! That's totally different! > > But what you people suggest I suppose to do? One thing in my mind is to > include first: > employee.addLiteral(Property, 1) > Then employee.getPropertyValue() > Then

Re: Statistic of Data in owl file

2016-10-19 Thread Lorenz B.
Neha, given that many of you (I read a lots of similar questions) are doing some exercise, you should try to think more complex then. Obviously, one way would be to keep track of the event when data was entered. > I want just to know is there any approach in which we can keep track of > data