N3

Notation3 Tests

Tests exist for N3 grammar, N3 reasoning, extended N3 grammar and relevant Turtle features.

All of these tests suites are referenced from this manifest.

Design

In general, tests are described as Positive or Negative Syntax tests, Evaluation tests, and/or Reason tests.

Tests should be run with an assumed base URI of their associated manifest, either https://w3c.github.io/N3/tests/N3Tests or https://w3c.github.io/N3/tests/TurtleTests.

Test status and current-spec conformance

The manifests retain historical tests so that implementations may measure compatibility with older N3 dialects. Test runners reporting conformance with the current N3 specification should use rdft:approval:

In particular, parser-corpus cases that require the legacy explicit quantifiers @forAll and @forSome are marked rdft:Rejected, because explicit N3 quantifiers were removed from the current specification. The fixtures remain useful for implementations that intentionally support the historical syntax.

Contributing

If you would like to contribute a new test or a fix to an existing test, please file an issue and/or create a pull request.