W3C

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 SPARQL1.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

http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-eq-01: open-eq-01

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

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
action
query
open-eq-01.rq
data
data-1.ttl
result
open-eq-01-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-eq-02: open-eq-02

graph match - unknown type

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
action
query
open-eq-02.rq
data
data-1.ttl
result
open-eq-02-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-eq-03: open-eq-03

Filter(?v=1)

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
action
query
open-eq-03.rq
data
data-1.ttl
result
open-eq-03-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-eq-04: open-eq-04

Filter(?v!=1)

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
action
query
open-eq-04.rq
data
data-1.ttl
result
open-eq-04-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-eq-05: open-eq-05

FILTER(?v = unknown type)

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
action
query
open-eq-05.rq
data
data-1.ttl
result
open-eq-05-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-eq-06: open-eq-06

FILTER(?v != unknown type)

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
action
query
open-eq-06.rq
data
data-1.ttl
result
open-eq-06-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-eq-07: open-eq-07

Test of '='

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
requires
mf:StringSimpleLiteralCmp mf:LangTagAwareness
action
query
open-eq-07.rq
data
data-2.ttl
result
open-eq-07-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-eq-08: open-eq-08

Test of '!='

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
requires
mf:StringSimpleLiteralCmp mf:KnownTypesDefault2Neq mf:LangTagAwareness
action
query
open-eq-08.rq
data
data-2.ttl
result
open-eq-08-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-eq-09: open-eq-09

Test of '='

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
action
query
open-eq-09.rq
data
data-2.ttl
result
open-eq-09-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-eq-10: open-eq-10

Test of '!='

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
requires
mf:KnownTypesDefault2Neq mf:LangTagAwareness
action
query
open-eq-10.rq
data
data-2.ttl
result
open-eq-10-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-eq-11: open-eq-11

test of '=' || '!='

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
requires
mf:KnownTypesDefault2Neq
action
query
open-eq-11.rq
data
data-2.ttl
result
open-eq-11-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-eq-12: open-eq-12

find pairs that don't value-compare

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
requires
mf:KnownTypesDefault2Neq mf:LangTagAwareness
action
query
open-eq-12.rq
data
data-2.ttl
result
open-eq-12-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#date-1: date-1

Added type : xsd:date '='

type
mf:QueryEvaluationTest
approval
requires
mf:XsdDateOperations
action
query
date-1.rq
data
data-3.ttl
result
date-1-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#date-2: date-2

Added type : xsd:date '!='

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
requires
mf:XsdDateOperations
action
query
date-2.rq
data
data-3.ttl
result
date-2-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#date-3: date-3

Added type : xsd:date '>'

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
requires
mf:XsdDateOperations
action
query
date-3.rq
data
data-3.ttl
result
date-3-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#date-4: date-4

xsd:date ORDER BY

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
action
query
date-4.rq
data
data-3.ttl
result
date-4-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-cmp-01: open-cmp-01

Find things that compare with < or >

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html
action
query
open-cmp-01.rq
data
data-4.ttl
result
open-cmp-01-result.srx
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#open-cmp-02: open-cmp-02

Find things that compare with <= and >

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html
action
query
open-cmp-02.rq
data
data-4.ttl
result
open-cmp-02-result.srx