# open world value testing tests

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

## Abstract

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

open-eq-01: open-eq-01

  graph match - no lexical form in data (assumes no value matching)

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-eq-01-result.srx
open-eq-02: open-eq-02

  graph match - unknown type

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-eq-02-result.srx
open-eq-03: open-eq-03

  Filter(?v=1)

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-eq-03-result.srx
open-eq-04: open-eq-04

  Filter(?v!=1)

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-eq-04-result.srx
open-eq-05: open-eq-05

  FILTER(?v = unknown type)

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-eq-05-result.srx
open-eq-06: open-eq-06

  FILTER(?v != unknown type)

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-eq-06-result.srx
open-eq-07: open-eq-07

  Test of '='

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-eq-07-result.srx
open-eq-08: open-eq-08

  Test of '!='

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-eq-08-result.srx
open-eq-09: open-eq-09

  Test of '='

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-eq-09-result.srx
open-eq-10: open-eq-10

  Test of '!='

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-eq-10-result.srx
open-eq-11: open-eq-11

  test of '=' |  | '!='

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-eq-11-result.srx
open-eq-12: open-eq-12

  find pairs that don't value-compare

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-eq-12-result.srx
date-1: date-1

  Added type : xsd:date '='

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    date-1-result.srx
date-2: date-2

  Added type : xsd:date '!='

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    date-2-result.srx
date-3: date-3

  Added type : xsd:date '>'

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    date-3-result.srx
date-4: date-4

  xsd:date ORDER BY

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    date-4-result.srx
open-cmp-01: open-cmp-01

  Find things that compare with < or >

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-cmp-01-result.srx
open-cmp-02: open-cmp-02

  Find things that compare with <= and >

  type
    mf:QueryEvaluationTest
  approval
  action
  result
    open-cmp-02-result.srx