Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 0 additions & 59 deletions test-cases/RMLFNMLTC0001-CSV/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions test-cases/RMLFNMLTC0001-CSV/mapping.ttl

This file was deleted.

1 change: 0 additions & 1 deletion test-cases/RMLFNMLTC0001-CSV/output.nq

This file was deleted.

2 changes: 0 additions & 2 deletions test-cases/RMLFNMLTC0001-CSV/student.csv

This file was deleted.

7 changes: 1 addition & 6 deletions test-cases/RMLFNMLTC0102-CSV/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

**Description**: Tests that nothing is generated if a function is used where no implementation is made available to the mapping engine

**Error expected?** No
**Error expected?** Yes

**Input**
```
Expand Down Expand Up @@ -55,8 +55,3 @@ Id,Name,Comment,Class

```

**Output**
```

```

Empty file.
7 changes: 1 addition & 6 deletions test-cases/RMLFNMLTC0103-CSV/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

**Description**: Tests that nothing is generated if a function is defined using a parameter not defined in the FnO description

**Error expected?** No
**Error expected?** Yes

**Input**
```
Expand Down Expand Up @@ -55,8 +55,3 @@ Id,Name,Comment,Class,url

```

**Output**
```

```

Empty file.
7 changes: 1 addition & 6 deletions test-cases/RMLFNMLTC0104-CSV/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

**Description**: Tests that nothing is generated if a function is defined using a return not defined in the FnO description

**Error expected?** No
**Error expected?** Yes

**Input**
```
Expand Down Expand Up @@ -55,8 +55,3 @@ Id,Name,Comment,Class,url

```

**Output**
```

```

Empty file.
12 changes: 4 additions & 8 deletions test-cases/descriptions.csv
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
ID,title,description,part of spec,data format,ref. formulation,error expected?,input file 1,input file 2,input file 3,comment
RMLFNMLTC0001-CSV,"Function on object, 0 parameters","Tests
(1) if a function without parameters can be used (FnO)
(2) if a function on an object map can be used (Term)
(3) if the output of the function is assigned the correct termType by default",,CSV,CSV,FALSE,student.csv,,,
RMLFNMLTC0002-CSV,"Function on object, 1 reference parameter","Tests:
(1) if a function with one parameter can be used, (FnO)
RMLFNMLTC0002-CSV,"Function on object, 1 reference parameter","Tests:
(1) if a function with one parameter can be used, (FnO)
(2) a reference parameter can be used (Term)",,CSV,CSV,FALSE,student.csv,,,
RMLFNMLTC0003-CSV,"Function on object, 1 reference parameter, the output termType is IRI",Tests if the output of the function is assigned the correct termType,,CSV,CSV,FALSE,student.csv,,,
RMLFNMLTC0004-CSV,"Function on object, the output termType is Literal",Tests if the output of the function is assigned the correct termType,,CSV,CSV,FALSE,student.csv,,,
Expand All @@ -13,8 +9,8 @@ RMLFNMLTC0007-CSV,Function on object returns empty string,Tests that a triple is
RMLFNMLTC0008-CSV,Function on object returns null,Tests that no triple should be generated when the result is null.,,CSV,CSV,FALSE,student.csv,,,
RMLFNMLTC0011-CSV,"Function on predicate, 1 parameter",Tests if a function can be used on a predicate,,CSV,CSV,FALSE,student.csv,,,
RMLFNMLTC0021-CSV,"Function on object, 1 reference parameter, 1 constant parameter",Tests if a function with multiple parameters can be used,,CSV,CSV,FALSE,student.csv,,,
RMLFNMLTC0031-CSV,"Function on subject, 1 parameter","Tests if
(1) a function can be used on a subject
RMLFNMLTC0031-CSV,"Function on subject, 1 parameter","Tests if
(1) a function can be used on a subject
(2) Tests if the default termType assigned to the output of the function to be correct",,CSV,CSV,FALSE,student.csv,,,
RMLFNMLTC0032-CSV,Condition on subject,Tests that a condition shortcut works,,,,,,,,
RMLFNMLTC0041-CSV,Function using non-constant shortcut property return,Tests that a non-constant FNML Return map also works,,CSV,CSV,FALSE,student.csv,,,"does this can be tested with SHACL? If yes, I think this wouldn't be a test-case"
Expand Down
42 changes: 19 additions & 23 deletions test-cases/metadata.csv
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
ID,title,description,specification,mapping,input_format1,input_format2,input_format3,output_format1,output_format2,output_format3,input1,input2,input3,output1,output2,output3,error
RMLFNMLTC0001-CSV,"Function on object, 0 parameters","Tests
(1) if a function without parameters can be used (FnO)
(2) if a function on an object map can be used (Term)
(3) if the output of the function is assigned the correct termType by default",http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0104-CSV,"Function on object, wrong return parameter",Tests that nothing is generated if a function is defined using a return not defined in the FnO description,fnml,mapping.ttl,text/csv,,,,,,student.csv,,,,,,true
RMLFNMLTC0003-CSV,"Function on object, 1 reference parameter, the output termType is IRI",Tests if the output of the function is assigned the correct termType,fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0102-CSV,"Function on object, wrong function URI",Tests that nothing is generated if a function is used where no implementation is made available to the mapping engine,fnml,mapping.ttl,text/csv,,,,,,student.csv,,,,,,true
RMLFNMLTC0101-CSV,"Function on object, 1 false reference parameter",Tests if a false reference parameters is caught,fnml,mapping.ttl,text/csv,,,,,,student.csv,,,,,,true
RMLFNMLTC0007-CSV,Function on object returns empty string,Tests that a triple is generated when the results is an empty string.,fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0103-CSV,"Function on object, wrong parameter",Tests that nothing is generated if a function is defined using a parameter not defined in the FnO description,fnml,mapping.ttl,text/csv,,,,,,student.csv,,,,,,true
RMLFNMLTC0051-CSV,Nested function - Test A,"Tests if a composite function of form f(g(x1),x2) works (i.e., the inner function is only one argument of the outer function)",fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0021-CSV,"Function on object, 1 reference parameter, 1 constant parameter",Tests if a function with multiple parameters can be used,fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0081-CSV,"Function on languageMap, 1 parameter",Tests that function on LanguageMap is handled,fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0061-CSV,"Function on graph, 1 parameter",Tests if a function can be used on a graph,fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0011-CSV,"Function on predicate, 1 parameter",Tests if a function can be used on a predicate,fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0032-CSV,Condition on subject,Tests that a condition shortcut works,fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0005-CSV,"Function on object, 1 template parameter",Tests if a function with a template parameter can be used,fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0071-CSV,"Function on datatypeMap, 1 parameter",Tests that function on DatatypeMap is handled,fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0002-CSV,"Function on object, 1 reference parameter","Tests:
(1) if a function with one parameter can be used, (FnO)
(2) a reference parameter can be used (Term)",http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0003-CSV,"Function on object, 1 reference parameter, the output termType is IRI",Tests if the output of the function is assigned the correct termType,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0004-CSV,"Function on object, the output termType is Literal",Tests if the output of the function is assigned the correct termType,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0005-CSV,"Function on object, 1 template parameter",Tests if a function with a template parameter can be used,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0007-CSV,Function on object returns empty string,Tests that a triple is generated when the results is an empty string.,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0008-CSV,Function on object returns null,Tests that no triple should be generated when the result is null.,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0011-CSV,"Function on predicate, 1 parameter",Tests if a function can be used on a predicate,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0021-CSV,"Function on object, 1 reference parameter, 1 constant parameter",Tests if a function with multiple parameters can be used,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
(2) a reference parameter can be used (Term)",fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0004-CSV,"Function on object, the output termType is Literal",Tests if the output of the function is assigned the correct termType,fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0008-CSV,Function on object returns null,Tests that no triple should be generated when the result is null.,fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0041-CSV,Function using non-constant shortcut property return,Tests that a non-constant FNML Return map also works,fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0031-CSV,"Function on subject, 1 parameter","Tests if
(1) a function can be used on a subject
(2) Tests if the default termType assigned to the output of the function to be correct",http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0032-CSV,Condition on subject,Tests that a condition shortcut works,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0041-CSV,Function using non-constant shortcut property return,Tests that a non-constant FNML Return map also works,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0051-CSV,Nested function - Test A,"Tests if a composite function of form f(g(x1),x2) works (i.e., the inner function is only one argument of the outer function)",http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0061-CSV,"Function on graph, 1 parameter",Tests if a function can be used on a graph,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0071-CSV,"Function on datatypeMap, 1 parameter",Tests that function on DatatypeMap is handled,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0081-CSV,"Function on languageMap, 1 parameter",Tests that function on LanguageMap is handled,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0101-CSV,"Function on object, 1 false reference parameter",Tests if a false reference parameters is caught,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,,,,student.csv,,,,,,true
RMLFNMLTC0102-CSV,"Function on object, wrong function URI",Tests that nothing is generated if a function is used where no implementation is made available to the mapping engine,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0103-CSV,"Function on object, wrong parameter",Tests that nothing is generated if a function is defined using a parameter not defined in the FnO description,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
RMLFNMLTC0104-CSV,"Function on object, wrong return parameter",Tests that nothing is generated if a function is defined using a return not defined in the FnO description,http://w3id.org/rml/fnml/,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
(2) Tests if the default termType assigned to the output of the function to be correct",fnml,mapping.ttl,text/csv,,,application/n-quads,,,student.csv,,,output.nq,,,false
Loading