Re: Extending Sparql with New Keywords

2018-02-05 Thread Berkin Özdemir Bengisu
This is actually a part of my master thesis, I will also extend the
processor and add my own functions according to the keywords. Basically my
aim is to form a new language by extending sparql 1.1.


2018-02-05 23:55 GMT+02:00 Martynas Jusevičius :

> Berkin,
>
> unless this is some kind of exercise, is this really a good idea? What
> would be the adoption rate of your new language? All SPARQL 1.1 processors
> will report errors in your extended syntax.
>
> On Mon, Feb 5, 2018 at 9:42 PM, Berkin Özdemir Bengisu <
> berkinozdemirbeng...@gmail.com> wrote:
>
> > Hello,
> >
> > I am using jena 3.6.0 and I would like to extend the sparql 1.1 grammar
> > with some new keywords. Could you please help me what would be the best
> way
> > to start with?
> >
> > - As I understood, the grammar is generated by javaCC but I was unable to
> > find any documentation or any main classes that actually generate the
> > grammar. Are grammar classes generated as an out source and then added to
> > the project?
> >
> > I would be really glad if you could guide me on this.
> >
> > Best
> > Berkin
> >
>


Re: Extending Sparql with New Keywords

2018-02-05 Thread Martynas Jusevičius
Berkin,

unless this is some kind of exercise, is this really a good idea? What
would be the adoption rate of your new language? All SPARQL 1.1 processors
will report errors in your extended syntax.

On Mon, Feb 5, 2018 at 9:42 PM, Berkin Özdemir Bengisu <
berkinozdemirbeng...@gmail.com> wrote:

> Hello,
>
> I am using jena 3.6.0 and I would like to extend the sparql 1.1 grammar
> with some new keywords. Could you please help me what would be the best way
> to start with?
>
> - As I understood, the grammar is generated by javaCC but I was unable to
> find any documentation or any main classes that actually generate the
> grammar. Are grammar classes generated as an out source and then added to
> the project?
>
> I would be really glad if you could guide me on this.
>
> Best
> Berkin
>


Extending Sparql with New Keywords

2018-02-05 Thread Berkin Özdemir Bengisu
Hello,

I am using jena 3.6.0 and I would like to extend the sparql 1.1 grammar
with some new keywords. Could you please help me what would be the best way
to start with?

- As I understood, the grammar is generated by javaCC but I was unable to
find any documentation or any main classes that actually generate the
grammar. Are grammar classes generated as an out source and then added to
the project?

I would be really glad if you could guide me on this.

Best
Berkin


Re: Limit memory usage of Fuseki server?

2018-02-05 Thread ajs6f
Can you tell us more about your configuration, data, workload, and the timing 
of the problem?

ajs6f

> On Feb 5, 2018, at 7:08 AM, Laura Morales  wrote:
> 
> You can tell the Kernel to limit memory usage per process or per user. If you 
> set the limit too low your process will be killed because it can't allocate 
> more memory, but you can tell the Kernel to only limit resident memory while 
> using up all the virtual memory it wants. You can do this with cgroups.
>  
>  
> 
> Sent: Monday, February 05, 2018 at 12:56 PM
> From: "Mikael Pesonen" 
> To: users@jena.apache.org
> Subject: Limit memory usage of Fuseki server?
> We have a cloud server with 4gb of memory and after a while system is
> killing Fuseki server java process for using up all memory. Is it
> possible to limit memory usage, and what would be the performance
> penalty for doing that?
> 
> Thanks.
> 
> --
> Lingsoft - 30 years of Leading Language Management
> 
> www.lingsoft.fi[http://www.lingsoft.fi]
> 
> Speech Applications - Language Management - Translation - Reader's and 
> Writer's Tools - Text Tools - E-books and M-books
> 
> Mikael Pesonen
> System Engineer
> 
> e-mail: mikael.peso...@lingsoft.fi
> Tel. +358 2 279 3300
> 
> Time zone: GMT+2
> 
> Helsinki Office
> Eteläranta 10
> FI-00130 Helsinki
> FINLAND
> 
> Turku Office
> Kauppiaskatu 5 A
> FI-20100 Turku
> FINLAND
>  



Re: Limit memory usage of Fuseki server?

2018-02-05 Thread Laura Morales
You can tell the Kernel to limit memory usage per process or per user. If you 
set the limit too low your process will be killed because it can't allocate 
more memory, but you can tell the Kernel to only limit resident memory while 
using up all the virtual memory it wants. You can do this with cgroups.
 
 

Sent: Monday, February 05, 2018 at 12:56 PM
From: "Mikael Pesonen" 
To: users@jena.apache.org
Subject: Limit memory usage of Fuseki server?
We have a cloud server with 4gb of memory and after a while system is
killing Fuseki server java process for using up all memory. Is it
possible to limit memory usage, and what would be the performance
penalty for doing that?

Thanks.

--
Lingsoft - 30 years of Leading Language Management

www.lingsoft.fi[http://www.lingsoft.fi]

Speech Applications - Language Management - Translation - Reader's and Writer's 
Tools - Text Tools - E-books and M-books

Mikael Pesonen
System Engineer

e-mail: mikael.peso...@lingsoft.fi
Tel. +358 2 279 3300

Time zone: GMT+2

Helsinki Office
Eteläranta 10
FI-00130 Helsinki
FINLAND

Turku Office
Kauppiaskatu 5 A
FI-20100 Turku
FINLAND
 


Limit memory usage of Fuseki server?

2018-02-05 Thread Mikael Pesonen


We have a cloud server with 4gb of memory and after a while system is 
killing Fuseki server java process for using up all memory. Is it 
possible to limit memory usage, and what would be the performance 
penalty for doing that?


Thanks.

--
Lingsoft - 30 years of Leading Language Management

www.lingsoft.fi

Speech Applications - Language Management - Translation - Reader's and Writer's 
Tools - Text Tools - E-books and M-books

Mikael Pesonen
System Engineer

e-mail: mikael.peso...@lingsoft.fi
Tel. +358 2 279 3300

Time zone: GMT+2

Helsinki Office
Eteläranta 10
FI-00130 Helsinki
FINLAND

Turku Office
Kauppiaskatu 5 A
FI-20100 Turku
FINLAND