Description
- Doublecheck spec coverage
- Failing test cases: wrong function, function with wrong parameters, function with wrong return value, wrong syntax
- doublecheck which test cases need to be made, see https://docs.google.com/spreadsheets/d/1Ui216z2cF8bNAbdZvws-JoAhcjj4M2k_NlfzmCh1jh8/edit?gid=1793408313#gid=1793408313
Function on object, 1 constant parameter | Tests if a constant parameter can be used
Function on object, wrong type parameter | Tests a function with a wrong type parameter cannot be used
Function on object returns null | Tests that no triple should be generated when the result is null.
Function on object returns empty string | Tests that a triple is generated when the results is an empty string.
Function on object, the output termType is Literal | Tests if the output of the function is assigned the correct termType
Function on subject returns invalid IRI | Tests that no triples are generated for a subject that gets an invalid IRI as the result from a function.
Function on predicate returns invalid IRI | Tests that no triples are generated for a predicate that gets an invalid IRI as the result from a function.
Nested function - Test B | Tests if a composite function of form f(g(x1),h(x2)) works (i.e., two different inner functions are the arguments of the outer function)
Nested function - Test C | Tests if a composite function of form f(g(h(x1),x2),x3) works (i.e., the inner function is also a composite function)
Function on graph, 1 parameter | Tests if a function can be used on a graph
Function on languageMap | Tests that function on LanguageMap is handled
Function on graph returns invalid IRI | Tests that no triples are generated for a graph that gets an invalid IRI as the result from a function.
Function using non-constant shortcut property function | Tests that a non-constant FNML Function map also works
Function using non-constant shortcut property return | Tests that a non-constant FNML Return map also works
Function as equal join condition | Tests that functions can be used similar to R2RML (equal) join conditions
Function as other type of join condition | Tests that functions can be used for other types of join conditions (eg. string_contains or listContainsElement)
Function, parameter as array | Tests that list-style parameters are handled
Function, array_get | Tests that list-style of returned data values are handled correctly by FnO
Add tests for specific fucntions: BURP has them!