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

Reply via email to