W3C

Property Path

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

pp01: (pp01) Simple path (pp01) Simple path
type
mf:QueryEvaluationTest
approval
action
result
pp01.srx
pp02: (pp02) Star path (pp02) Star path
type
mf:QueryEvaluationTest
approval
action
result
pp02.srx
pp03: (pp03) Simple path with loop (pp03) Simple path with loop
type
mf:QueryEvaluationTest
approval
action
result
pp03.srx
pp06: (pp06) Path with two graphs (pp06) Path with two graphs
type
mf:QueryEvaluationTest
approval
action
result
pp06.srx
pp07: (pp07) Path with one graph (pp07) Path with one graph
type
mf:QueryEvaluationTest
approval
action
result
pp07.srx
pp08: (pp08) Reverse path (pp08) Reverse path
type
mf:QueryEvaluationTest
approval
action
result
pp08.srx
pp09: (pp09) Reverse sequence path (pp09) Reverse sequence path
type
mf:QueryEvaluationTest
approval
action
result
pp09.srx
pp10: (pp10) Path with negation (pp10) Path with negation
type
mf:QueryEvaluationTest
approval
action
result
pp10.srx
pp11: (pp11) Simple path and two paths to same target node (pp11) Simple path and two paths to same target node
type
mf:QueryEvaluationTest
approval
action
result
pp11.srx
pp12: (pp12) Variable length path and two paths to same target node (pp12) Variable length path and two paths to same target node
type
mf:QueryEvaluationTest
approval
action
result
pp12.srx
pp14: (pp14) Star path over foaf:knows (pp14) Star path over foaf:knows
type
mf:QueryEvaluationTest
approval
action
result
pp14.srx
pp16: (pp16) Duplicate paths and cycles through foaf:knows* (pp16) Duplicate paths and cycles through foaf:knows*
type
mf:QueryEvaluationTest
approval
action
result
pp16.srx
pp21: (pp21) Diamond -- :p+ (pp21) Diamond -- :p+
type
mf:QueryEvaluationTest
approval
action
result
diamond-2.srx
pp23: (pp23) Diamond, with tail -- :p+ (pp23) Diamond, with tail -- :p+
type
mf:QueryEvaluationTest
approval
action
result
diamond-tail-2.srx
pp25: (pp25) Diamond, with loop -- :p+ (pp25) Diamond, with loop -- :p+
type
mf:QueryEvaluationTest
approval
action
result
diamond-loop-2.srx
pp28a: (pp28a) Diamond, with loop -- (:p/:p)? (pp28a) Diamond, with loop -- (:p/:p)?
type
mf:QueryEvaluationTest
approval
action
result
diamond-loop-5a.srx
pp30: (pp30) Operator precedence 1 (pp30) Operator precedence 1
type
mf:QueryEvaluationTest
approval
action
result
path-p1.srx
pp31: (pp31) Operator precedence 2 (pp31) Operator precedence 2
type
mf:QueryEvaluationTest
approval
action
result
path-p2.srx
pp32: (pp32) Operator precedence 3 (pp32) Operator precedence 3
type
mf:QueryEvaluationTest
approval
action
result
path-p3.srx
pp33: (pp33) Operator precedence 4 (pp33) Operator precedence 4
type
mf:QueryEvaluationTest
approval
action
result
path-p4.srx
pp34: (pp34) Named Graph 1 (pp34) Named Graph 1
type
mf:QueryEvaluationTest
approval
action
result
path-ng-01.srx
pp35: (pp35) Named Graph 2 (pp35) Named Graph 2
type
mf:QueryEvaluationTest
approval
action
result
path-ng-01.srx
pp36: (pp36) Arbitrary path with bound endpoints (pp36) Arbitrary path with bound endpoints
type
mf:QueryEvaluationTest
approval
action
result
pp36.srx
pp37: (pp37) Nested (*)* (pp37) Nested (*)*

Test case as per http://lists.w3.org/Archives/Public/public-rdf-dawg-comments/2012Feb/0006.html

type
mf:QueryEvaluationTest
approval
action
result
pp37.srx
values_and_path: ZeroOrX property paths should only return terms in the graph and not also terms defined in the query ZeroOrX property paths should only return terms in the graph and not also terms defined in the query
type
mf:QueryEvaluationTest
approval
action
result
values_and_path.srx
nps_inverse: Negated Property Set with inverse properties Negated Property Set with inverse properties
type
mf:QueryEvaluationTest
approval
action
result
nps_inverse.srx
nps_direct_and_inverse: Negated Property Set with both direct and inverse properties Negated Property Set with both direct and inverse properties
type
mf:QueryEvaluationTest
approval
action
result
nps_direct_and_inverse.srx