Skip to content

Test cases for generalized RDF-star triples for producer and consumer#73

Merged
adanilenka merged 2 commits intomainfrom
GH-39-tests-triples-star-generalized
May 15, 2025
Merged

Test cases for generalized RDF-star triples for producer and consumer#73
adanilenka merged 2 commits intomainfrom
GH-39-tests-triples-star-generalized

Conversation

@adanilenka
Copy link
Collaborator

@adanilenka adanilenka commented May 13, 2025

Issue #39

Tests cover:

  • a variety of possible combinations of generalized statements as quoted triples
  • test position of quoted triples and their nesting up to 6 levels
  • checks assertion vs quotation of the same statements
  • verifies repeated terms behaviour by placing the same s/p/o in different contexts
  • checks lookup tables usage

As the combination of all possible terms/positions in generalized RDF-star is too big, the following combinations were put into the tests:

| S    | P    | O    |
|:-----|:-----|:-----|
| TT   | IRI  | IRI  |
| TT   | BN   | BN   |
| TT   | L    | L    |
| IRI  | TT   | IRI  |
| BN   | TT   | BN   |
| L    | TT   | L    |
| IRI  | IRI  | TT   |
| BN   | BN   | TT   |
| L    | L    | TT   |
| TT   | TT   | Any  |
| TT   | Any  | TT   |
| Any  | TT   | TT   |
| TT   | TT   | TT   |

TT -- triple term, L - literal (one of plain/typed/with langtag)

@adanilenka adanilenka requested a review from Ostrzyciel May 15, 2025 18:24
@adanilenka adanilenka marked this pull request as ready for review May 15, 2025 18:24
@adanilenka adanilenka merged commit 65ea7c2 into main May 15, 2025
10 checks passed
@adanilenka adanilenka deleted the GH-39-tests-triples-star-generalized branch May 15, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants