Re: Rules

2017-01-06 Thread javed khan
Thanks a lot Lorenz, yes the query you provided perfectly works. Kindly one last cooperation, I have never tried nested queries in Jena code and it gives me error, so if you provide the correct syntax i-e where to use the commas and where not? Thanks again. Regards On Fri, Jan 6, 2017 at 5:23 PM,

Re: Fuseki - how to release memory

2017-01-06 Thread A. Soroka
Can you give us your actual Fuseki config (i.e. assembler file)? Or are you repeatedly creating new datasets via the admin API? --- A. Soroka The University of Virginia Library > On Jan 6, 2017, at 10:43 AM, Janda, Radim wrote: > > Hello, > we use in-memory datasets. > JVM is big enough but as

Re: Fuseki - how to release memory

2017-01-06 Thread Janda, Radim
Hello, we use in-memory datasets. JVM is big enough but as we process thousands of small data sets the memory is allocated continuously. Actualy we restart Fuseki every hour to avoid out of memory error. However the performance is also decreasing in time (before restart) that's why we are looking f

Re: Fuseki - how to release memory

2017-01-06 Thread Andy Seaborne
Are you using persistent or an in-memory datasets for your working storage? If you really mean memory (RAM), are you sure the JVM is big enough? Fuseki tries to avoid holding on to cache transactions but if the server is under heavy read requests (Rob's point) then it can build up (solution -

Re: Rules

2017-01-06 Thread Lorenz B.
> This query now display both student and highscore > > select ?subject ?student ?highScore where { > {select ?subject (max(?score) as ?highScore) { ?student ont:Englishsscore > ?score > } > group by ?subject > } > ?student ont:Englishscore ?highScore > } Doesn't make sense. Don't copy ans

Re: Rules

2017-01-06 Thread Lorenz B.
> SELECT (max(?score) as ?highScore) > WHERE { ?std ont:Englishscore ?score } > > And it gives me the highscore of subject English as 77 > > When I use this > > SELECT ?std (max(?score) as ?highScore) > WHERE { ?std ont:Englishscore ?score } GROUP BY ?std > > It gives me all the students with the

Re: Rules

2017-01-06 Thread javed khan
This query now display both student and highscore select ?subject ?student ?highScore where { {select ?subject (max(?score) as ?highScore) { ?student ont:Englishsscore ?score } group by ?subject } ?student ont:Englishscore ?highScore } On Fri, Jan 6, 2017 at 4:39 PM, javed khan wrote: >

Re: Fuseki - how to release memory

2017-01-06 Thread Rob Vesse
Deleting data does not reclaim all the memory, exactly what is and isn’t reclaimed depends somewhat on your exact usage pattern. The B+Tree’s which are the primary data structure for TDB, the default database used in Fuseki, does not reclaim the space. It is potentially subject fragmentation as

Re: Rules

2017-01-06 Thread javed khan
Hi Lorenz, I uses this SELECT (max(?score) as ?highScore) WHERE { ?std ont:Englishscore ?score } And it gives me the highscore of subject English as 77 When I use this SELECT ?std (max(?score) as ?highScore) WHERE { ?std ont:Englishscore ?score } GROUP BY ?std It gives me all the students wit

Re: Compile Forked Version

2017-01-06 Thread Samur Araujo
Thank you for all the help! It is clear now that the fork have several bugs and issues. Best. On 6 January 2017 at 11:51, Andy Seaborne wrote: > > > On 05/01/17 16:16, Samur Araujo wrote: > >> Thank you Andy, your suggestion worked but I got this new error: >> > > Don't recognize that one and

Re: Fuseki - how to release memory

2017-01-06 Thread Janda, Radim
Hello Lorenz, yes I meant delete data from Fuseki using DELETE command. We have version 2.4 installed. We use two types of queries: 1. Insert new triples based on existing triples rdf model (insert sparql) 2. Find some results in the data (select sparql) Thanks Radim On Fri, Jan 6, 2017 at 1:04

Re: Fuseki - how to release memory

2017-01-06 Thread Lorenz B.
Hello Radim, just to avoid confusion, with "Delete whole Fuseki" you mean the data loaded into Fuseki, right? Which Fuseki version do you use? What kind of transformation do you do? I'm asking because I'm wondering if it's necessary to use Fuseki. Cheers, Lorenz > Hello, > We use Jena Fuseki

Fuseki - how to release memory

2017-01-06 Thread Janda, Radim
Hello, We use Jena Fuseki to process a lot of small data sets. It works in the following way: 1. Delete whole Fuseki (using DELETE command) 2. Load data to Fuseki (using INSERT) 3. Tranform data and create output (sparql called from Python) 4. ad 1)2)3 delete Fuseki and Transform another data

Re: Compile Forked Version

2017-01-06 Thread Andy Seaborne
On 05/01/17 16:16, Samur Araujo wrote: Thank you Andy, your suggestion worked but I got this new error: Don't recognize that one and I don't remember it being some issue with Jena. It would be good if that clone yuo are workign from were up-to-date with the Jena development master branch so

Re: Compile Forked Version

2017-01-06 Thread Lorenz B.
You could also try to do a rebase > Thank you Andy, your suggestion worked but I got this new error: > > NFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 8 resources > [INFO] Copying 1 resource > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:3.5.1:c

Re: Rules

2017-01-06 Thread Lorenz B.
Yes, that would be the easiest solution. > Hello Lorenz, thanks a lot for kind cooperation. > > It means I will have three queries for NetworkingScore, Cryptographyscore > and SEscore? > > On Thu, Jan 5, 2017 at 1:27 PM, Lorenz B. < > buehm...@informatik.uni-leipzig.de> wrote: > >> The query I s