Home

Awesome

RML FnO Test Cases

This is a preliminary set of FnO Test cases

RML FnO idtitlepurposeRMLFNO id-typedata formatreference formulationcommenterror expected?
RMLFNOTC0000Function on object, 0 parametersTests if a function without parameters can be used-CSVCSVN/ANo
-JSONJSONJSONPath
-XMLCSVXPath
RMLFNOTC0001Function on object, 1 reference parameterTests: (1) if a function with one parameter can be used, (2) a reference parameter can be used-CSVCSVN/ANo
-JSONJSONJSONPath
-XMLCSVXPath
RMLFNOTC0002Function on object, 1 constant parameterTests if a constant parameter can be used-CSVCSVN/ANo
-JSONJSONJSONPath
-XMLCSVXPath
RMLFNOTC0003Function on object, 1 reference parameter, 1 constant parameterTests if a function with multiple parameters can be used-CSVCSVN/ANo
-JSONJSONJSONPath
-XMLCSVXPath
RMLFNOTC0004Function on predicate, 1 parameterTests if a function can be used on a predicate-CSVCSVN/ANo
-JSONJSONJSONPath
-XMLCSVXPath
RMLFNOTC0005Function on subject, 1 parameterTests if a function can be used on a subject-CSVCSVN/ANo
-JSONJSONJSONPath
-XMLCSVXPath
RMLFNOTC0006Function on graph, 1 parameterTests if a function can be used on a graph-CSVCSVN/ANo
-JSONJSONJSONPath
-XMLCSVXPath
RMLFNOTC0007Function on object, 1 false reference parameterTests if a false reference parameters is caught-CSVCSVN/AYes
-JSONJSONJSONPath
-XMLCSVXPath
RMLFNOTC0008Function on object, 1 template parameterTests if a function with a template parameter can be used-CSVCSVN/ANo
-JSONJSONJSONPath
-XMLCSVXPath
RMLFNOTC0009Function on object, different data sourceTests if a function with a different data source can be used-CSVCSVN/Anot finalNo
-JSONJSONJSONPathnot final
-XMLCSVXPathnot final
RMLFNOTC0010Function on object, unknown data sourceTests a function with an unknown data source cannot be used-CSVCSVN/Anot finalYes
-JSONJSONJSONPathnot final
-XMLCSVXPathnot final
RMLFNOTC0011Function on object, wrong type parameterTests a function with a wrong type parameter cannot be used-CSVCSVN/Anot finalYes
-JSONJSONJSONPathnot final
-XMLCSVXPathnot final
RMLFNOTC0012Function on object returns nullTests that no triple should be generated when the result is null.-CSVCSVN/Anot finalYes
-JSONJSONJSONPathnot final
-XMLCSVXPathnot final
RMLFNOTC0013Function on object returns empty stringTests that a triple is generated when the results is an empty string.-CSVCSVN/Anot finalNo
-JSONJSONJSONPathnot final
-XMLCSVXPathnot final
RMLFNOTC0014Function on subject returns invalid IRITests that no triples are generated for a subject that gets an invalid IRI as the result from a function.-CSVCSVN/Anot finalYes
-JSONJSONJSONPathnot final
-XMLCSVXPathnot final
RMLFNOTC0015Function on predicate returns invalid IRITests that no triples are generated for a predicate that gets an invalid IRI as the result from a function.-CSVCSVN/Anot finalYes
-JSONJSONJSONPathnot final
-XMLCSVXPathnot final
RMLFNOTC0016Function on graph returns invalid IRITests that no triples are generated for a graph that gets an invalid IRI as the result from a function.-CSVCSVN/Anot finalYes
-JSONJSONJSONPathnot final
-XMLCSVXPathnot final
RMLFNOTC0017Function reference on executesTests that parametered fno:executes also works-CSVCSVN/Anot finalNo
-JSONJSONJSONPathnot final
-XMLCSVXPathnot final
RMLFNOTC0018Nested functions workTests that nested functions work-CSVCSVN/ANo
-JSONJSONJSONPath
-XMLCSVXPath
RMLFNOTC0019Function as join condition-JSONJSONJSONPathNo
RMLFNOTC0020No
RMLFNOTC0021Function as template on subject does IRI encodingTemplate on a subject does IRI encoding-JSONJSONJSONPathNo
RMLFNOTC0022Function on languageMapTests that function on LanguageMap is handled-CSVCSVN/ANo
RMLFNOTC0023Function, parameter as arrayTests that list-style parameters are handled-CSVCSVN/ANo
RMLFNOTC0024Function, array_get-JSONJSONJSONPathnot finalNo
RMLFNOTCA001Function dynamically worksTests (i) hard-coded loading of function file, (ii) dynamic .jar for functions, (iii) has priority over resources)No
RMLFNOTCA002Function preloaded worksNo
RMLFNOTCA003Function resources functions.ttl worksNo
RMLFNOTCA004Function remote functions.ttl works (has priority over resources)No
RMLFNOTCA005function idlab-fn:readFileTests whether the function idlab-fn:readFile is supported correctly by the mapperNo
RMLFNOTCA006function idlab-fn:inRangeTests whether the function idlab-fn:inRange is supported correctly by the mapperNo
RMLFNOTCAB0001Function with Long parameter and Instant return valueTests a Long -> Instant function-JSONJSONJSONPathnot finalNo
RMLFNOTCAB0002Function with Double return valueTests a String -> Double function-JSONJSONJSONPathnot finalNo
RMLFNOTCAB0003function grel:controls_ifTests whether the function grel:controls_if(true) is supported correctly by the mapper///not finalNo
RMLFNOTCAB0004function grel:controls_ifTests whether the function grel:controls_if(false) is supported correctly by the mapper///not finalNo
RMLFNOTCAB0005function grel:controls_ifTest grel:controls_if, case true and no else///not finalNo
RMLFNOTCAB0006function grel:controls_ifTest grel:controls_if, case false and no else///not finalNo
RMLFNOTCAB0007function grel:array_get vs grel:array_slice-JSONJSONJSONPathnot finalNo