Write-once run-anywhere custom SPARQL functions