RMLio / rmlmapper-java

The RMLMapper executes RML rules to generate high quality Linked Data from multiple originally (semi-)structured data sources
http://rml.io
MIT License
147 stars 61 forks source link

Support for GREL md5 and sha1 functions #100

Closed CyberDaedalus00 closed 3 years ago

CyberDaedalus00 commented 3 years ago

Are there any plans to add support for GREL's md5 and sha1 functions? I noticed in they were comments out.

bjdmeest commented 3 years ago

Hi @CyberDaedalus00 , these functions are now implemented v0.6.1 of https://github.com/FnOio/grel-functions-java , and included in release v4.9.2, hopefully this works for you!

no-response[bot] commented 3 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

paulakeen commented 3 years ago

I'm interested in this topic, but cannot find examples of usage...any URL you could redirect me to, please?

bjdmeest commented 3 years ago

The resulting mapping file would be very similar to the one at https://github.com/RMLio/rmlmapper-java/blob/master/src/test/resources/rml-fno-test-cases/RMLFNOTC0001-CSV/mapping.ttl , but then using http://users.ugent.be/~bjdmeest/function/grel.ttl#string_md5 instead of http://users.ugent.be/~bjdmeest/function/grel.ttl#toUpperCase on line 34. You can check all by default supported functions, and how to invoke their parameters at https://rml.io/docs/rmlmapper/default-functions/