Hello Zachary
Thanks, it seems easy to implement new functions, as any java library can
be called.
--
diogo patrão
On Thu, Feb 23, 2012 at 4:22 PM, Zachary Whitley <
[email protected]> wrote:
> I think this would be something you would implement in Jena not d2r
> depending on what exactly you are looking to do. Take a look at
>
> http://jena.sourceforge.net/ARQ/extension.html
>
> On Feb 23, 2012, at 12:06 PM, Diogo FC Patrao <[email protected]>
> wrote:
>
> Hello
>
> I wonder if there's something I could do to make d2r support more
> functions, like
>
> SELECT DISTINCT ?date ?name
> {
> ?patient a :Patient;
> :patientName ?name;
> :patientDateOfBirth ?date;
> FILTER( regex( ?name, 'JOAO' ) && *xsd:year( ?date ) = **xsd:year(
> **xsd:now()
> *) )
> } limit 10
>
> in order to get all people called "JOAO" which were born in the current
> year. When I try to run this function, D2R-Server logs:
>
> 15:03:35 WARN E_Function :: URI <
> http://www.w3.org/2001/XMLSchema#year> has no registered function factory
>
> And it made me wonder if it would be easy to write some extension to
> support it (and many other functions).
>
> Thanks,
>
>
> --
> diogo patrão
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>
> _______________________________________________
> d2rq-map-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel
>
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel