Human Health Exposure Analysis Resource

Last uploaded: July 19, 2024
Id http://datashapes.org/dash#ScriptFunction
http://datashapes.org/dash#ScriptFunction
Preferred Name

Script function

Definitions
Script functions can be used from SPARQL queries and will be injected into the generated prefix object (in JavaScript, for ADS scripts). The dash:js will be inserted into a generated JavaScript function and therefore needs to use the return keyword to produce results. These JS snippets can access the parameter values based on the local name of the sh:Parameter's path. For example ex:value can be accessed using value. SPARQL use note: Since these functions may be used from any data graph and any shapes graph, they must not rely on any API apart from what's available in the shapes graph that holds the rdf:type triple of the function itself. In other words, at execution time from SPARQL, the ADS shapes graph will be the home graph of the function's declaration.
Type http://www.w3.org/2002/07/owl#Class
Delete Subject Author Type Created
No notes to display
  • Loading...

Notes

Filter: