You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by DImuthu Upeksha <di...@gmail.com> on 2015/03/15 18:08:45 UTC

[GSoC] Adding support for XPath 3 Functions

Hi all,

I'm Dimuthu Upeksha, a Computer Engineering Undergraduate from University
of Moratuwa - Sri Lanka. I have successfully completed GSoC 2013 and 2014
with Apache Software foundation. I'm willing to participate GSoC 2015 and
found issue [1] mentioned in jira very interesting. Because I have prior
experience in working with Xpath2, I believe that this project matches with
my skills.

Because ticket is about implementing Xpath3 function to Jena, I went
through XPath3 specification [2] and summarised list of functions that can
be implemented in Jena. This [3] document contains all the functions
mentioned in spec and I have marked currently available functions in Jena
[4]. It seems like there are about 219 functions available in Xpath 3 spec
so my problem is, what are the essential or high priority functions that
are needed to be implemented?

To have a basic idea about writing functions for Jena, I have written a
very simple function [5] [6] and I'm really grateful if you can give some
feedbacks over it.

[1] https://issues.apache.org/jira/browse/JENA-508
[2] http://www.w3.org/TR/xpath-functions-30/#casting-to-ENTITY
[3]
https://docs.google.com/spreadsheets/d/16J2n0hwXwzxsNzv4fDzPqVSDHYVKXkJEWxWwCnWgDbw/edit?usp=sharing
[4]
https://github.com/apache/jena/tree/master/jena-arq/src/main/java/com/hp/hpl/jena/sparql/function/library
[5]
https://github.com/DImuthuUpe/Jena-Sample/blob/master/src/main/java/com/hp/hpl/jena/sparql/xpath3/XPath3_Floor.java
[6]
https://github.com/DImuthuUpe/Jena-Sample/blob/master/src/main/java/com/hp/hpl/jena/sparql/xpath3/Main.java

Thanks
Dimuthu
-- 
Regards

W.Dimuthu Upeksha
Undergraduate
Department of Computer Science And Engineering

University of Moratuwa, Sri Lanka

Re: [GSoC] Adding support for XPath 3 Functions

Posted by DImuthu Upeksha <di...@gmail.com>.
Hi Rob,

Yes I understood it. I went through other available issues and willing to
work on [1] if I can get initial support to get familiar with the project.

[1] https://issues.apache.org/jira/browse/JENA-624

On Tue, Mar 17, 2015 at 5:47 PM, Rob Vesse <rv...@dotnetrdf.org> wrote:

> Dimuthu
>
> Yes I think this may be too small for a GSoC project unless you can come up
> with a proposal (including schedule) that shows a sufficiently large amount
> of work for the 3 month period
>
> This could of course be combined with other Jena contributions if you were
> still interested in doing a GSoC project for Jena though I am not sure
> there
> is anything that would naturally fit with this that isn't already being
> worked on
>
>
> https://issues.apache.org/jira/issues/?jql=labels%20%3D%20gsoc2015%20AND%20p
> roject%20%3D%20Jena
>
> There are plenty of other Apache projects that have project ideas so I
> would
> encourage you to investigate those other opportunities if you are keen on
> participating in GSoC:
>
> https://issues.apache.org/jira/issues/?jql=labels%20%3D%20gsoc2015
>
> Rob
>
> From:  DImuthu Upeksha <di...@gmail.com>
> Date:  Tuesday, 17 March 2015 11:43
> To:  <de...@jena.apache.org>
> Cc:  Rob Vesse <rv...@dotnetrdf.org>
> Subject:  Re: [GSoC] Adding support for XPath 3 Functions
>
> > Hi Rob,
> >
> > Because it seems like we can directly adapt most of the required
> functions
> > from existing implementations, do you believe that there is a enough
> content
> > to be done for a GSoC project? What is your recommendation?
> >
> > Thanks
> > Dimuthu
> >
> > On Sun, Mar 15, 2015 at 10:38 PM, DImuthu Upeksha <
> dimuthu.upeksha2@gmail.com>
> > wrote:
> >> Hi all,
> >>
> >> I'm Dimuthu Upeksha, a Computer Engineering Undergraduate from
> University of
> >> Moratuwa - Sri Lanka. I have successfully completed GSoC 2013 and 2014
> with
> >> Apache Software foundation. I'm willing to participate GSoC 2015 and
> found
> >> issue [1] mentioned in jira very interesting. Because I have prior
> experience
> >> in working with Xpath2, I believe that this project matches with my
> skills.
> >>
> >> Because ticket is about implementing Xpath3 function to Jena, I went
> through
> >> XPath3 specification [2] and summarised list of functions that can be
> >> implemented in Jena. This [3] document contains all the functions
> mentioned
> >> in spec and I have marked currently available functions in Jena [4]. It
> seems
> >> like there are about 219 functions available in Xpath 3 spec so my
> problem
> >> is, what are the essential or high priority functions that are needed
> to be
> >> implemented?
> >>
> >> To have a basic idea about writing functions for Jena, I have written a
> very
> >> simple function [5] [6] and I'm really grateful if you can give some
> >> feedbacks over it.
> >>
> >> [1] https://issues.apache.org/jira/browse/JENA-508
> >> [2] http://www.w3.org/TR/xpath-functions-30/#casting-to-ENTITY
> >> [3]
> >>
> https://docs.google.com/spreadsheets/d/16J2n0hwXwzxsNzv4fDzPqVSDHYVKXkJEWxWwC
> >> nWgDbw/edit?usp=sharing
> >> [4]
> >>
> https://github.com/apache/jena/tree/master/jena-arq/src/main/java/com/hp/hpl/
> >> jena/sparql/function/library
> >> [5]
> >>
> https://github.com/DImuthuUpe/Jena-Sample/blob/master/src/main/java/com/hp/hp
> >> l/jena/sparql/xpath3/XPath3_Floor.java
> >> [6]
> >>
> https://github.com/DImuthuUpe/Jena-Sample/blob/master/src/main/java/com/hp/hp
> >> l/jena/sparql/xpath3/Main.java
> >>
> >> Thanks
> >> Dimuthu
> >> --
> >> Regards
> >> W.Dimuthu Upeksha
> >> Undergraduate
> >>
> >> Department of Computer Science And Engineering
> >> University of Moratuwa, Sri Lanka
> >
> >
> >
> > --
> > Regards
> > W.Dimuthu Upeksha
> > Undergraduate
> >
> > Department of Computer Science And Engineering
> > University of Moratuwa, Sri Lanka
>
>
>


-- 
Regards

W.Dimuthu Upeksha
Undergraduate
Department of Computer Science And Engineering

University of Moratuwa, Sri Lanka

Re: [GSoC] Adding support for XPath 3 Functions

Posted by Rob Vesse <rv...@dotnetrdf.org>.
Dimuthu

Yes I think this may be too small for a GSoC project unless you can come up
with a proposal (including schedule) that shows a sufficiently large amount
of work for the 3 month period

This could of course be combined with other Jena contributions if you were
still interested in doing a GSoC project for Jena though I am not sure there
is anything that would naturally fit with this that isn't already being
worked on 

https://issues.apache.org/jira/issues/?jql=labels%20%3D%20gsoc2015%20AND%20p
roject%20%3D%20Jena

There are plenty of other Apache projects that have project ideas so I would
encourage you to investigate those other opportunities if you are keen on
participating in GSoC:

https://issues.apache.org/jira/issues/?jql=labels%20%3D%20gsoc2015

Rob

From:  DImuthu Upeksha <di...@gmail.com>
Date:  Tuesday, 17 March 2015 11:43
To:  <de...@jena.apache.org>
Cc:  Rob Vesse <rv...@dotnetrdf.org>
Subject:  Re: [GSoC] Adding support for XPath 3 Functions

> Hi Rob,
> 
> Because it seems like we can directly adapt most of the required functions
> from existing implementations, do you believe that there is a enough content
> to be done for a GSoC project? What is your recommendation?
> 
> Thanks
> Dimuthu
> 
> On Sun, Mar 15, 2015 at 10:38 PM, DImuthu Upeksha <di...@gmail.com>
> wrote:
>> Hi all,
>> 
>> I'm Dimuthu Upeksha, a Computer Engineering Undergraduate from University of
>> Moratuwa - Sri Lanka. I have successfully completed GSoC 2013 and 2014 with
>> Apache Software foundation. I'm willing to participate GSoC 2015 and found
>> issue [1] mentioned in jira very interesting. Because I have prior experience
>> in working with Xpath2, I believe that this project matches with my skills.
>> 
>> Because ticket is about implementing Xpath3 function to Jena, I went through
>> XPath3 specification [2] and summarised list of functions that can be
>> implemented in Jena. This [3] document contains all the functions mentioned
>> in spec and I have marked currently available functions in Jena [4]. It seems
>> like there are about 219 functions available in Xpath 3 spec so my problem
>> is, what are the essential or high priority functions that are needed to be
>> implemented?
>> 
>> To have a basic idea about writing functions for Jena, I have written a very
>> simple function [5] [6] and I'm really grateful if you can give some
>> feedbacks over it.
>> 
>> [1] https://issues.apache.org/jira/browse/JENA-508
>> [2] http://www.w3.org/TR/xpath-functions-30/#casting-to-ENTITY
>> [3] 
>> https://docs.google.com/spreadsheets/d/16J2n0hwXwzxsNzv4fDzPqVSDHYVKXkJEWxWwC
>> nWgDbw/edit?usp=sharing
>> [4] 
>> https://github.com/apache/jena/tree/master/jena-arq/src/main/java/com/hp/hpl/
>> jena/sparql/function/library
>> [5] 
>> https://github.com/DImuthuUpe/Jena-Sample/blob/master/src/main/java/com/hp/hp
>> l/jena/sparql/xpath3/XPath3_Floor.java
>> [6] 
>> https://github.com/DImuthuUpe/Jena-Sample/blob/master/src/main/java/com/hp/hp
>> l/jena/sparql/xpath3/Main.java
>> 
>> Thanks
>> Dimuthu
>> -- 
>> Regards
>> W.Dimuthu Upeksha
>> Undergraduate
>> 
>> Department of Computer Science And Engineering
>> University of Moratuwa, Sri Lanka
> 
> 
> 
> -- 
> Regards
> W.Dimuthu Upeksha
> Undergraduate
> 
> Department of Computer Science And Engineering
> University of Moratuwa, Sri Lanka



Re: [GSoC] Adding support for XPath 3 Functions

Posted by DImuthu Upeksha <di...@gmail.com>.
Hi Rob,

Because it seems like we can directly adapt most of the required functions
from existing implementations, do you believe that there is a enough
content to be done for a GSoC project? What is your recommendation?

Thanks
Dimuthu

On Sun, Mar 15, 2015 at 10:38 PM, DImuthu Upeksha <
dimuthu.upeksha2@gmail.com> wrote:

> Hi all,
>
> I'm Dimuthu Upeksha, a Computer Engineering Undergraduate from University
> of Moratuwa - Sri Lanka. I have successfully completed GSoC 2013 and 2014
> with Apache Software foundation. I'm willing to participate GSoC 2015 and
> found issue [1] mentioned in jira very interesting. Because I have prior
> experience in working with Xpath2, I believe that this project matches with
> my skills.
>
> Because ticket is about implementing Xpath3 function to Jena, I went
> through XPath3 specification [2] and summarised list of functions that can
> be implemented in Jena. This [3] document contains all the functions
> mentioned in spec and I have marked currently available functions in Jena
> [4]. It seems like there are about 219 functions available in Xpath 3 spec
> so my problem is, what are the essential or high priority functions that
> are needed to be implemented?
>
> To have a basic idea about writing functions for Jena, I have written a
> very simple function [5] [6] and I'm really grateful if you can give some
> feedbacks over it.
>
> [1] https://issues.apache.org/jira/browse/JENA-508
> [2] http://www.w3.org/TR/xpath-functions-30/#casting-to-ENTITY
> [3]
> https://docs.google.com/spreadsheets/d/16J2n0hwXwzxsNzv4fDzPqVSDHYVKXkJEWxWwCnWgDbw/edit?usp=sharing
> [4]
> https://github.com/apache/jena/tree/master/jena-arq/src/main/java/com/hp/hpl/jena/sparql/function/library
> [5]
> https://github.com/DImuthuUpe/Jena-Sample/blob/master/src/main/java/com/hp/hpl/jena/sparql/xpath3/XPath3_Floor.java
> [6]
> https://github.com/DImuthuUpe/Jena-Sample/blob/master/src/main/java/com/hp/hpl/jena/sparql/xpath3/Main.java
>
> Thanks
> Dimuthu
> --
> Regards
>
> W.Dimuthu Upeksha
> Undergraduate
> Department of Computer Science And Engineering
>
> University of Moratuwa, Sri Lanka
>



-- 
Regards

W.Dimuthu Upeksha
Undergraduate
Department of Computer Science And Engineering

University of Moratuwa, Sri Lanka