# GRAPH

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

## Abstract

Tests for GRAPH

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

dawg-graph-01: graph-01

  Data: default graph / Query: default graph

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-01.ttl
dawg-graph-02: graph-02

  Data: named graph / Query: default graph

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-02.ttl
dawg-graph-03: graph-03

  Data: named graph / Query: named graph graph

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-03.ttl
dawg-graph-04: graph-04

  Data: named graph / Query: default graph

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-04.ttl
dawg-graph-05: graph-05

  Data: default and named / Query: default graph

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-05.ttl
dawg-graph-06: graph-06

  Data: default and named / Query: named graph

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-06.ttl
dawg-graph-07: graph-07

  Data: default and named / Query: all data by UNION

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-07.ttl
dawg-graph-08: graph-08

  Data: default and named / Query: common subjects

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-08.ttl
dawg-graph-09: graph-09

  Data: default and named (bnodes) / Query: common subjects

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-09.ttl
dawg-graph-10b: graph-10b

  Data: default and named (same data, with bnodes) / Query: common subjects

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-10.ttl
dawg-graph-11: graph-11

  Data: default and named (several) / Query: get everything

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-11.ttl
graph-empty: graph-empty

  Variable graph with empty BGP: list all named graphs

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-empty.ttl
graph-exist: graph-exist

  Set graph with empty BGP: returns an empty tuple because the graph exists

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-empty-exist.ttl
graph-not-exist: graph-not-exist

  Set graph with empty BGP: returns an empty tuple because the graph exists

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    graph-empty-not-exist.ttl