W3C

CSV/TSV Result Format

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/2009/sparql/docs/tests/data-sparql11/csv-tsv-res/manifest#csv01: csv01 - CSV Result Format

SELECT * WHERE { ?S ?P ?O }

type
mf:CSVResultFormatTest
approval
dawgt:Approved
approvedBy
http://www.w3.org/2009/sparql/meeting/2011-08-16#resolution_3
action
query
csvtsv01.rq
data
data.ttl
result
csvtsv01.csv
http://www.w3.org/2009/sparql/docs/tests/data-sparql11/csv-tsv-res/manifest#tsv01: tsv01 - TSV Result Format

SELECT * WHERE { ?S ?P ?O }

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://www.w3.org/2009/sparql/meeting/2011-08-16#resolution_3
action
query
csvtsv01.rq
data
data.ttl
result
csvtsv01.tsv
http://www.w3.org/2009/sparql/docs/tests/data-sparql11/csv-tsv-res/manifest#csv02: cvs02 - CSV Result Format

SELECT with OPTIONAL (i.e. not all vars bound in all results)

type
mf:CSVResultFormatTest
approval
dawgt:Approved
approvedBy
http://www.w3.org/2009/sparql/meeting/2011-08-16#resolution_3
action
query
csvtsv02.rq
data
data.ttl
result
csvtsv02.csv
http://www.w3.org/2009/sparql/docs/tests/data-sparql11/csv-tsv-res/manifest#tsv02: tvs02 - TSV Result Format

SELECT with OPTIONAL (i.e. not all vars bound in all results)

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://www.w3.org/2009/sparql/meeting/2011-08-16#resolution_3
action
query
csvtsv02.rq
data
data.ttl
result
csvtsv02.tsv
http://www.w3.org/2009/sparql/docs/tests/data-sparql11/csv-tsv-res/manifest#csv03: csv03 - CSV Result Format

SELECT * WHERE { ?S ?P ?O } with some corner cases of typed literals

type
mf:CSVResultFormatTest
approval
dawgt:Approved
approvedBy
http://www.w3.org/2009/sparql/meeting/2011-08-16#resolution_3
action
query
csvtsv01.rq
data
data2.ttl
result
csvtsv03.csv
http://www.w3.org/2009/sparql/docs/tests/data-sparql11/csv-tsv-res/manifest#tsv03: tsv03 - TSV Result Format

SELECT * WHERE { ?S ?P ?O } with some corner cases of typed literals

type
mf:QueryEvaluationTest
approval
dawgt:Approved
approvedBy
http://www.w3.org/2009/sparql/meeting/2011-08-16#resolution_3
action
query
csvtsv01.rq
data
data2.ttl
result
csvtsv03.tsv