grlc icon indicating copy to clipboard operation
grlc copied to clipboard

function parameter

Open rlzijdeman opened this issue 6 years ago • 0 comments

Hi,

I was wondering whether you could add a _function parameter, that allows you to use for example regex inside SPARQL. Of course, this is already possibly, but it feels strange, because you need to omit the outer ". So the _function would strip the outer " from the input given.

See for example [1], where I have used ^b", "i as myOccupationRegex input and es for 2letterLanguageTag for the get-hisco-hiscam query under 'hiscam'.

[1] http://grlc.io/api/CLARIAH/wp4-queries-hisco/commit/c9b0bfd9aef531f91b9b0826b51281c4ad4cae81#/hisco/get_get_hisco_hiscam

rlzijdeman avatar Feb 22 '19 08:02 rlzijdeman