# Syntax 4

Copyright © 2010 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, and document use rules apply.

## Abstract

Syntax tests syntax-sparql4

This page describes W3C SPARQL Working Group's SPARQL 1.0 test suite.

### 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

syn-09: syn-09.rq
  type
    mf:PositiveSyntaxTest
  approval
  action
    syn-09.rq
syn-10: syn-10.rq
  type
    mf:PositiveSyntaxTest
  approval
  action
    syn-10.rq
syn-11: syn-11.rq
  type
    mf:PositiveSyntaxTest
  approval
  action
    syn-11.rq
syn-bad-34: syn-bad-34.rq
  type
    mf:NegativeSyntaxTest
  approval
  action
    syn-bad-34.rq
syn-bad-35: syn-bad-35.rq
  type
    mf:NegativeSyntaxTest
  approval
  action
    syn-bad-35.rq
syn-bad-36: syn-bad-36.rq
  type
    mf:NegativeSyntaxTest
  approval
  action
    syn-bad-36.rq
syn-bad-37: syn-bad-37.rq
  type
    mf:NegativeSyntaxTest
  approval
  action
    syn-bad-37.rq
syn-bad-38: syn-bad-38.rq
  type
    mf:NegativeSyntaxTest
  approval
  action
    syn-bad-38.rq
syn-bad-OPT-breaks-BGP: syn-bad-OPT-breaks-BGP

  bad: re-used BNode label after OPTIONAL

  type
    mf:NegativeSyntaxTest
  approval
  action
    syn-bad-OPT-breaks-BGP.rq
syn-bad-UNION-breaks-BGP: syn-bad-UNION-breaks-BGP

  bad: re-used BNode label after UNION

  type
    mf:NegativeSyntaxTest
  approval
  action
    syn-bad-UNION-breaks-BGP.rq
syn-bad-GRAPH-breaks-BGP: syn-bad-GRAPH-breaks-BGP

  bad: re-used BNode label after GRAPH

  type
    mf:NegativeSyntaxTest
  approval
  action
    syn-bad-GRAPH-breaks-BGP.rq
syn-leading-digits-in-prefixed-names: syn-leading-digits-in-prefixed-names.rq
  type
    mf:PositiveSyntaxTest
  approval
  action
    syn-leading-digits-in-prefixed-names.rq