W3C

N-Quads 1.2 Syntax Tests

Copyright © 2004-2023 World Wide Web Consortium. W3C® liability, trademark and permissive document license rules apply.


Abstract

This page describes W3C RDF-star Working Group's test suite for RDF 1.2. Conformance for RDF 1.2 requires conforming with tests in this test suite along with the relevant RDF 1.2 tests.

Contributing Tests

The test manifests and entries are built automatically from manifest.ttl using a Rake task. Tests may be contributed via pull request to https://github.com/w3c/rdf-tests with suitable changes to the manifest.ttl and referenced files.

Distribution

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License. To contribute to a W3C Test Suite, see the policies and contribution forms.

Disclaimer

UNDER BOTH MUTUALLY EXCLUSIVE LICENSES, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

Test Descriptions

nquads-star-1: N-Quads-star - subject quoted triple
type
rdft:TestNQuadsPositiveSyntax
approval
action
nquads-star-syntax-1.nq
nquads-star-2: N-Quads-star - object quoted triple
type
rdft:TestNQuadsPositiveSyntax
approval
action
nquads-star-syntax-2.nq
nquads-star-3: N-Quads-star - subject and object quoted quads
type
rdft:TestNQuadsPositiveSyntax
approval
action
nquads-star-syntax-3.nq
nquads-star-4: N-Quads-star - whitespace and terms
type
rdft:TestNQuadsPositiveSyntax
approval
action
nquads-star-syntax-4.nq
nquads-star-5: N-Quads-star - Nested, no whitespace
type
rdft:TestNQuadsPositiveSyntax
approval
action
nquads-star-syntax-5.nq
nquads-star-bnode-1: N-Quads-star - Blank node subject
type
rdft:TestNQuadsPositiveSyntax
approval
action
nquads-star-bnode-1.nq
nquads-star-bnode-2: N-Quads-star - Blank node object
type
rdft:TestNQuadsPositiveSyntax
approval
action
nquads-star-bnode-2.nq
nquads-star-nested-1: N-Quads-star - Nested subject term
type
rdft:TestNQuadsPositiveSyntax
approval
action
nquads-star-nested-1.nq
nquads-star-nested-2: N-Quads-star - Nested object term
type
rdft:TestNQuadsPositiveSyntax
approval
action
nquads-star-nested-2.nq
nquads-base-1: N-Quads literal with base direction ltr
type
rdft:TestNQuadsPositiveSyntax
approval
action
nquads-base-1.nq
nquads-base-2: N-Quads literal with base direction rtl
type
rdft:TestNQuadsPositiveSyntax
approval
action
nquads-base-2.nq
nquads-star-bad-1: N-Quads-star - Bad - quoted triple as predicate
type
rdft:TestNQuadsNegativeSyntax
approval
action
nquads-star-bad-syntax-1.nq
nquads-star-bad-2: N-Quads-star - Bad - quoted triple, literal subject
type
rdft:TestNQuadsNegativeSyntax
approval
action
nquads-star-bad-syntax-2.nq
nquads-star-bad-3: N-Quads-star - Bad - quoted triple, literal predicate
type
rdft:TestNQuadsNegativeSyntax
approval
action
nquads-star-bad-syntax-3.nq
nquads-star-bad-4: N-Quads-star - Bad - quoted triple, blank node predicate
type
rdft:TestNQuadsNegativeSyntax
approval
action
nquads-star-bad-syntax-4.nq
nquads-star-bnode-bad-annotated-syntax-1: N-Quads-star - Bad - annotated triple, blank node subject
type
rdft:TestNQuadsNegativeSyntax
approval
action
nquads-star-bnode-bad-annotated-syntax-1.nq
nquads-star-bnode-bad-annotated-syntax-2: N-Quads-star - Bad - annotated triple, blank node object
type
rdft:TestNQuadsNegativeSyntax
approval
action
nquads-star-bnode-bad-annotated-syntax-2.nq
nquads-star-nested-bad-annotated-syntax-1: N-Quads-star - Bad - annotated triple, nested subject term
type
rdft:TestNQuadsNegativeSyntax
approval
action
nquads-star-nested-bad-annotated-syntax-1.nq
nquads-star-nested-bad-annotated-syntax-2: N-Quads-star - Bad - annotated triple, nested object term
type
rdft:TestNQuadsNegativeSyntax
approval
action
nquads-star-nested-bad-annotated-syntax-2.nq
nquads-base-bad-1: N-Quads literal- Bad - undefined base direction
type
rdft:TestNQuadsNegativeSyntax
approval
action
nquads-base-bad-1.nq
nquads-base-bad-2: N-Quads literal- Bad - upper case LTR
type
rdft:TestNQuadsNegativeSyntax
approval
action
nquads-base-bad-2.nq