diff --git a/jena-arq/src/main/java/org/apache/jena/riot/system/streammgr/JenaIOEnvironment.java b/jena-arq/src/main/java/org/apache/jena/riot/system/streammgr/JenaIOEnvironment.java index 5b432348239..e0d51dc9292 100644 --- a/jena-arq/src/main/java/org/apache/jena/riot/system/streammgr/JenaIOEnvironment.java +++ b/jena-arq/src/main/java/org/apache/jena/riot/system/streammgr/JenaIOEnvironment.java @@ -35,8 +35,9 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -/** Code for using the general facilities of the location mapper/ filemanager subsystem - * and set up for Jena usage. e.g. find a location mapper with RDf description. +/** + * Code for using the general facilities of the location mapper/ filemanager subsystem + * and set up for Jena usage. e.g. find a location mapper with RDf description. */ public class JenaIOEnvironment { diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/ResultSetGraphVocab.java b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/ResultSetGraphVocab.java index 2a4d1c8a5cd..f986ad34c99 100644 --- a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/ResultSetGraphVocab.java +++ b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/ResultSetGraphVocab.java @@ -21,63 +21,58 @@ package org.apache.jena.sparql.vocabulary ; -import org.apache.jena.rdf.model.Model ; -import org.apache.jena.rdf.model.ModelFactory ; import org.apache.jena.rdf.model.Property ; import org.apache.jena.rdf.model.Resource ; - +import org.apache.jena.rdf.model.ResourceFactory; + /** - * Vocabulary definitions from result-set.n3 - * @author Auto-generated by schemagen on 10 Jun 2006 18:47 + * Vocabulary definitions from result-set.n3 */ public class ResultSetGraphVocab { - /**

The RDF model that holds the vocabulary terms

*/ - private static Model m_model = ModelFactory.createDefaultModel(); - - /**

The namespace of the vocabulary as a string

*/ + /** The namespace of the vocabulary as a string */ public static final String NS = "http://www.w3.org/2001/sw/DataAccess/tests/result-set#"; - - /**

The namespace of the vocabulary as a string

+ + /** The namespace of the vocabulary as a string * @see #NS */ public static String getURI() {return NS;} - - /**

The namespace of the vocabulary as a resource

*/ - public static final Resource NAMESPACE = m_model.createResource( NS ); - - /**

Boolean result

*/ - public static final Property p_boolean = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#boolean" ); - - /**

Variable name

*/ - public static final Property value = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#value" ); - - /**

Variable name

*/ - public static final Property variable = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#variable" ); - - /**

Index for ordered result sets

*/ - public static final Property index = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#index" ); - - /**

Multi-occurrence property associating a result solution (row) resource to - * a single (variable, value) binding

+ + /** The namespace of the vocabulary as a resource */ + public static final Resource NAMESPACE = ResourceFactory.createResource( NS ); + + /** Boolean result */ + public static final Property p_boolean = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#boolean" ); + + /** Variable name */ + public static final Property value = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#value" ); + + /** Variable name */ + public static final Property variable = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#variable" ); + + /** Index for ordered result sets */ + public static final Property index = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#index" ); + + /** Multi-occurrence property associating a result solution (row) resource to + * a single (variable, value) binding */ - public static final Property binding = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#binding" ); - - /**

MultivaluedName of a variable used in the result set

*/ - public static final Property resultVariable = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#resultVariable" ); - - /**

Number of rows in the result table

*/ - public static final Property size = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#size" ); - - public static final Property solution = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#solution" ); - - /**

Class of things that represent a single (variable, value) pairing

*/ - public static final Resource ResultBinding = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#ResultBinding" ); - - /**

Class of things that represent a row in the result table - one solution to - * the query

+ public static final Property binding = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#binding" ); + + /** MultivaluedName of a variable used in the result set */ + public static final Property resultVariable = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#resultVariable" ); + + /** Number of rows in the result table */ + public static final Property size = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#size" ); + + public static final Property solution = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#solution" ); + + /** Class of things that represent a single (variable, value) pairing */ + public static final Resource ResultBinding = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#ResultBinding" ); + + /** Class of things that represent a row in the result table - one solution to + * the query */ - public static final Resource ResultSolution = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#ResultSolution" ); - - /**

Class of things that represent the result set

*/ - public static final Resource ResultSet = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#ResultSet" ); - + public static final Resource ResultSolution = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#ResultSolution" ); + + /** Class of things that represent the result set */ + public static final Resource ResultSet = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/result-set#ResultSet" ); + } diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/SPARQL.java b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/SPARQL.java new file mode 100644 index 00000000000..d2d2cfa831a --- /dev/null +++ b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/SPARQL.java @@ -0,0 +1,27 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package org.apache.jena.sparql.vocabulary; + +public class SPARQL { + public static final String NS = "http://www.w3.org/ns/sparql#"; + +} diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/SPARQLVersions.java b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/SPARQLVersions.java new file mode 100644 index 00000000000..483e583832a --- /dev/null +++ b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/SPARQLVersions.java @@ -0,0 +1,79 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package org.apache.jena.sparql.vocabulary; + +import org.apache.jena.graph.Node; +import org.apache.jena.graph.NodeFactory; + +public enum SPARQLVersions { +/* + +PREFIX sparql: + +## URIs for versions of SPARQL +## The rdfs:label corresponds to the constant defined in SPARQL Query Language. + + +sparql:version-1.2 a rdfs:Resource ; + rdfs:label "1.2" ; + rdfs:comment "Version 1.2." ; + rdfs:isDefinedBy ; + rdfs:seeAlso ; + . + +sparql:version-1.2-basic a rdfs:Resource ; + rdfs:label "1.2-basic" ; + rdfs:comment "Version 1.2-basic" ; + rdfs:isDefinedBy ; + rdfs:seeAlso ; + . + +sparql:version-1.1 a rdfs:Resource ; + rdfs:label "1.1" ; + rdfs:comment "Version 1.1" ; + rdfs:isDefinedBy ; + dc:conformsTo ; + . + +sparql:version-1.0 a rdfs:Resource ; + rdfs:label "1.0" ; + rdfs:comment "Version 1.0" ; + rdfs:isDefinedBy ; + dc:conformsTo ; + . + */ + + SPARQL_10(SPARQL.NS+"version-1.0", "1.0"), + SPARQL_11(SPARQL.NS+"version-1.1", "1.1"), + SPARQL_12_basic(SPARQL.NS+"version-1.2-basic", "1.2-basic"), + SPARQL_12(SPARQL.NS+"version-1.2", "1.2"); + + public final String uri; + public final Node term; + public final String label; + + SPARQLVersions(String uri, String label) { + this.uri = uri; + this.term = NodeFactory.createURI(uri); + this.label = label; + } +} diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestDAWG.java b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestDAWG.java index 6ede12a3625..8ef6ff1fcbc 100644 --- a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestDAWG.java +++ b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestDAWG.java @@ -21,96 +21,90 @@ package org.apache.jena.sparql.vocabulary; -/* CVS $Id: TestDAWG.java,v 1.1 2005/02/09 14:59:46 andy_seaborne Exp $ */ - -import org.apache.jena.rdf.model.Model ; -import org.apache.jena.rdf.model.ModelFactory ; import org.apache.jena.rdf.model.Property ; import org.apache.jena.rdf.model.Resource ; - +import org.apache.jena.rdf.model.ResourceFactory; + /** - * Vocabulary definitions from test-dawg.n3 - * @author Auto-generated by schemagen on 26 Jul 2004 15:01 + * Vocabulary definitions from test-dawg.n3 + * @author Auto-generated by schemagen on 26 Jul 2004 15:01 */ public class TestDAWG { - /**

The RDF model that holds the vocabulary terms

*/ - private static Model m_model = ModelFactory.createDefaultModel(); - - /**

The namespace of the vocabulary as a string ({@value})

*/ + /** The namespace of the vocabulary as a string ({@value}) */ public static final String NS = "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#"; - - /**

The namespace of the vocabulary as a string

+ + /** The namespace of the vocabulary as a string * @see #NS */ public static String getURI() {return NS;} - - /**

The namespace of the vocabulary as a resource

*/ - public static final Resource NAMESPACE = m_model.createResource( NS ); - - public static final Property queryForm = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#queryForm" ); - - /**

Indicates that while the test should pass, it may generate a warning.

*/ - public static final Property warning = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#warning" ); - - /**

Contains a pointer to the associated issue on the RDF Data Access Working - * Group Tracking document.

+ + /** The namespace of the vocabulary as a resource */ + public static final Resource NAMESPACE = ResourceFactory.createResource( NS ); + + public static final Property queryForm = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#queryForm" ); + + /** Indicates that while the test should pass, it may generate a warning. */ + public static final Property warning = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#warning" ); + + /** Contains a pointer to the associated issue on the RDF Data Access Working + * Group Tracking document. */ - public static final Property issue = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#issue" ); - - /**

Contains a reference to the minutes of the RDF Data Access Working Group where - * the test case status was last changed.

+ public static final Property issue = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#issue" ); + + /** Contains a reference to the minutes of the RDF Data Access Working Group where + * the test case status was last changed. */ - public static final Property approval = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#approval" ); - - public static final Property resultForm = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#resultForm" ); - - /**

A human-readable summary of the test case.

*/ - public static final Property description = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#description" ); - - public static final Property status = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#status" ); - - /**

Super class of all test status classes

*/ - public static final Resource Status = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#Status" ); - - /**

Super class of all result forms

*/ - public static final Resource ResultForm = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#ResultForm" ); - - /**

Super class of all query forms

*/ - public static final Resource QueryForm = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#QueryForm" ); - - /**

Class of result expected to be from a SELECT query

*/ - public static final Resource resultResultSet = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#resultResultSet" ); - - /**

Class of queries that are seeking a constructed graph

*/ - public static final Resource queryConstruct = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#queryConstruct" ); - - /**

Class of queries that are seeking a yes/no question

*/ - public static final Resource queryAsk = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#queryAsk" ); - - /**

Class of result expected to be a graph

*/ - public static final Resource resultGraph = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#resultGraph" ); - - /**

Class of tests that have not been classified

*/ - public static final Resource NotClassified = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#NotClassified" ); - - /**

Class of result expected to be a boolean

*/ - public static final Resource booleanResult = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#booleanResult" ); - - /**

Class of tests that are Approved

*/ - public static final Resource Approved = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#Approved" ); - - /**

Class of tests that have been Withdrawn

*/ - public static final Resource Withdrawn = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#Withdrawn" ); - - /**

Class of tests that are Obsolete

*/ - public static final Resource Obsoleted = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#Obsoleted" ); - - /**

Class of queries that are seeking a descriptive graph

*/ - public static final Resource queryDescribe = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#queryDescribe" ); - - /**

Class of queries that are seeking variable bindings

*/ - public static final Resource querySelect = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#querySelect" ); - - /**

Class of tests that are Rejected

*/ - public static final Resource Rejected = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#Rejected" ); - + public static final Property approval = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#approval" ); + + public static final Property resultForm = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#resultForm" ); + + /** A human-readable summary of the test case. */ + public static final Property description = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#description" ); + + public static final Property status = ResourceFactory.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#status" ); + + /** Super class of all test status classes */ + public static final Resource Status = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#Status" ); + + /** Super class of all result forms */ + public static final Resource ResultForm = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#ResultForm" ); + + /** Super class of all query forms */ + public static final Resource QueryForm = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#QueryForm" ); + + /** Class of result expected to be from a SELECT query */ + public static final Resource resultResultSet = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#resultResultSet" ); + + /** Class of queries that are seeking a constructed graph */ + public static final Resource queryConstruct = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#queryConstruct" ); + + /** Class of queries that are seeking a yes/no question */ + public static final Resource queryAsk = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#queryAsk" ); + + /** Class of result expected to be a graph */ + public static final Resource resultGraph = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#resultGraph" ); + + /** Class of tests that have not been classified */ + public static final Resource NotClassified = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#NotClassified" ); + + /** Class of result expected to be a boolean */ + public static final Resource booleanResult = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#booleanResult" ); + + /** Class of tests that are Approved */ + public static final Resource Approved = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#Approved" ); + + /** Class of tests that have been Withdrawn */ + public static final Resource Withdrawn = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#Withdrawn" ); + + /** Class of tests that are Obsolete */ + public static final Resource Obsoleted = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#Obsoleted" ); + + /** Class of queries that are seeking a descriptive graph */ + public static final Resource queryDescribe = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#queryDescribe" ); + + /** Class of queries that are seeking variable bindings */ + public static final Resource querySelect = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#querySelect" ); + + /** Class of tests that are Rejected */ + public static final Resource Rejected = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#Rejected" ); + } diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifestUpdate_11.java b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifestUpdate_11.java index 8bafb96c2d2..60bd8cccf59 100644 --- a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifestUpdate_11.java +++ b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifestUpdate_11.java @@ -22,63 +22,47 @@ package org.apache.jena.sparql.vocabulary ; /* CVS $Id: $ */ - + import org.apache.jena.rdf.model.* ; - + /** - * Vocabulary definitions from test-update.n3 - * @author Auto-generated by schemagen on 29 Oct 2010 17:36 + * Vocabulary definitions from test-update.n3 */ public class TestManifestUpdate_11 { - /**

The RDF model that holds the vocabulary terms

*/ - private static Model m_model = ModelFactory.createDefaultModel(); - - /**

The namespace of the vocabulary as a string

*/ - public static final String NS = "http://www.w3.org/2009/sparql/tests/test-update#"; - - /**

The namespace of the vocabulary as a string

- * @see #NS */ - public static String getURI() {return NS;} - - /**

The namespace of the vocabulary as a resource

*/ - public static final Resource NAMESPACE = m_model.createResource( NS ); - - /**

Optional: data for the update test (i.e. default graph in the graph store - * prior or after the update, depending on whether used within mf:action or within - * mf:result)

+ + /** Optional: data for the update test (i.e. default graph in the graph store + * prior or after the update, depending on whether used within mf:action or within + * mf:result) */ - public static final Property data = m_model.createProperty( "http://www.w3.org/2009/sparql/tests/test-update#data" ); - - public static final Property graph = m_model.createProperty( "http://www.w3.org/2009/sparql/tests/test-update#graph" ); - - /**

Optional: named-graph only data for the update test (i.e. named graph in the - * graph store prior or after the update, depending on whether used within mf:action - * or within mf:result)

+ public static final Property data = ResourceFactory.createProperty( "http://www.w3.org/2009/sparql/tests/test-update#data" ); + + public static final Property graph = ResourceFactory.createProperty( "http://www.w3.org/2009/sparql/tests/test-update#graph" ); + + /** Optional: named-graph only data for the update test (i.e. named graph in the + * graph store prior or after the update, depending on whether used within mf:action + * or within mf:result) */ - public static final Property graphData = m_model.createProperty( "http://www.w3.org/2009/sparql/tests/test-update#graphData" ); - - /**

The update query to ask

*/ - public static final Property request = m_model.createProperty( "http://www.w3.org/2009/sparql/tests/test-update#request" ); - - /**

The class of all SPARQL 1.1 Update results

*/ - public static final Resource Result = m_model.createResource( "http://www.w3.org/2009/sparql/tests/test-update#Result" ); - - /**

The class of all SPARQL 1.1 Update evaluation tests

*/ - public static final Resource UpdateEvaluationTest = m_model.createResource( "http://www.w3.org/2009/sparql/tests/test-update#UpdateEvaluationTest" ); - - /**

test failure, cf. http://www.w3.org/TR/sparql11-protocol/#update-fault-messages

*/ - public static final Resource graph_already_exists = m_model.createResource( "http://www.w3.org/2009/sparql/tests/test-update#graph-already-exists" ); - - /**

test failure, cf. http://www.w3.org/TR/sparql11-protocol/#update-fault-messages

*/ - public static final Resource graph_does_not_exist = m_model.createResource( "http://www.w3.org/2009/sparql/tests/test-update#graph-does-not-exist" ); - - /**

test failure, cf. http://www.w3.org/TR/sparql11-protocol/#update-fault-messages

*/ - public static final Resource malformed_update = m_model.createResource( "http://www.w3.org/2009/sparql/tests/test-update#malformed-update" ); - - /**

test shall pass without failure

*/ - public static final Resource success = m_model.createResource( "http://www.w3.org/2009/sparql/tests/test-update#success" ); - - /**

test failure, cf. http://www.w3.org/TR/sparql11-protocol/#update-fault-messages

*/ - public static final Resource update_request_refused = m_model.createResource( "http://www.w3.org/2009/sparql/tests/test-update#update-request-refused" ); - + public static final Property graphData = ResourceFactory.createProperty( "http://www.w3.org/2009/sparql/tests/test-update#graphData" ); + + /** The update query to ask */ + public static final Property request = ResourceFactory.createProperty( "http://www.w3.org/2009/sparql/tests/test-update#request" ); + + /** The class of all SPARQL 1.1 Update results */ + public static final Resource Result = ResourceFactory.createProperty( "http://www.w3.org/2009/sparql/tests/test-update#Result" ); + + /** test failure, cf. http://www.w3.org/TR/sparql11-protocol/#update-fault-messages */ + public static final Resource graph_already_exists = ResourceFactory.createResource( "http://www.w3.org/2009/sparql/tests/test-update#graph-already-exists" ); + + /** test failure, cf. http://www.w3.org/TR/sparql11-protocol/#update-fault-messages */ + public static final Resource graph_does_not_exist = ResourceFactory.createResource( "http://www.w3.org/2009/sparql/tests/test-update#graph-does-not-exist" ); + + /** test failure, cf. http://www.w3.org/TR/sparql11-protocol/#update-fault-messages */ + public static final Resource malformed_update = ResourceFactory.createResource( "http://www.w3.org/2009/sparql/tests/test-update#malformed-update" ); + + /** test shall pass without failure */ + public static final Resource success = ResourceFactory.createResource( "http://www.w3.org/2009/sparql/tests/test-update#success" ); + + /** test failure, cf. http://www.w3.org/TR/sparql11-protocol/#update-fault-messages */ + public static final Resource update_request_refused = ResourceFactory.createResource( "http://www.w3.org/2009/sparql/tests/test-update#update-request-refused" ); + } diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifestX.java b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifestX.java index 6fcec736347..1b968b14a58 100644 --- a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifestX.java +++ b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifestX.java @@ -21,63 +21,66 @@ package org.apache.jena.sparql.vocabulary ; -import org.apache.jena.rdf.model.Model ; -import org.apache.jena.rdf.model.ModelFactory ; +import org.apache.jena.rdf.model.ResourceFactory; import org.apache.jena.rdf.model.Property ; import org.apache.jena.rdf.model.Resource ; /** More TestManifest */ public class TestManifestX { - /**

The RDF model that holds the vocabulary terms

*/ - private static Model m_model = ModelFactory.createDefaultModel(); - - /**

The namespace of the vocabulary as a string

*/ + /** The namespace of the vocabulary as a string */ public static final String NS = "http://jena.hpl.hp.com/2005/05/test-manifest-extra#"; - /**

The namespace of the vocabulary as a string

+ /** The namespace of the vocabulary as a strings * @see #NS */ public static String getURI() {return NS;} - /**

The namespace of the vocabulary as a resource

*/ - public static final Resource NAMESPACE = m_model.createResource( NS ); + /** The namespace of the vocabulary as a resource */ + public static final Resource NAMESPACE = ResourceFactory.createResource( NS ); + + /** Syntax of the query */ + public static final Property dataSyntax = ResourceFactory.createProperty( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#dataSyntax" ); + + /** Default type of a test */ + public static final Property defaultTestType = ResourceFactory.createProperty( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#defaultTestType" ); + + /** Include another manifest file. */ + public static final Property include = ResourceFactory.createProperty( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#include" ); + + /** Option for an action */ + public static final Property option = ResourceFactory.createProperty( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#option" ); + + /** Syntax of the query */ + public static final Property querySyntax = ResourceFactory.createProperty( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#querySyntax" ); - /**

Syntax of the query

*/ - public static final Property dataSyntax = m_model.createProperty( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#dataSyntax" ); + /** Whether to create a text index */ + public static final Property textIndex = ResourceFactory.createProperty( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#textIndex" ); - /**

Default type of a test

*/ - public static final Property defaultTestType = m_model.createProperty( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#defaultTestType" ); - /**

Include another manifest file.

*/ - public static final Property include = m_model.createProperty( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#include" ); - /**

Option for an action

*/ - public static final Property option = m_model.createProperty( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#option" ); - /**

Syntax of the query

*/ - public static final Property querySyntax = m_model.createProperty( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#querySyntax" ); + /** Syntax tests which expect a parse failure */ + public static final Resource NegativeSyntaxTestARQ = ResourceFactory.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#NegativeSyntaxTestARQ" ); - /**

Whether to create a text index

*/ - public static final Property textIndex = m_model.createProperty( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#textIndex" ); + /** Syntax tests (query) */ + public static final Resource PositiveSyntaxTestARQ = ResourceFactory.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#PositiveSyntaxTestARQ" ); - /**

Syntax tests which expect a parse failure

*/ - public static final Resource NegativeSyntaxTestARQ = m_model.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#NegativeSyntaxTestARQ" ); + /** Syntax tests which expect a parse failure */ + public static final Resource NegativeUpdateSyntaxTestARQ = ResourceFactory.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#NegativeUpdateSyntaxTestARQ" ); - /**

Syntax tests (query)

*/ - public static final Resource PositiveSyntaxTestARQ = m_model.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#PositiveSyntaxTestARQ" ); + /** Syntax tests (query) */ + public static final Resource PositiveUpdateSyntaxTestARQ = ResourceFactory.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#PositiveUpdateSyntaxTestARQ" ); - /**

Syntax tests which expect a parse failure

*/ - public static final Resource NegativeUpdateSyntaxTestARQ = m_model.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#NegativeUpdateSyntaxTestARQ" ); - /**

Syntax tests (query)

*/ - public static final Resource PositiveUpdateSyntaxTestARQ = m_model.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#PositiveUpdateSyntaxTestARQ" ); - /**

The class of test that are Query tests (query, data, results)

*/ - public static final Resource TestQuery = m_model.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#TestQuery" ); + /** The class of test that are Query tests (query, data, results) */ + public static final Resource TestQuery = ResourceFactory.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#TestQuery" ); - /**

Query serialization tests

*/ - public static final Resource TestSerialization = m_model.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#TestSerialization" ); + /** Query serialization tests */ + public static final Resource TestSerialization = ResourceFactory.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#TestSerialization" ); - /**

Query test not to be run

*/ - public static final Resource TestSurpressed = m_model.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#TestSurpressed" ); + /** Query test not to be run */ + public static final Resource TestSurpressed = ResourceFactory.createResource( "http://jena.hpl.hp.com/2005/05/test-manifest-extra#TestSurpressed" ); + /** CSV Test (i.e query, with results in CSV) - an extension */ + public static final Resource CSVResultFormatTest = ResourceFactory.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#CSVResultFormatTest" ); } diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifest_11.java b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifest_11.java index 7942933e05b..d560d7c7240 100644 --- a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifest_11.java +++ b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifest_11.java @@ -22,50 +22,29 @@ package org.apache.jena.sparql.vocabulary ; import org.apache.jena.rdf.model.* ; +import org.apache.jena.vocabulary.TestManifest; /** - * Vocabulary definitions from test-manifest-1_1.ttl - * @author Auto-generated by schemagen on 24 May 2012 18:37 + * Vocabulary definitions from test-manifest-1_1.ttl */ +@Deprecated(forRemoval = true) public class TestManifest_11 { - /**

The RDF model that holds the vocabulary terms

*/ - private static Model m_model = ModelFactory.createDefaultModel(); - - /**

The namespace of the vocabulary as a string

*/ - public static final String NS = "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#"; - - /**

The namespace of the vocabulary as a string

- * @see #NS */ - public static String getURI() {return NS;} - - /**

The namespace of the vocabulary as a resource

*/ - public static final Resource NAMESPACE = m_model.createResource( NS ); - - /**

CSV Test

*/ - public static final Resource CSVResultFormatTest = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#CSVResultFormatTest" ); - - /**

A type of test specifically for syntax testing for SPARQL 1.1.

*/ - public static final Resource NegativeSyntaxTest11 = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#NegativeSyntaxTest11" ); - - /**

A type of test specifically for syntax testing of SPARQL Update. Syntax tests - * are not required to have an associated result, only an action. Negative syntax - * tests are tests of which the result should be a parser error.

- */ - public static final Resource NegativeUpdateSyntaxTest11 = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#NegativeUpdateSyntaxTest11" ); - - /**

A type of test specifically for syntax testing for SPARQL 1.1.

*/ - public static final Resource PositiveSyntaxTest11 = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#PositiveSyntaxTest11" ); - - /**

A type of test specifically for syntax testing of SPARQL Update. Syntax tests - * are not required to have an associated result, only an action.

- */ - public static final Resource PositiveUpdateSyntaxTest11 = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#PositiveUpdateSyntaxTest11" ); - - /**

A type of test specifically for query evaluation testing. Query evaluation - * tests are required to have an associated input dataset, a query, and an expected - * output dataset.

- */ - public static final Resource UpdateEvaluationTest = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#UpdateEvaluationTest" ); - } + public static final String NS = TestManifest.NS; + + /** A type of test specifically for syntax testing for SPARQL 1.1. */ + @Deprecated(forRemoval = true) + public static final Resource PositiveSyntaxTest11 = ResourceFactory.createResource( NS+"PositiveSyntaxTest11" ); + + @Deprecated(forRemoval = true) + public static final Resource PositiveUpdateSyntaxTest11 = ResourceFactory.createResource( NS+"PositiveUpdateSyntaxTest11" ); + + /** A type of test specifically for syntax testing for SPARQL 1.1. */ + @Deprecated(forRemoval = true) + public static final Resource NegativeSyntaxTest11 = ResourceFactory.createResource( NS+"NegativeSyntaxTest11" ); + + @Deprecated(forRemoval = true) + public static final Resource NegativeUpdateSyntaxTest11 = ResourceFactory.createResource( NS+"NegativeUpdateSyntaxTest11" ); + +} diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifest_12.java b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifest_12.java index 92ec0facffd..9fe90122f4e 100644 --- a/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifest_12.java +++ b/jena-arq/src/main/java/org/apache/jena/sparql/vocabulary/TestManifest_12.java @@ -27,17 +27,15 @@ /** * Additional or changed vocabulary for rdf-tests SPARQL area. */ +@Deprecated(forRemoval = true) public class TestManifest_12 { - /**

The namespace of the vocabulary as a string

*/ + /** The namespace of the vocabulary as a string */ public static final String NS = "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#"; + @Deprecated(forRemoval = true) public static final Resource PositiveSyntaxTest12 = ResourceFactory.createResource(NS+"PositiveSyntaxTest12"); + @Deprecated(forRemoval = true) public static final Resource NegativeSyntaxTest12 = ResourceFactory.createResource(NS+"NegativeSyntaxTest12"); - - public static final Resource PositiveUpdateSyntaxTest = ResourceFactory.createResource(NS+"PositiveUpdateSyntaxTest"); - - public static final Resource NegativeUpdateSyntaxTest = ResourceFactory.createResource(NS+"NegativeUpdateSyntaxTest"); - } diff --git a/jena-arq/src/main/java/org/apache/jena/system/G.java b/jena-arq/src/main/java/org/apache/jena/system/G.java index da96d5d472e..a9671b7f973 100644 --- a/jena-arq/src/main/java/org/apache/jena/system/G.java +++ b/jena-arq/src/main/java/org/apache/jena/system/G.java @@ -167,6 +167,14 @@ public static String asString(Node x) { return x.getLiteralLexicalForm(); } + /** Get a string, or null, assuming the node is an xsd:string literal. */ + public static String asOptionalString(Node x) { + if ( x == null ) + return null; + return asString(x); + } + + /** Does the graph match the s/p/o pattern? */ public static boolean contains(Graph graph, Node subject, Node predicate, Node object) { Objects.requireNonNull(graph, "graph"); diff --git a/jena-arq/src/test/java/org/apache/jena/arq/junit/OmittedTest.java b/jena-arq/src/test/java/org/apache/jena/arq/junit/OmittedTest.java index c8259fd1273..a30baf1ba9a 100644 --- a/jena-arq/src/test/java/org/apache/jena/arq/junit/OmittedTest.java +++ b/jena-arq/src/test/java/org/apache/jena/arq/junit/OmittedTest.java @@ -30,8 +30,7 @@ public class OmittedTest extends SkipTest { public final boolean verbose; public OmittedTest(ManifestEntry entry) { - super(entry); - this.verbose = false; + this(entry, false); } public OmittedTest(ManifestEntry entry, boolean verbose) { diff --git a/jena-arq/src/test/java/org/apache/jena/arq/junit/manifest/Manifest.java b/jena-arq/src/test/java/org/apache/jena/arq/junit/manifest/Manifest.java index 1d9d4958f4f..cd27a444e9e 100644 --- a/jena-arq/src/test/java/org/apache/jena/arq/junit/manifest/Manifest.java +++ b/jena-arq/src/test/java/org/apache/jena/arq/junit/manifest/Manifest.java @@ -67,12 +67,13 @@ public static Manifest parse(String filenameOrURI) { log.error("Error reading manifest: "+filenameOrURI); throw new TestSetupException("Error reading manifest: "+filenameOrURI); } - Manifest manifest = new Manifest(manifestRDF); + Manifest manifest = new Manifest(manifestRDF, filenameOrURI); return manifest; } - private Manifest(Graph manifestRDF) { - manifestGraph = manifestRDF; + private Manifest(Graph manifestRDF, String filenameOrURI) { + this.manifestGraph = manifestRDF; + this.filenameOrURI = filenameOrURI; manifest = getManifestNode(manifestGraph, filenameOrURI); parseManifest(); parseIncludes(); @@ -128,9 +129,10 @@ private void parseEntries() { items.forEach(entry->{ String testName = getLiteral(entry, TestManifest.name.asNode()); Node testType = G.getZeroOrOneSP(manifestGraph, entry, RDF.Nodes.type); - Node action = G.getZeroOrOneSP(manifestGraph, entry, TestManifest.action.asNode()); - Node result = G.getZeroOrOneSP(manifestGraph, entry, TestManifest.result.asNode()); - ManifestEntry manifestEntry = new ManifestEntry(this, entry, testName, testType, action, result); + String specVersion = G.asOptionalString(G.getZeroOrOneSP(manifestGraph, entry, TestManifest.specVersion.asNode())); + Node action = G.getZeroOrOneSP(manifestGraph, entry, TestManifest.action.asNode()); + Node result = G.getZeroOrOneSP(manifestGraph, entry, TestManifest.result.asNode()); + ManifestEntry manifestEntry = new ManifestEntry(this, entry, testName, testType, specVersion, action, result); entries.add(manifestEntry); }); } @@ -150,8 +152,7 @@ private void parseIncludes(Node property) { }); } - private void parseOneIncludesList(Node r) - { + private void parseOneIncludesList(Node r) { if ( r == null ) return; if ( r.equals(RDF.Nodes.nil) ) @@ -164,7 +165,7 @@ private void parseOneIncludesList(Node r) includedFiles.add(r.getURI()); return; } - if ( ! r.isBlank() ) + if ( !r.isBlank() ) return; // Blank node - assumed to be a list. List includes = G.listMembers(manifestGraph, r); @@ -173,25 +174,28 @@ private void parseOneIncludesList(Node r) parseOneIncludesList(inc); continue; } - log.warn("Include: not a URI or blank node: "+inc); + log.warn("Include: not a URI or blank node: " + inc); } } + /** + * Get a string. + * Return null if not found or if the resource (first argument) is null or if the + * resource does not have that property. + * Return the lexical form of the literal. + */ private String getLiteral(Node r, Node p) { if ( r == null ) return null; Node n = G.getZeroOrOneSP(manifestGraph, r, p); if ( n == null ) return null; - if ( n.isLiteral() ) return n.getLiteralLexicalForm(); - throw new TestSetupException("Manifest problem (not a Literal): " + r + " => " + p); } - private String getLiteralOrURI(Node r, Node p) - { + private String getLiteralOrURI(Node r, Node p) { if ( r == null ) return null; Node n = G.getZeroOrOneSP(manifestGraph, r, p); diff --git a/jena-arq/src/test/java/org/apache/jena/arq/junit/manifest/ManifestEntry.java b/jena-arq/src/test/java/org/apache/jena/arq/junit/manifest/ManifestEntry.java index 531210bf238..000f2193128 100644 --- a/jena-arq/src/test/java/org/apache/jena/arq/junit/manifest/ManifestEntry.java +++ b/jena-arq/src/test/java/org/apache/jena/arq/junit/manifest/ManifestEntry.java @@ -21,38 +21,116 @@ package org.apache.jena.arq.junit.manifest; +import static org.apache.jena.system.G.isBlank; +import static org.apache.jena.system.G.isLiteral; +import static org.apache.jena.system.G.isURI; + +import java.util.HashSet; +import java.util.Set; + import org.apache.jena.graph.Graph; import org.apache.jena.graph.Node; +import org.apache.jena.riot.out.NodeFmtLib; +import org.apache.jena.system.G; +import org.apache.jena.system.RDFDataException; public class ManifestEntry { private final Manifest manifest; private final Node entry; private final String name; private final Node testType; + private final String specVersion; private final Node action; private final Node result; - public ManifestEntry(Manifest manifest, Node entry, String name, Node testType, Node action, Node result) { + static Set onceNoType = new HashSet<>(); + static Set onceWithVersion = new HashSet<>(); + + public ManifestEntry(Manifest manifest, Node entry, String name, Node testType, String specVersion, Node action, Node result) { super(); + this.manifest = manifest; - this.entry = entry; + this.entry = requireResource(entry, "entry"); this.name = name; + + // Legacy - some local tests are written short-hand with no - assumes a SPARQL eval test. + // See SPARQLTests. + //this.testType = requireResource(testType, "testType"); this.testType = testType; - this.action = action; - this.result = result; + this.specVersion = specVersion; + this.action = requireResource(action, "action"); + this.result = optionalResource(result, "result"); + } + + private static void runOnce(Set once, Object key, Runnable msg) { + if ( ! once.contains(key) ) { + once.add(key); + msg.run(); + } + } + + // --> G + // Check for URI or blank node. + private static Node requireResource(Node n, String role) { + if ( n == null ) + throw new RDFDataException(role+ ": null"); + if ( isURI(n) ) + return n; + if ( isBlank(n) ) + return n; + throw new RDFDataException(role+": Not a resource: "+NodeFmtLib.displayStr(n)); + } + + private static Node optionalResource(Node n, String role) { + if ( n == null ) + return n; + return requireResource(n, role); + } + + // Check for URI or blank node. + private static String requireString(Node n, String role) { + if ( n == null ) + throw new RDFDataException(role+ ": null"); + if ( ! isLiteral(n) ) + throw new RDFDataException(role+": Not a string: "+NodeFmtLib.displayStr(n)); + return G.asString(n); // xsd:string. + //return n.getLiteralLexicalForm(); + } + + private static String optionalString(Node n, String role) { + if ( n == null ) + return null; + return requireString(n, role); } /** * Return a ManifestEntry with different type/action/result. * This is used to replace rdf-tests-cg where test behaviour is expected to be different. */ - public static ManifestEntry alter(ManifestEntry entry, Node testType, Node action, Node result) { + public static ManifestEntry alter(ManifestEntry entry, Node testType, String specVersion, Node action, Node result) { return new ManifestEntry(entry.getManifest(), entry.getEntry(), entry.getName(), - testType, action, result); + testType, + specVersion, + action, + result); + } + + /** + * Return a ManifestEntry with different name. + */ + public static ManifestEntry alter(ManifestEntry entry, String altName) { + return new ManifestEntry(entry.getManifest(), + entry.getEntry(), + altName, + entry.getTestType(), + entry.getSpecVersion(), + entry.getAction(), + entry.getResult()); } + public Manifest getManifest() { return manifest; } @@ -81,6 +159,10 @@ public Node getTestType() { return testType; } + public String getSpecVersion() { + return specVersion; + } + public Node getAction() { return action; } diff --git a/jena-arq/src/test/java/org/apache/jena/arq/junit/riot/RiotTests.java b/jena-arq/src/test/java/org/apache/jena/arq/junit/riot/RiotTests.java index 8e64d5587cf..e565564a524 100644 --- a/jena-arq/src/test/java/org/apache/jena/arq/junit/riot/RiotTests.java +++ b/jena-arq/src/test/java/org/apache/jena/arq/junit/riot/RiotTests.java @@ -39,7 +39,7 @@ public class RiotTests { /** Create a RIOT language test - or return null for "unrecognized" */ - @SuppressWarnings("deprecation") + @SuppressWarnings("removal") public static Runnable makeRIOTTest(ManifestEntry entry) { //Resource manifest = entry.getManifest(); Node item = entry.getEntry(); @@ -51,6 +51,7 @@ public static Runnable makeRIOTTest(ManifestEntry entry) { Node testType = entry.getTestType(); if ( testType == null ) return null; + String specVersion = entry.getSpecVersion(); try { String labelPrefix = "[RIOT]"; @@ -77,7 +78,6 @@ public static Runnable makeRIOTTest(ManifestEntry entry) { if ( equalsType(testType, VocabLangRDF.TestNegativeSyntaxTTL) ) return new RiotSyntaxTest(entry, RDFLanguages.TURTLE, false); - // XXX Remove of rdf-test update // These are parse errors if ( equalsType(testType, VocabLangRDF.TestNegativeEvalTTL) ) return new RiotSyntaxTest(entry, RDFLanguages.TURTLE, false); @@ -127,6 +127,7 @@ public static Runnable makeRIOTTest(ManifestEntry entry) { String base = rebase(input, assumedBase); return new RiotEvalTest(entry, base, RDFLanguages.TURTLE, true); } + if ( equalsType(testType, VocabLangRDF.TestEvalTriG) ) { String base = rebase(input, assumedBase); return new RiotEvalTest(entry, base, RDFLanguages.TRIG, true); @@ -172,7 +173,7 @@ public static Runnable makeRIOTTest(ManifestEntry entry) { String resultURI = result.getURI().replaceAll("/rdf-tests-cg/rdf/rdf11/rdf-xml/xml-canon/", "/RIOT/Lang/rdf-xml/xml-canon/"); Node action2 = NodeFactory.createURI(actionURI); Node result2 = NodeFactory.createURI(resultURI); - entry = ManifestEntry.alter(entry, testType, action2, result2); + entry = ManifestEntry.alter(entry, testType, specVersion, action2, result2); } String fn = entry.getAction().getURI(); // Adjust to changes in rdf-tests-cg layout. diff --git a/jena-arq/src/test/java/org/apache/jena/arq/junit/riot/VocabLangRDF.java b/jena-arq/src/test/java/org/apache/jena/arq/junit/riot/VocabLangRDF.java index f65f8a5439a..ba5e2b5015f 100644 --- a/jena-arq/src/test/java/org/apache/jena/arq/junit/riot/VocabLangRDF.java +++ b/jena-arq/src/test/java/org/apache/jena/arq/junit/riot/VocabLangRDF.java @@ -47,7 +47,8 @@ public class VocabLangRDF public static final Resource TestPositiveSyntaxTTL = m_model.createResource( NS+"TestTurtlePositiveSyntax" ); public static final Resource TestNegativeSyntaxTTL = m_model.createResource( NS+"TestTurtleNegativeSyntax" ); public static final Resource TestEvalTTL = m_model.createResource( NS+"TestTurtleEval" ); - @Deprecated + // Legacy + @Deprecated(forRemoval = true) public static final Resource TestNegativeEvalTTL = m_model.createResource( NS+"TestTurtleNegativeEval" ); public static final Resource TestPositiveSyntaxNT = m_model.createResource( NS+"TestNTriplesPositiveSyntax" ); @@ -68,7 +69,7 @@ public class VocabLangRDF public static final Resource TestPositiveSyntaxTriG = m_model.createResource( NS+"TestTrigPositiveSyntax" ); public static final Resource TestNegativeSyntaxTriG = m_model.createResource( NS+"TestTrigNegativeSyntax" ); public static final Resource TestEvalTriG = m_model.createResource( NS+"TestTrigEval" ); - @Deprecated + @Deprecated(forRemoval = true) public static final Resource TestNegativeEvalTriG = m_model.createResource( NS+"TestTrigNegativeEval" ); public static final Resource TestPositiveSyntaxRDFXML = m_model.createResource( NS+"TestXMLPositiveSyntax" ); diff --git a/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/SparqlSpecVersion.java b/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/SparqlSpecVersion.java new file mode 100644 index 00000000000..a44c85edea3 --- /dev/null +++ b/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/SparqlSpecVersion.java @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package org.apache.jena.arq.junit.sparql; + +import org.apache.jena.shared.JenaException; + +public enum SparqlSpecVersion { + SPARQL_10("sparql-1.0"), + SPARQL_11("sparql-1.1"), + SPARQL_12("sparql-1.2"), + ARQ("ARQ") + ; + + private final String specVersion; + + SparqlSpecVersion(String string) { + this.specVersion = string; + } + + static SparqlSpecVersion get(String label) { + if ( label == null ) + return null; + return switch(label) { + case "sparql-1.0" -> SPARQL_10; + case "sparql-1.1" -> SPARQL_11; + case "sparql-1.2" -> SPARQL_12; + case "ARQ", "arq" -> ARQ; + default -> { throw new JenaException("Unrecognized version label: "+label); } + }; + } +} diff --git a/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/SparqlTests.java b/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/SparqlTests.java index beab6fb7da6..05c78767fdb 100644 --- a/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/SparqlTests.java +++ b/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/SparqlTests.java @@ -35,7 +35,6 @@ import org.apache.jena.query.Dataset; import org.apache.jena.query.Syntax; import org.apache.jena.rdf.model.Resource; -import org.apache.jena.sparql.vocabulary.TestManifestUpdate_11; import org.apache.jena.sparql.vocabulary.TestManifestX; import org.apache.jena.sparql.vocabulary.TestManifest_11; import org.apache.jena.sparql.vocabulary.TestManifest_12; @@ -56,50 +55,122 @@ public static Runnable makeSPARQLTest(ManifestEntry entry) { return null; } - Syntax querySyntax = defaultForSyntaxTests; + Syntax sparqlSyntax = defaultForSyntaxTests; - // Syntax to use for tests where the file extension .rq/.ru applies. - Syntax querySyntax11 = querySyntax; - Syntax updateSyntax11 = querySyntax; - Syntax querySyntax12 = querySyntax; - - if ( querySyntax != null ) { - if ( ! querySyntax.equals(Syntax.syntaxARQ) && - ! querySyntax.equals(Syntax.syntaxSPARQL_10) && - ! querySyntax.equals(Syntax.syntaxSPARQL_11) && - ! querySyntax.equals(Syntax.syntaxSPARQL_12) ) - throw new TestSetupException("Unknown syntax: "+querySyntax); + if ( sparqlSyntax != null ) { + if ( ! sparqlSyntax.equals(Syntax.syntaxARQ) && + ! sparqlSyntax.equals(Syntax.syntaxSPARQL_10) && + ! sparqlSyntax.equals(Syntax.syntaxSPARQL_11) && + ! sparqlSyntax.equals(Syntax.syntaxSPARQL_12) ) + throw new TestSetupException("Unknown syntax: "+sparqlSyntax); } Node testType = entry.getTestType(); - if ( testType == null ) + SparqlSpecVersion specVersion = SparqlSpecVersion.get(entry.getSpecVersion()); + + if ( testType == null ) { + System.err.println("No type: "+entry.getManifest().getFileName()+ (entry.getName()==null?"": " : "+entry.getName()) ); + testType = TestManifest.QueryEvaluationTest.asNode(); + if ( specVersion == null ) { + specVersion = SparqlSpecVersion.ARQ; + } + } - // ---- Query syntax tests - if ( equalsType(testType, TestManifest.PositiveSyntaxTest) ) { - return new QuerySyntaxTest(entry, querySyntax, true); - } - if ( equalsType(testType, TestManifest_11.PositiveSyntaxTest11) ) - return new QuerySyntaxTest(entry, querySyntax11, true); - if ( equalsType(testType, TestManifest_12.PositiveSyntaxTest12) ) - return new QuerySyntaxTest(entry, querySyntax12, true); - if ( equalsType(testType, TestManifestX.PositiveSyntaxTestARQ) ) { + return adaptDispatch(entry, testType, specVersion, sparqlSyntax); + } + + // Allows us to isolate the places where deprecation warnings occur. + @SuppressWarnings("removal") + private static Runnable adaptDispatch(ManifestEntry entry, Node testType , SparqlSpecVersion specVersion, Syntax sparqlSyntax) { + + // Legacy test type conversion. + if ( equalsType(testType, TestManifest_11.PositiveSyntaxTest11) ) { + testType = TestManifest.PositiveSyntaxTest.asNode(); + specVersion = SparqlSpecVersion.SPARQL_11; + } + else if ( equalsType(testType, TestManifest_11.NegativeSyntaxTest11) ) { + testType = TestManifest.NegativeSyntaxTest.asNode(); + specVersion = SparqlSpecVersion.SPARQL_11; + } + else if ( equalsType(testType, TestManifest_12.PositiveSyntaxTest12) ) { + testType = TestManifest.PositiveSyntaxTest.asNode(); + specVersion = SparqlSpecVersion.SPARQL_12; + } + else if ( equalsType(testType, TestManifest_12.NegativeSyntaxTest12) ) { + testType = TestManifest.NegativeSyntaxTest.asNode(); + specVersion = SparqlSpecVersion.SPARQL_12; + } + else if ( equalsType(testType, TestManifest_11.PositiveUpdateSyntaxTest11) ) { + testType = TestManifest.PositiveUpdateSyntaxTest.asNode(); + specVersion = SparqlSpecVersion.SPARQL_11; + } + else if ( equalsType(testType, TestManifest_11.NegativeUpdateSyntaxTest11) ) { + testType = TestManifest.NegativeUpdateSyntaxTest.asNode(); + specVersion = SparqlSpecVersion.SPARQL_11; + } + + // ARQ specific tests. + else if ( equalsType(testType, TestManifestX.PositiveSyntaxTestARQ) ) { + // Just Do It return new QuerySyntaxTest(entry, Syntax.syntaxARQ, true); +// testType = TestManifest.PositiveSyntaxTest.asNode(); +// specVersion = SparqlSpecVersion.ARQ; +// sparqlSyntax = Syntax.syntaxARQ; + + } + else if ( equalsType(testType, TestManifestX.NegativeSyntaxTestARQ) ) { + return new QuerySyntaxTest(entry, Syntax.syntaxARQ, false); +// testType = TestManifest.NegativeSyntaxTest.asNode(); +// specVersion = SparqlSpecVersion.ARQ; +// sparqlSyntax = Syntax.syntaxARQ; + } + else if ( equalsType(testType, TestManifestX.PositiveUpdateSyntaxTestARQ) ) { + return new UpdateSyntaxTest(entry, Syntax.syntaxARQ, true); +// testType = TestManifest.PositiveUpdateSyntaxTest.asNode(); +// specVersion = SparqlSpecVersion.ARQ; +// sparqlSyntax = Syntax.syntaxARQ; + } + else if ( equalsType(testType, TestManifestX.NegativeUpdateSyntaxTestARQ) ) { + return new UpdateSyntaxTest(entry, Syntax.syntaxARQ, false); +// testType = TestManifest.NegativeUpdateSyntaxTest.asNode(); +// specVersion = SparqlSpecVersion.ARQ; +// sparqlSyntax = Syntax.syntaxARQ; } - // == Bad - if ( equalsType(testType, TestManifest.NegativeSyntaxTest) ) { - return new QuerySyntaxTest(entry, querySyntax, false); + if ( specVersion == null ) { + if ( Scripts.entryContainsSubstring(entry, "testing/ARQ") ) + specVersion = SparqlSpecVersion.ARQ; + else if ( Scripts.entryContainsSubstring(entry, "testing/SPARQL-CDTs") ) + specVersion = SparqlSpecVersion.ARQ; } - if ( equalsType(testType, TestManifest_11.NegativeSyntaxTest11) ) { - // Special override - Syntax syn = querySyntax11; - // Some of these are things that ARQ deals with but aren't SPARQL 1.1 so force SPARQL 1.1 - if ( Scripts.entryContainsSubstring(entry, "/Syntax-SPARQL_11/syn-bad-") ) - syn = Syntax.syntaxSPARQL_11; - return new QuerySyntaxTest(entry, syn, false); + + if ( specVersion != null ) { //&& sparqlSyntax == null ) { + switch (specVersion) { + case SPARQL_10 -> sparqlSyntax = Syntax.syntaxSPARQL_10; + case SPARQL_11 -> sparqlSyntax = Syntax.syntaxSPARQL_11; + case SPARQL_12 -> sparqlSyntax = Syntax.syntaxSPARQL_12; + case ARQ -> sparqlSyntax = Syntax.syntaxARQ; + } } + // -- + + // Now dispatch on testType, with setting by syntax. + // Split so the adaptions can be isolated. + + return dispatch(entry, testType, sparqlSyntax); + } + + private static Runnable dispatch(ManifestEntry entry, Node testType , Syntax sparqlSyntax) { + // ---- Query syntax tests + if ( equalsType(testType, TestManifest.PositiveSyntaxTest) ) + return new QuerySyntaxTest(entry, sparqlSyntax, true); + + // == Bad + if ( equalsType(testType, TestManifest.NegativeSyntaxTest) ) { + return new QuerySyntaxTest(entry, sparqlSyntax, false); + } if ( equalsType(testType, TestManifestX.NegativeSyntaxTestARQ) ) return new QuerySyntaxTest(entry, Syntax.syntaxARQ, false); @@ -107,7 +178,6 @@ public static Runnable makeSPARQLTest(ManifestEntry entry) { if ( equalsType(testType, TestManifest.QueryEvaluationTest) ) { // Locally not supported. // Omitted tests. - // Two BNODE in the SELECT if ( entryContainsSubstring(entry, "functions/manifest#bnode01") ) return new OmittedTest(entry); @@ -116,50 +186,41 @@ public static Runnable makeSPARQLTest(ManifestEntry entry) { return new OmittedTest(entry); // Query evaluation tests. - return new QueryEvalTest(entry); + return new QueryEvalTest(entry, sparqlSyntax); } if ( equalsType(testType, TestManifestX.TestQuery) ) - return new QueryEvalTest(entry); + return new QueryEvalTest(entry, sparqlSyntax); // ---- Update syntax tests - if ( equalsType(testType, TestManifest_11.PositiveUpdateSyntaxTest11) ) - return new UpdateSyntaxTest(entry, updateSyntax11, true); if ( equalsType(testType, TestManifestX.PositiveUpdateSyntaxTestARQ) ) return new UpdateSyntaxTest(entry, Syntax.syntaxARQ, true); - if ( equalsType(testType, TestManifest_11.NegativeUpdateSyntaxTest11) ) - return new UpdateSyntaxTest(entry, querySyntax11, false); if ( equalsType(testType, TestManifestX.NegativeUpdateSyntaxTestARQ) ) return new UpdateSyntaxTest(entry, Syntax.syntaxARQ, false); - if ( equalsType(testType, TestManifest_12.PositiveUpdateSyntaxTest) ) - return new UpdateSyntaxTest(entry, Syntax.syntaxARQ, true); - if ( equalsType(testType, TestManifest_12.NegativeUpdateSyntaxTest) ) - return new UpdateSyntaxTest(entry, Syntax.syntaxARQ, false); + if ( equalsType(testType, TestManifest.PositiveUpdateSyntaxTest) ) + return new UpdateSyntaxTest(entry, sparqlSyntax, true); + + if ( equalsType(testType, TestManifest.NegativeUpdateSyntaxTest) ) + return new UpdateSyntaxTest(entry, sparqlSyntax, false); // ---- Update evaluation tests - if ( equalsType(testType, TestManifestUpdate_11.UpdateEvaluationTest) ) - return new UpdateEvalTest(entry); - if ( equalsType(testType, TestManifest_11.UpdateEvaluationTest) ) - return new UpdateEvalTest(entry); + if ( equalsType(testType, TestManifest.UpdateEvaluationTest) ) + return new UpdateEvalTest(entry, sparqlSyntax); // ---- Other if ( equalsType(testType, TestManifestX.TestSerialization) ) return new SerializationTest(entry); - // Reduced is funny. if ( equalsType(testType, TestManifest.ReducedCardinalityTest) ) - return new QueryEvalTest(entry); - + return new QueryEvalTest(entry, sparqlSyntax); if ( equalsType(testType, TestManifestX.TestSurpressed) ) return new SurpressedTest(entry); - - if ( equalsType(testType, TestManifest_11.CSVResultFormatTest) ) { - Log.warn("Tests", "Skip CSV test: "+entry.getName()); - return null; + if ( equalsType(testType, TestManifestX.CSVResultFormatTest) ) { + Log.warn("Tests", "Skip CSV query for test: "+entry.getName()); + return new OmittedTest(entry); } - return null; } @@ -167,7 +228,7 @@ private static boolean equalsType(Node typeNode, Resource typeResource) { return typeNode.equals(typeResource.asNode()); } - /** Make tests, execution only */ + /** Make tests, execution only, any syntax version */ static public Runnable makeSPARQLTestExecOnly(ManifestEntry entry, Creator maker) { Node testType = entry.getTestType(); if ( testType == null ) @@ -176,17 +237,11 @@ static public Runnable makeSPARQLTestExecOnly(ManifestEntry entry, Creator creator; + private final Syntax syntax; /** * Whether to test result sets "by value" or "by term". *

@@ -79,15 +80,16 @@ public class QueryEvalTest extends AbstractManifestTest { */ public static boolean compareResultSetsByValue = true; - public QueryEvalTest(ManifestEntry entry, Creator maker) { - super(entry); - testItem = QueryTestItem.create(entry, TestManifest.QueryEvaluationTest.asNode()); - results = testItem.getResults(); - creator = maker; + public QueryEvalTest(ManifestEntry entry, Syntax syntax) { + this(entry, syntax, ()->DatasetFactory.createGeneral()); } - public QueryEvalTest(ManifestEntry entry) { - this(entry, ()->DatasetFactory.createGeneral()); + public QueryEvalTest(ManifestEntry entry, Syntax syntax, Creator maker) { + super(entry); + this.syntax = syntax; + this.testItem = QueryTestItem.create(entry, TestManifest.QueryEvaluationTest.asNode()); + this.results = testItem.getResults(); + this.creator = maker; } @Override @@ -95,10 +97,9 @@ public void runTest() { Query query; try { try { - query = SparqlTestLib.queryFromEntry(manifestEntry); + query = SparqlTestLib.queryFromEntry(manifestEntry, syntax); } catch (QueryParseException qEx) { - System.err.println("Parse failure in eval test: " + qEx.getMessage()); - //setupFailure("Parse failure: " + qEx.getMessage()); + setupFailure("Parse failure: " + qEx.getMessage()); fail("Parse failure: " + qEx.getMessage()); // Keep Java quiet! throw qEx; @@ -143,9 +144,12 @@ else if ( query.isJsonType() ) protected Dataset setUpDataset(Query query, QueryTestItem testItem) { try { if ( doesQueryHaveDataset(query) && doesTestItemHaveDataset(testItem) ) { - // known case - constructwhere04 + // known cases where there is a dataset and FROM/FROM NAMED + // sparql11/construct/constructwhere04 + // sparql/sparql10/datasets // otherwise maybe a test error. - if ( ! entryContainsSubstring(testItem.getManifestEntry(), "manifest#constructwhere04") ) { + if ( ! entryContainsSubstring(testItem.getManifestEntry(), "/construct/manifest#constructwhere04") + && ! entryContainsSubstring(testItem.getManifestEntry(), "/dataset/manifest#") ) { // Only warn if there are results to test // Syntax tests may have FROM etc and a manifest data file. if ( testItem.getResultFile() != null ) diff --git a/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/SerializationTest.java b/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/SerializationTest.java index 8cb9553b8a3..83cad573d3f 100644 --- a/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/SerializationTest.java +++ b/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/SerializationTest.java @@ -46,7 +46,7 @@ public SerializationTest(ManifestEntry entry) { @Override public void runTest() { - Query query = SparqlTestLib.queryFromEntry(manifestEntry); + Query query = SparqlTestLib.queryFromEntry(manifestEntry, null); // Whatever was read in. runTestWorker(query, query.getSyntax()) ; } diff --git a/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/SparqlTestLib.java b/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/SparqlTestLib.java index 47a1fac50e8..28dd185b342 100644 --- a/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/SparqlTestLib.java +++ b/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/SparqlTestLib.java @@ -106,10 +106,6 @@ static String queryFile(ManifestEntry entry) { throw new TestSetupException("Can't determine the query. Not a blank node or a URI. "+entry.getAction()); } - static Query queryFromEntry(ManifestEntry entry) { - return queryFromEntry(entry, null); - } - /** read a query, forcing syntax */ static Query queryFromEntry(ManifestEntry entry, Syntax syntax) { if ( queryFile(entry) == null ) { diff --git a/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/UpdateEvalTest.java b/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/UpdateEvalTest.java index 501911f0b87..ee8daba1dd5 100644 --- a/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/UpdateEvalTest.java +++ b/jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/UpdateEvalTest.java @@ -48,13 +48,15 @@ public class UpdateEvalTest extends AbstractManifestTest { private final Creator creator; + private final Syntax syntax; - public UpdateEvalTest(ManifestEntry entry) { - this(entry, ()->DatasetFactory.create()); + public UpdateEvalTest(ManifestEntry entry, Syntax syntax) { + this(entry, syntax, ()->DatasetFactory.create()); } - public UpdateEvalTest(ManifestEntry entry, Creator maker) { + public UpdateEvalTest(ManifestEntry entry, Syntax syntax, Creator maker) { super(entry); + this.syntax = syntax; this.creator = maker; } @@ -64,7 +66,7 @@ public void runTest() { Dataset output = getDataset(DatasetFactory.create(), manifestEntry.getGraph(), manifestEntry.getResult()) ; String updateFile = G.getOneSP(manifestEntry.getGraph(), manifestEntry.getAction(), TestManifestUpdate_11.request.asNode()).getURI(); - UpdateRequest request = UpdateFactory.read(updateFile, Syntax.syntaxARQ) ; + UpdateRequest request = UpdateFactory.read(updateFile, syntax) ; UpdateAction.execute(request, input) ; boolean b = datasetSame(input, output, false) ; if ( ! b ) diff --git a/jena-arq/src/test/java/org/apache/jena/sparql/Scripts_SPARQL.java b/jena-arq/src/test/java/org/apache/jena/sparql/Scripts_SPARQL.java index 9d4f0ca66b2..5dc5c7046f0 100644 --- a/jena-arq/src/test/java/org/apache/jena/sparql/Scripts_SPARQL.java +++ b/jena-arq/src/test/java/org/apache/jena/sparql/Scripts_SPARQL.java @@ -60,7 +60,7 @@ public Stream testFactorySPARQL_10() { @DisplayName("SPARQL 1.1") public Stream testFactorySPARQL_11() { return all(TestConsts.SPARQL11_TESTS_DIR+"manifest-sparql11-query.ttl", - // Not CSV tests - no comparision supported. + // No CSV tests - no comparision supported. // No XML results - part of SPARQL 1.0. TestConsts.SPARQL11_TESTS_DIR+"json-res/manifest.ttl", TestConsts.SPARQL11_TESTS_DIR+"manifest-sparql11-update.ttl"); diff --git a/jena-arq/testing/ARQ/PropertyFunctions/manifest.ttl b/jena-arq/testing/ARQ/PropertyFunctions/manifest.ttl index 6452891a6ae..7caf6fd57d3 100644 --- a/jena-arq/testing/ARQ/PropertyFunctions/manifest.ttl +++ b/jena-arq/testing/ARQ/PropertyFunctions/manifest.ttl @@ -23,307 +23,355 @@ mf:entries # data-0 is a zero triple graph. ( - [ mf:name "Property Function - list 1" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list 1" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list 2" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list 2" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list 3" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list 3" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list 4" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list 4" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list 5" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list 5" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list 6" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list 6" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list 7" ; - mf:action - [ qt:query ; - qt:data ] ; - mf:result + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list 7" ; + mf:action + [ qt:query ; + qt:data ] ; + mf:result ] - [ mf:name "Property Function - list 8" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list 8" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list 9" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list 9" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list length 1" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list length 1" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list length 2" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list length 2" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list length 3" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list length 3" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list index 1" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list index 1" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list index 2" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list index 2" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list index 3" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list index 3" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list index 4" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list index 4" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list index 5" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list index 5" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list index 6" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list index 6" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list index 7" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list index 7" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list index 8" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list index 8" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - list index 9" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - list index 9" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - container 1" ; - mf:action - [ qt:query ; - qt:data ] ; - mf:result - ] - [ mf:name "Property Function - container 2" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - container 1" ; + mf:action + [ qt:query ; + qt:data ] ; + mf:result + ] + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - container 2" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - container 3" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - container 3" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - container 4" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - container 4" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - container 5" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - container 5" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - container 6" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - container 6" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - container 7" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - container 7" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - container 8" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - container 8" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - container 9" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - container 9" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - sequence 1" ; - mf:action - [ qt:query ; - qt:data ] ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - sequence 1" ; + mf:action + [ qt:query ; + qt:data ] ; mf:result ] - [ mf:name "Property Function - splitIRI 1" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - splitIRI 1" ; mf:action [ qt:query ; qt:data ] ; - mf:result + mf:result ] - [ mf:name "Property Function - splitIRI 2" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - splitIRI 2" ; mf:action [ qt:query ; qt:data ] ; - mf:result + mf:result ] - [ mf:name "Property Function - splitIRI 3" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - splitIRI 3" ; mf:action [ qt:query ; qt:data ] ; mf:result ] - [ mf:name "Property Function - splitIRI 4" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - splitIRI 4" ; mf:action [ qt:query ; qt:data ] ; - mf:result + mf:result ] - [ mf:name "Property Function - splitIRI 5" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - splitIRI 5" ; mf:action [ qt:query ; qt:data ] ; mf:result ] - [ mf:name "Property Function - splitIRI 6" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - splitIRI 6" ; mf:action [ qt:query ; qt:data ] ; - mf:result + mf:result ] - [ mf:name "Property Function - splitIRI 7" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - splitIRI 7" ; mf:action [ qt:query ; qt:data ] ; mf:result ] - [ mf:name "Property Function - splitIRI 8" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - splitIRI 8" ; mf:action [ qt:query ; qt:data ] ; mf:result ] - [ mf:name "Property Function - splitIRI 9" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - splitIRI 9" ; mf:action [ qt:query ; qt:data ] ; mf:result ] - [ mf:name "Property Function - Assign 1" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - Assign 1" ; mf:action [ qt:query ; qt:data ] ; mf:result ] - [ mf:name "Property Function - Assign 2" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - Assign 2" ; mf:action [ qt:query ; qt:data ] ; mf:result ] - [ mf:name "Property Function - Assign 3" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - Assign 3" ; mf:action [ qt:query ; qt:data ] ; mf:result ] - [ mf:name "Property Function - Assign 4" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - Assign 4" ; mf:action [ qt:query ; qt:data ] ; mf:result ] - [ mf:name "Property Function - Assign 5" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - Assign 5" ; mf:action [ qt:query ; qt:data ] ; mf:result ] - [ mf:name "Property Function - Assign 6 (via java:)" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - Assign 6 (via java:)" ; mf:action [ qt:query ; qt:data ] ; mf:result ] - [ mf:name "Property Function - str" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - str" ; mf:action [ qt:query ; qt:data ] ; mf:result - ] - [ mf:name "Property Function - concat" ; + ] + [ rdf:type mf:QueryEvaluationTest ; + mf:name "Property Function - concat" ; mf:action [ qt:query ; qt:data ] ; diff --git a/jena-arq/testing/ARQ/Scripting/manifest.ttl b/jena-arq/testing/ARQ/Scripting/manifest.ttl index aea79e4e847..f8bcec64fb8 100644 --- a/jena-arq/testing/ARQ/Scripting/manifest.ttl +++ b/jena-arq/testing/ARQ/Scripting/manifest.ttl @@ -23,29 +23,33 @@ rdfs:comment "JavaScript function" ; mf:entries ( - [ mf:name "JS Call: file-defined function - js:identity" ; - mf:action - [ qt:query ; - qt:data ] ; - mf:result + [ rdf:type mf:QueryEvaluationTest ; + mf:name "JS Call: file-defined function - js:identity" ; + mf:action + [ qt:query ; + qt:data ] ; + mf:result ] - [ mf:name "JS Call: string-defined function - js:inc" ; - mf:action - [ qt:query ; - qt:data ] ; - mf:result + [ rdf:type mf:QueryEvaluationTest ; + mf:name "JS Call: string-defined function - js:inc" ; + mf:action + [ qt:query ; + qt:data ] ; + mf:result ] - [ mf:name "JS Call: nested functions - js:inc(js:inc)" ; - mf:action - [ qt:query ; - qt:data ] ; - mf:result + [ rdf:type mf:QueryEvaluationTest ; + mf:name "JS Call: nested functions - js:inc(js:inc)" ; + mf:action + [ qt:query ; + qt:data ] ; + mf:result ] - [ mf:name "JS Call: FILTER functions - multiple calls" ; - mf:action - [ qt:query ; - qt:data ] ; - mf:result + [ rdf:type mf:QueryEvaluationTest ; + mf:name "JS Call: FILTER functions - multiple calls" ; + mf:action + [ qt:query ; + qt:data ] ; + mf:result ] ## js-query-5 is an error and run separately. ). diff --git a/jena-arq/testing/ARQ/ValueTesting/manifest.ttl b/jena-arq/testing/ARQ/ValueTesting/manifest.ttl index f447384aff1..d344866e21d 100644 --- a/jena-arq/testing/ARQ/ValueTesting/manifest.ttl +++ b/jena-arq/testing/ARQ/ValueTesting/manifest.ttl @@ -13,162 +13,156 @@ # See the License for the specific language governing permissions and # limitations under the License. -# $Id: manifest.n3,v 1.3 2006/07/14 15:59:33 andy_seaborne Exp $ - @prefix rdf: . @prefix rdfs: . -@prefix dawgt: . @prefix mf: . @prefix qt: . <> rdf:type mf:Manifest ; rdfs:comment "Value Testing Tests" ; mf:entries - ([ mf:name "extendedType-eq-pass" ; - rdfs:comment + ([ rdf:type mf:QueryEvaluationTest ; + mf:name "extendedType-eq-pass" ; + rdfs:comment "Only extended types with identical lexical and datatypes can be tested for = ." ; - mf:action + mf:action [ qt:data ; qt:query ] ; - mf:result ; - dawgt:approval dawgt:Approved ; - dawgt:approvedBy - ] + mf:result ; + ] - [ mf:name "extendedType-ne-fail" ; - rdfs:comment + [ rdf:type mf:QueryEvaluationTest ; + mf:name "extendedType-ne-fail" ; + rdfs:comment "Opaque types can not be tested for != ." ; - rdfs:seeAlso - ; - mf:action + mf:action [ qt:data ; qt:query ] ; - mf:result ; - dawgt:approval dawgt:Approved ; - dawgt:approvedBy + mf:result ; ] - [ mf:name "extendedType-literal-eq" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "extendedType-literal-eq" ; rdfs:comment "Test FILTER match on extended type." ; mf:action [ qt:data ; qt:query ] ; mf:result ; - dawgt:approval dawgt:NotApproved ] - [ mf:name "extendedType-literal-ne" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "extendedType-literal-ne" ; rdfs:comment "Test FILTER negative match on extended type." ; mf:action [ qt:data ; qt:query ] ; mf:result ; - dawgt:approval dawgt:NotApproved ] - [ mf:name "extendedType-graph" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "extendedType-graph" ; rdfs:comment "Test graph match on extended type." ; mf:action [ qt:data ; qt:query ] ; mf:result ; - dawgt:approval dawgt:NotApproved ] - [ mf:name "typePromotion-decimal-decimal-pass" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "typePromotion-decimal-decimal-pass" ; rdfs:comment "Positive test: product of type promotion within the xsd:decimal type tree." ; mf:action [ qt:data ; qt:query ] ; mf:result ; - dawgt:approval dawgt:NotApproved ] - [ - mf:name "typePromotion-decimal-decimal-fail" ; - rdfs:comment - "Negative test: product of type promotion within the xsd:decimal type tree." ; - mf:action - [ qt:data ; - qt:query ] ; - mf:result ; - dawgt:approval dawgt:NotApproved + [ rdf:type mf:QueryEvaluationTest ; + mf:name "typePromotion-decimal-decimal-fail" ; + rdfs:comment + "Negative test: product of type promotion within the xsd:decimal type tree." ; + mf:action + [ qt:data ; + qt:query ] ; + mf:result ; ] - [ mf:name "boolean-equiv-FALSE" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "boolean-equiv-FALSE" ; rdfs:comment "FALSE = legal boolean values." ; mf:action [ qt:data ; qt:query ] ; mf:result ; - dawgt:approval dawgt:NotApproved ] - [ mf:name "boolean-equiv-TRUE" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "boolean-equiv-TRUE" ; rdfs:comment "TRUE = legal boolean values." ; mf:action [ qt:data ; qt:query ] ; mf:result ; - dawgt:approval dawgt:NotApproved ] - [ mf:name "boolean-equiv-xsdType" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "boolean-equiv-xsdType" ; rdfs:comment "Various lexical forms of xsd:boolean equal each other." ; mf:action [ qt:data ; qt:query ] ; mf:result ; - dawgt:approval dawgt:NotApproved ] - [ mf:name "boolean-logical-OR" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "boolean-logical-OR" ; rdfs:comment "Various lexical forms of xsd:boolean equal an EBV." ; mf:action [ qt:data ; qt:query ] ; mf:result ; - dawgt:approval dawgt:NotApproved ] - [ mf:name "boolean-false-canonical" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "boolean-false-canonical" ; rdfs:comment "Lexical form of FALSE" ; mf:action [ qt:data ; qt:query ] ; mf:result ; - dawgt:approval dawgt:NotApproved ] - [ mf:name "boolean-true-canonical" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "boolean-true-canonical" ; rdfs:comment "Lexical form of TRUE" ; mf:action [ qt:data ; qt:query ] ; mf:result ; - dawgt:approval dawgt:NotApproved ] - [ mf:name "boolean-EBV-canonical" ; + [ rdf:type mf:QueryEvaluationTest ; + mf:name "boolean-EBV-canonical" ; rdfs:comment "Lexical form of EBV" ; mf:action [ qt:data ; qt:query ] ; mf:result ; - dawgt:approval dawgt:NotApproved ] - [ mf:name "xsd-string-lt" ; + + [ rdf:type mf:QueryEvaluationTest ; + mf:name "xsd-string-lt" ; rdfs:comment "FILTER with < on xsd:string" ; mf:action @@ -176,7 +170,9 @@ qt:query ] ; mf:result ] - [ mf:name "xsd-string-gt" ; + + [ rdf:type mf:QueryEvaluationTest ; + mf:name "xsd-string-gt" ; rdfs:comment "FILTER with > on xsd:string" ; mf:action @@ -184,7 +180,4 @@ qt:query ] ; mf:result ] - - - # End of tests ). diff --git a/jena-arq/testing/rdf-tests-cg/ns/rdftest.ttl b/jena-arq/testing/rdf-tests-cg/ns/rdftest.ttl index c49889f250d..a4afb120a57 100644 --- a/jena-arq/testing/rdf-tests-cg/ns/rdftest.ttl +++ b/jena-arq/testing/rdf-tests-cg/ns/rdftest.ttl @@ -96,11 +96,7 @@ rdft:TestTriGPositiveSyntax a rdfs:Class; rdft:TestTrigEval a rdfs:Class; rdfs:label "TriG Positive Evaluation"@en; - rdfs:comment "A positive TriG evaluation test."@en . - -rdft:TestTrigNegativeEval a rdfs:Class; - rdfs:label "TriG Negative Evaluation"@en; - rdfs:comment "A negative TriG evaluation test."@en; + rdfs:comment "A positive TriG evaluation test."@en ; rdfs:subClassOf rdft:TestEval . rdft:TestTurtleEval a rdfs:Class; @@ -108,11 +104,6 @@ rdft:TestTurtleEval a rdfs:Class; rdfs:comment "A positive Turtle evaluation test."@en; rdfs:subClassOf rdft:TestEval . -rdft:TestTurtleNegativeEval a rdfs:Class; - rdfs:label "Turtle Negative Evaluation"@en; - rdfs:comment "A negative Turtle evaluation test."@en; - rdfs:subClassOf rdft:TestEval . - rdft:TestTurtleNegativeSyntax a rdfs:Class; rdfs:label "Turtle Negative Syntax"@en; rdfs:comment "A negative Turtle syntax test."@en; @@ -125,7 +116,8 @@ rdft:TestTurtlePositiveSyntax a rdfs:Class; rdft:TestXMLNegativeSyntax a rdfs:Class; rdfs:label "RDF/XML Negative Syntax"@en; - rdfs:comment "A negative RDF/XML syntax test."@en . + rdfs:comment "A negative RDF/XML syntax test."@en ; + rdfs:subClassOf rdft:TestSyntax . rdft:XMLEval a rdfs:Class; rdfs:label "RDF/XML Evaluation"@en; @@ -136,4 +128,4 @@ rdft:approval a rdf:Property; rdfs:label "approval"@en; rdfs:comment "Approval status of a test."@en; rdfs:domain rdft:Test; - rdfs:range rdft:Approval . \ No newline at end of file + rdfs:range rdft:Approval . diff --git a/jena-arq/testing/rdf-tests-cg/ns/test-manifest.ttl b/jena-arq/testing/rdf-tests-cg/ns/test-manifest.ttl index 64dc2b812fd..6abeba62334 100644 --- a/jena-arq/testing/rdf-tests-cg/ns/test-manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/ns/test-manifest.ttl @@ -1,6 +1,7 @@ @prefix rdfs: . @prefix rdf: . @prefix dc: . +@prefix owl: . @prefix : . ## A Manifest is typically a list (RDF Collection) of manifest entries. @@ -63,21 +64,21 @@ rdfs:comment "Optional name of this entry" ; rdfs:domain :ManifestEntry ; rdfs:range rdfs:Literal ; - . - + . + :action rdf:type rdf:Property ; rdfs:comment "Action to perform" ; rdfs:domain :ManifestEntry ; # rdfs:range ?? ; - . + . :result rdf:type rdf:Property ; rdfs:comment "The expected outcome" ; rdfs:domain :ManifestEntry ; # rdfs:range ?? ; - . + . -:result rdf:type rdf:Property ; +:status rdf:type rdf:Property ; rdfs:comment "The test status" ; rdfs:domain :ManifestEntry ; rdfs:range :TestStatus ; @@ -114,11 +115,15 @@ :PositiveSyntaxTest11 rdf:type rdfs:Class ; rdfs:label "Positive Syntax Test for SPARQL 1.1 Query" ; - rdfs:comment "A type of test specifically for syntax testing of new features in the SPARQL 1.1 Query Language. Syntax tests are not required to have an associated result, only an action." . + rdfs:comment "A type of test specifically for syntax testing of new features in the SPARQL 1.1 Query Language. Syntax tests are not required to have an associated result, only an action. Note that this type implies the mf:specVersion value is 'sparql-1.1'." ; + owl:deprecated true ; + rdfs:subClassOf :PositiveSyntaxTest . :PositiveUpdateSyntaxTest11 rdf:type rdfs:Class ; rdfs:label "Positive Syntax Test for SPARQL 1.1 Update" ; - rdfs:comment "A type of test specifically for syntax testing of SPARQL 1.1 Update. Syntax tests are not required to have an associated result, only an action." . + rdfs:comment "A type of test specifically for syntax testing of SPARQL 1.1 Update. Syntax tests do not have an associated result, only an action. Note that this type implies the mf:specVersion value is 'sparql-1.1'." ; + owl:deprecated true ; + rdfs:subClassOf :PositiveUpdateSyntaxTest . :NegativeSyntaxTest rdf:type rdfs:Class ; @@ -131,12 +136,15 @@ :NegativeSyntaxTest11 rdf:type rdfs:Class ; rdfs:label "Negative Syntax Test for SPARQL 1.1 Query" ; - rdfs:comment "A type of test specifically for syntax testing of new features in the SPARQL 1.1 Query Language. Syntax tests are not required to have an associated result, only an action. Negative syntax tests are tests of which the result should be a parser error." . + rdfs:comment "A type of test specifically for syntax testing of new features in the SPARQL 1.1 Query Language. Syntax tests are not required to have an associated result, only an action. Negative syntax tests are tests of which the result should be a parser error. Note that this type implies the mf:specVersion value is 'sparql-1.1'." ; + owl:deprecated true ; + rdfs:subClassOf :NegativeSyntaxTest . :NegativeUpdateSyntaxTest11 rdf:type rdfs:Class ; rdfs:label "Negative Syntax Test for SPARQL 1.1 Update" ; - rdfs:comment "A type of test specifically for syntax testing of SPARQL 1.1 Update. Syntax tests are not required to have an associated result, only an action. Negative syntax tests are tests of which the result should be a parser error." . - + rdfs:comment "A type of test specifically for syntax testing of SPARQL 1.1 Update. Syntax tests are not required to have an associated result, only an action. Negative syntax tests are tests of which the result should be a parser error. Note that this type implies the mf:specVersion value is 'sparql-1.1'." ; + owl:deprecated true ; + rdfs:subClassOf :NegativeUpdateSyntaxTest . :QueryEvaluationTest rdf:type rdfs:Class ; rdfs:label "Query Evaluation Test" ; @@ -175,13 +183,13 @@ :XsdDateOperations rdf:type :Requirement ; rdfs:comment "Tests that require xsd:date operations" . - + :StringSimpleLiteralCmp rdf:type :Requirement ; rdfs:comment "Tests that require simple literal is the same value as an xsd:string of the same lexicial form" . - + :KnownTypesDefault2Neq rdf:type :Requirement ; rdfs:comment "Values in disjoint value spaces are not equal" . - + :LangTagAwareness rdf:type :Requirement ; rdfs:comment "Tests that require langauge tag handling in FILTERs" . @@ -207,4 +215,3 @@ with each solution in the expected results appearing at least once and no more than the number of times it appears in the expected results. Of course, there must also be no results produced that are not in the expected results.""" . - diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/manifest.ttl index bc934ebcb09..663ead68b43 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/manifest.ttl @@ -1,12 +1,12 @@ PREFIX rdf: -PREFIX rdfs: +PREFIX rdfs: PREFIX mf: ## Manifest of all RDF 1.1 test suites <> a mf:Manifest ; - rdfs:label "RDF 1.1 tests" ; - rdfs:comment """ + rdfs:label "RDF 1.1 tests" ; + rdfs:comment """ These test suites are a product previous RDF working groups, and has been maintained by the [RDF Test Curation Community Group](https://www.w3.org/community/rdf-tests/). @@ -15,12 +15,12 @@ PREFIX mf: Conformance with RDF 1.1 specifications can be determined via successfully running the tests for relevant specifications. - """; - mf:include ( - - - - - - - ) . + """; + mf:include ( + + + + + + + ) . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-n-quads/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-n-quads/manifest.ttl index de7db235108..2f072f08ca7 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-n-quads/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-n-quads/manifest.ttl @@ -100,610 +100,610 @@ ) . <#nq-syntax-uri-01> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nq-syntax-uri-01" ; - rdfs:comment "URI graph with URI triple" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-uri-01" ; + rdfs:comment "URI graph with URI triple" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-uri-02> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nq-syntax-uri-02" ; - rdfs:comment "URI graph with BNode subject" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-uri-02" ; + rdfs:comment "URI graph with BNode subject" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-uri-03> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nq-syntax-uri-03" ; - rdfs:comment "URI graph with BNode object" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-uri-03" ; + rdfs:comment "URI graph with BNode object" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-uri-04> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nq-syntax-uri-04" ; - rdfs:comment "URI graph with simple literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-uri-04" ; + rdfs:comment "URI graph with simple literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-uri-05> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nq-syntax-uri-05" ; - rdfs:comment "URI graph with language tagged literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-uri-05" ; + rdfs:comment "URI graph with language tagged literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-uri-06> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nq-syntax-uri-06" ; - rdfs:comment "URI graph with datatyped literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-uri-06" ; + rdfs:comment "URI graph with datatyped literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-bnode-01> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nq-syntax-bnode-01" ; - rdfs:comment "BNode graph with URI triple" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-bnode-01" ; + rdfs:comment "BNode graph with URI triple" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-bnode-02> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nq-syntax-bnode-02" ; - rdfs:comment "BNode graph with BNode subject" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-bnode-02" ; + rdfs:comment "BNode graph with BNode subject" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-bnode-03> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nq-syntax-bnode-03" ; - rdfs:comment "BNode graph with BNode object" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-bnode-03" ; + rdfs:comment "BNode graph with BNode object" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-bnode-04> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nq-syntax-bnode-04" ; - rdfs:comment "BNode graph with simple literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-bnode-04" ; + rdfs:comment "BNode graph with simple literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-bnode-05> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nq-syntax-bnode-05" ; - rdfs:comment "BNode graph with language tagged literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-bnode-05" ; + rdfs:comment "BNode graph with language tagged literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-bnode-06> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nq-syntax-bnode-06" ; - rdfs:comment "BNode graph with datatyped literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-bnode-06" ; + rdfs:comment "BNode graph with datatyped literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-bad-literal-01> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nq-syntax-bad-literal-01" ; - rdfs:comment "Graph name may not be a simple literal (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-bad-literal-01" ; + rdfs:comment "Graph name may not be a simple literal (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-bad-literal-02> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nq-syntax-bad-literal-02" ; - rdfs:comment "Graph name may not be a language tagged literal (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-bad-literal-02" ; + rdfs:comment "Graph name may not be a language tagged literal (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-bad-literal-03> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nq-syntax-bad-literal-03" ; - rdfs:comment "Graph name may not be a datatyped literal (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-bad-literal-03" ; + rdfs:comment "Graph name may not be a datatyped literal (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-bad-uri-01> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nq-syntax-bad-uri-01" ; - rdfs:comment "Graph name URI must be absolute (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-bad-uri-01" ; + rdfs:comment "Graph name URI must be absolute (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nq-syntax-bad-quint-01> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nq-syntax-bad-quint-01" ; - rdfs:comment "N-Quads does not have a fifth element (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nq-syntax-bad-quint-01" ; + rdfs:comment "N-Quads does not have a fifth element (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-file-01> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-file-01" ; - rdfs:comment "Empty file" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-file-01" ; + rdfs:comment "Empty file" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-file-02> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-file-02" ; - rdfs:comment "Only comment" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-file-02" ; + rdfs:comment "Only comment" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-file-03> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-file-03" ; - rdfs:comment "One comment, one empty line" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-file-03" ; + rdfs:comment "One comment, one empty line" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-uri-01> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-uri-01" ; - rdfs:comment "Only IRIs" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-uri-01" ; + rdfs:comment "Only IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-uri-02> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-uri-02" ; - rdfs:comment "IRIs with Unicode escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-uri-02" ; + rdfs:comment "IRIs with Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-uri-03> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-uri-03" ; - rdfs:comment "IRIs with long Unicode escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-uri-03" ; + rdfs:comment "IRIs with long Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-uri-04> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-uri-04" ; - rdfs:comment "Legal IRIs" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-uri-04" ; + rdfs:comment "Legal IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-string-01> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-string-01" ; - rdfs:comment "string literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-string-01" ; + rdfs:comment "string literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-string-02> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-string-02" ; - rdfs:comment "langString literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-string-02" ; + rdfs:comment "langString literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-string-03> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-string-03" ; - rdfs:comment "langString literal with region" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-string-03" ; + rdfs:comment "langString literal with region" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-str-esc-01> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-str-esc-01" ; - rdfs:comment "string literal with escaped newline" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-str-esc-01" ; + rdfs:comment "string literal with escaped newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-str-esc-02> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-str-esc-02" ; - rdfs:comment "string literal with Unicode escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-str-esc-02" ; + rdfs:comment "string literal with Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-str-esc-03> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-str-esc-03" ; - rdfs:comment "string literal with long Unicode escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-str-esc-03" ; + rdfs:comment "string literal with long Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bnode-01> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-bnode-01" ; - rdfs:comment "bnode subject" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bnode-01" ; + rdfs:comment "bnode subject" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bnode-02> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-bnode-02" ; - rdfs:comment "bnode object" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bnode-02" ; + rdfs:comment "bnode object" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bnode-03> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-bnode-03" ; - rdfs:comment "Blank node labels may start with a digit" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bnode-03" ; + rdfs:comment "Blank node labels may start with a digit" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-datatypes-01> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-datatypes-01" ; - rdfs:comment "xsd:byte literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-datatypes-01" ; + rdfs:comment "xsd:byte literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-datatypes-02> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-datatypes-02" ; - rdfs:comment "integer as xsd:string" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-datatypes-02" ; + rdfs:comment "integer as xsd:string" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-uri-01> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-uri-01" ; - rdfs:comment "Bad IRI : space (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-01" ; + rdfs:comment "Bad IRI : space (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-uri-02> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-uri-02" ; - rdfs:comment "Bad IRI : bad escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-02" ; + rdfs:comment "Bad IRI : bad escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-uri-03> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-uri-03" ; - rdfs:comment "Bad IRI : bad long escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-03" ; + rdfs:comment "Bad IRI : bad long escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-uri-04> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-uri-04" ; - rdfs:comment "Bad IRI : character escapes not allowed (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-04" ; + rdfs:comment "Bad IRI : character escapes not allowed (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-uri-05> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-uri-05" ; - rdfs:comment "Bad IRI : character escapes not allowed (2) (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-05" ; + rdfs:comment "Bad IRI : character escapes not allowed (2) (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-uri-06> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-uri-06" ; - rdfs:comment "Bad IRI : relative IRI not allowed in subject (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-06" ; + rdfs:comment "Bad IRI : relative IRI not allowed in subject (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-uri-07> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-uri-07" ; - rdfs:comment "Bad IRI : relative IRI not allowed in predicate (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-07" ; + rdfs:comment "Bad IRI : relative IRI not allowed in predicate (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-uri-08> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-uri-08" ; - rdfs:comment "Bad IRI : relative IRI not allowed in object (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-08" ; + rdfs:comment "Bad IRI : relative IRI not allowed in object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-uri-09> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-uri-09" ; - rdfs:comment "Bad IRI : relative IRI not allowed in datatype (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-09" ; + rdfs:comment "Bad IRI : relative IRI not allowed in datatype (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-prefix-01> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-prefix-01" ; - rdfs:comment "@prefix not allowed in N-Quads (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-prefix-01" ; + rdfs:comment "@prefix not allowed in N-Quads (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-base-01> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-base-01" ; - rdfs:comment "@base not allowed in N-Quads (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-base-01" ; + rdfs:comment "@base not allowed in N-Quads (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-bnode-01> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-bnode-01" ; - rdfs:comment "Colon in bnode label not allowed (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-bnode-01" ; + rdfs:comment "Colon in bnode label not allowed (negative test)" ; + mf:action ; + . <#nt-syntax-bad-bnode-02> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-bnode-02" ; - rdfs:comment "Colon in bnode label not allowed (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-bnode-02" ; + rdfs:comment "Colon in bnode label not allowed (negative test)" ; + mf:action ; + . <#nt-syntax-bad-struct-01> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-struct-01" ; - rdfs:comment "N-Quads does not have objectList (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-struct-01" ; + rdfs:comment "N-Quads does not have objectList (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-struct-02> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-struct-02" ; - rdfs:comment "N-Quads does not have predicateObjectList (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-struct-02" ; + rdfs:comment "N-Quads does not have predicateObjectList (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-lang-01> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-lang-01" ; - rdfs:comment "langString with bad lang (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-lang-01" ; + rdfs:comment "langString with bad lang (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-esc-01> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-esc-01" ; - rdfs:comment "Bad string escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-esc-01" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-esc-02> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-esc-02" ; - rdfs:comment "Bad string escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-esc-02" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-esc-03> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-esc-03" ; - rdfs:comment "Bad string escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-esc-03" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-string-01> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-string-01" ; - rdfs:comment "mismatching string literal open/close (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-string-01" ; + rdfs:comment "mismatching string literal open/close (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-string-02> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-string-02" ; - rdfs:comment "mismatching string literal open/close (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-string-02" ; + rdfs:comment "mismatching string literal open/close (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-string-03> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-string-03" ; - rdfs:comment "single quotes (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-string-03" ; + rdfs:comment "single quotes (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-string-04> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-string-04" ; - rdfs:comment "long single string literal (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-string-04" ; + rdfs:comment "long single string literal (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-string-05> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-string-05" ; - rdfs:comment "long double string literal (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-string-05" ; + rdfs:comment "long double string literal (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-string-06> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-string-06" ; - rdfs:comment "string literal with no end (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-string-06" ; + rdfs:comment "string literal with no end (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-string-07> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-string-07" ; - rdfs:comment "string literal with no start (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-string-07" ; + rdfs:comment "string literal with no start (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-num-01> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-num-01" ; - rdfs:comment "no numbers in N-Quads (integer) (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-num-01" ; + rdfs:comment "no numbers in N-Quads (integer) (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-num-02> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-num-02" ; - rdfs:comment "no numbers in N-Quads (decimal) (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-num-02" ; + rdfs:comment "no numbers in N-Quads (decimal) (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-bad-num-03> a rdft:TestNQuadsNegativeSyntax ; - mf:name "nt-syntax-bad-num-03" ; - rdfs:comment "no numbers in N-Quads (float) (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-bad-num-03" ; + rdfs:comment "no numbers in N-Quads (float) (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#nt-syntax-subm-01> a rdft:TestNQuadsPositiveSyntax ; - mf:name "nt-syntax-subm-01" ; - rdfs:comment "Submission test from Original RDF Test Cases" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "nt-syntax-subm-01" ; + rdfs:comment "Submission test from Original RDF Test Cases" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#comment_following_triple> a rdft:TestNQuadsPositiveSyntax ; - mf:name "comment_following_triple" ; - rdfs:comment "Tests comments after a triple" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "comment_following_triple" ; + rdfs:comment "Tests comments after a triple" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_ascii_boundaries> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_ascii_boundaries" ; - rdfs:comment "literal_ascii_boundaries '\\x00\\x26\\x28...'" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_ascii_boundaries" ; + rdfs:comment "literal_ascii_boundaries '\\x00\\x26\\x28...'" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_UTF8_boundaries> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_UTF8_boundaries" ; - rdfs:comment "literal_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_UTF8_boundaries" ; + rdfs:comment "literal_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_all_controls> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_all_controls" ; - rdfs:comment "literal_all_controls '\\x00\\x01\\x02\\x03\\x04...'" ; - rdft:approval rdft:Approved ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_all_controls" ; + rdfs:comment "literal_all_controls '\\x00\\x01\\x02\\x03\\x04...'" ; + rdft:approval rdft:Approved ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_all_punctuation> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_all_punctuation" ; - rdfs:comment "literal_all_punctuation '!\"#$%&()...'" ; - rdft:approval rdft:Approved ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_all_punctuation" ; + rdfs:comment "literal_all_punctuation '!\"#$%&()...'" ; + rdft:approval rdft:Approved ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_squote> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_squote" ; - rdfs:comment "literal with squote \"x'y\"" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_squote" ; + rdfs:comment "literal with squote \"x'y\"" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_2_squotes> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_2_squotes" ; - rdfs:comment "literal with 2 squotes \"x''y\"" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_2_squotes" ; + rdfs:comment "literal with 2 squotes \"x''y\"" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal" ; - rdfs:comment "literal \"\"\"x\"\"\"" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal" ; + rdfs:comment "literal \"\"\"x\"\"\"" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_dquote> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_dquote" ; - rdfs:comment 'literal with dquote "x\"y"' ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_dquote" ; + rdfs:comment 'literal with dquote "x\"y"' ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_2_dquotes> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_2_dquotes" ; - rdfs:comment "literal with 2 squotes \"\"\"a\"\"b\"\"\"" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_2_dquotes" ; + rdfs:comment "literal with 2 squotes \"\"\"a\"\"b\"\"\"" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_REVERSE_SOLIDUS2> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_REVERSE_SOLIDUS2" ; - rdfs:comment "REVERSE SOLIDUS at end of literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_REVERSE_SOLIDUS2" ; + rdfs:comment "REVERSE SOLIDUS at end of literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_CHARACTER_TABULATION> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_CHARACTER_TABULATION" ; - rdfs:comment "literal with CHARACTER TABULATION" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_CHARACTER_TABULATION" ; + rdfs:comment "literal with CHARACTER TABULATION" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_BACKSPACE> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_BACKSPACE" ; - rdfs:comment "literal with BACKSPACE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_BACKSPACE" ; + rdfs:comment "literal with BACKSPACE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_LINE_FEED> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_LINE_FEED" ; - rdfs:comment "literal with LINE FEED" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_LINE_FEED" ; + rdfs:comment "literal with LINE FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_CARRIAGE_RETURN> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_CARRIAGE_RETURN" ; - rdfs:comment "literal with CARRIAGE RETURN" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_CARRIAGE_RETURN" ; + rdfs:comment "literal with CARRIAGE RETURN" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_FORM_FEED> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_FORM_FEED" ; - rdfs:comment "literal with FORM FEED" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_FORM_FEED" ; + rdfs:comment "literal with FORM FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_REVERSE_SOLIDUS> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_REVERSE_SOLIDUS" ; - rdfs:comment "literal with REVERSE SOLIDUS" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_REVERSE_SOLIDUS" ; + rdfs:comment "literal with REVERSE SOLIDUS" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_numeric_escape4> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_numeric_escape4" ; - rdfs:comment "literal with numeric escape4 \\u" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_numeric_escape4" ; + rdfs:comment "literal with numeric escape4 \\u" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_numeric_escape8> a rdft:TestNQuadsPositiveSyntax ; - mf:name "literal_with_numeric_escape8" ; - rdfs:comment "literal with numeric escape8 \\U" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_with_numeric_escape8" ; + rdfs:comment "literal with numeric escape8 \\U" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#langtagged_string> a rdft:TestNQuadsPositiveSyntax ; - mf:name "langtagged_string" ; - rdfs:comment "langtagged string \"x\"@en" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "langtagged_string" ; + rdfs:comment "langtagged string \"x\"@en" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#lantag_with_subtag> a rdft:TestNQuadsPositiveSyntax ; - mf:name "lantag_with_subtag" ; - rdfs:comment "lantag with subtag \"x\"@en-us" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "lantag_with_subtag" ; + rdfs:comment "lantag with subtag \"x\"@en-us" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#minimal_whitespace> a rdft:TestNQuadsPositiveSyntax ; - mf:name "minimal_whitespace" ; - rdfs:comment "tests absense of whitespace between subject, predicate, object and end-of-statement" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "minimal_whitespace" ; + rdfs:comment "tests absense of whitespace between subject, predicate, object and end-of-statement" ; + rdft:approval rdft:Approved ; + mf:action ; + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-n-triples/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-n-triples/manifest.ttl index d631152cb0a..2b17b3c8af5 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-n-triples/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-n-triples/manifest.ttl @@ -84,443 +84,443 @@ ) . <#nt-syntax-file-01> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-file-01" ; - rdfs:comment "Empty file" ; - mf:action ; - . + mf:name "nt-syntax-file-01" ; + rdfs:comment "Empty file" ; + mf:action ; + . <#nt-syntax-file-02> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-file-02" ; - rdfs:comment "Only comment" ; - mf:action ; - . + mf:name "nt-syntax-file-02" ; + rdfs:comment "Only comment" ; + mf:action ; + . <#nt-syntax-file-03> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-file-03" ; - rdfs:comment "One comment, one empty line" ; - mf:action ; - . + mf:name "nt-syntax-file-03" ; + rdfs:comment "One comment, one empty line" ; + mf:action ; + . <#nt-syntax-uri-01> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-uri-01" ; - rdfs:comment "Only IRIs" ; - mf:action ; - . + mf:name "nt-syntax-uri-01" ; + rdfs:comment "Only IRIs" ; + mf:action ; + . <#nt-syntax-uri-02> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-uri-02" ; - rdfs:comment "IRIs with Unicode escape" ; - mf:action ; - . + mf:name "nt-syntax-uri-02" ; + rdfs:comment "IRIs with Unicode escape" ; + mf:action ; + . <#nt-syntax-uri-03> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-uri-03" ; - rdfs:comment "IRIs with long Unicode escape" ; - mf:action ; - . + mf:name "nt-syntax-uri-03" ; + rdfs:comment "IRIs with long Unicode escape" ; + mf:action ; + . <#nt-syntax-uri-04> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-uri-04" ; - rdfs:comment "Legal IRIs" ; - mf:action ; - . + mf:name "nt-syntax-uri-04" ; + rdfs:comment "Legal IRIs" ; + mf:action ; + . <#nt-syntax-string-01> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-string-01" ; - rdfs:comment "string literal" ; - mf:action ; - . + mf:name "nt-syntax-string-01" ; + rdfs:comment "string literal" ; + mf:action ; + . <#nt-syntax-string-02> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-string-02" ; - rdfs:comment "langString literal" ; - mf:action ; - . + mf:name "nt-syntax-string-02" ; + rdfs:comment "langString literal" ; + mf:action ; + . <#nt-syntax-string-03> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-string-03" ; - rdfs:comment "langString literal with region" ; - mf:action ; - . + mf:name "nt-syntax-string-03" ; + rdfs:comment "langString literal with region" ; + mf:action ; + . <#nt-syntax-str-esc-01> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-str-esc-01" ; - rdfs:comment "string literal with escaped newline" ; - mf:action ; - . + mf:name "nt-syntax-str-esc-01" ; + rdfs:comment "string literal with escaped newline" ; + mf:action ; + . <#nt-syntax-str-esc-02> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-str-esc-02" ; - rdfs:comment "string literal with Unicode escape" ; - mf:action ; - . + mf:name "nt-syntax-str-esc-02" ; + rdfs:comment "string literal with Unicode escape" ; + mf:action ; + . <#nt-syntax-str-esc-03> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-str-esc-03" ; - rdfs:comment "string literal with long Unicode escape" ; - mf:action ; - . + mf:name "nt-syntax-str-esc-03" ; + rdfs:comment "string literal with long Unicode escape" ; + mf:action ; + . <#nt-syntax-bnode-01> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-bnode-01" ; - rdfs:comment "bnode subject" ; - mf:action ; - . + mf:name "nt-syntax-bnode-01" ; + rdfs:comment "bnode subject" ; + mf:action ; + . <#nt-syntax-bnode-02> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-bnode-02" ; - rdfs:comment "bnode object" ; - mf:action ; - . + mf:name "nt-syntax-bnode-02" ; + rdfs:comment "bnode object" ; + mf:action ; + . <#nt-syntax-bnode-03> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-bnode-03" ; - rdfs:comment "Blank node labels may start with a digit" ; - mf:action ; - . + mf:name "nt-syntax-bnode-03" ; + rdfs:comment "Blank node labels may start with a digit" ; + mf:action ; + . <#nt-syntax-datatypes-01> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-datatypes-01" ; - rdfs:comment "xsd:byte literal" ; - mf:action ; - . + mf:name "nt-syntax-datatypes-01" ; + rdfs:comment "xsd:byte literal" ; + mf:action ; + . <#nt-syntax-datatypes-02> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-datatypes-02" ; - rdfs:comment "integer as xsd:string" ; - mf:action ; - . + mf:name "nt-syntax-datatypes-02" ; + rdfs:comment "integer as xsd:string" ; + mf:action ; + . <#nt-syntax-bad-uri-01> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-uri-01" ; - rdfs:comment "Bad IRI : space (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-01" ; + rdfs:comment "Bad IRI : space (negative test)" ; + mf:action ; + . <#nt-syntax-bad-uri-02> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-uri-02" ; - rdfs:comment "Bad IRI : bad escape (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-02" ; + rdfs:comment "Bad IRI : bad escape (negative test)" ; + mf:action ; + . <#nt-syntax-bad-uri-03> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-uri-03" ; - rdfs:comment "Bad IRI : bad long escape (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-03" ; + rdfs:comment "Bad IRI : bad long escape (negative test)" ; + mf:action ; + . <#nt-syntax-bad-uri-04> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-uri-04" ; - rdfs:comment "Bad IRI : character escapes not allowed (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-04" ; + rdfs:comment "Bad IRI : character escapes not allowed (negative test)" ; + mf:action ; + . <#nt-syntax-bad-uri-05> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-uri-05" ; - rdfs:comment "Bad IRI : character escapes not allowed (2) (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-05" ; + rdfs:comment "Bad IRI : character escapes not allowed (2) (negative test)" ; + mf:action ; + . <#nt-syntax-bad-uri-06> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-uri-06" ; - rdfs:comment "Bad IRI : relative IRI not allowed in subject (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-06" ; + rdfs:comment "Bad IRI : relative IRI not allowed in subject (negative test)" ; + mf:action ; + . <#nt-syntax-bad-uri-07> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-uri-07" ; - rdfs:comment "Bad IRI : relative IRI not allowed in predicate (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-07" ; + rdfs:comment "Bad IRI : relative IRI not allowed in predicate (negative test)" ; + mf:action ; + . <#nt-syntax-bad-uri-08> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-uri-08" ; - rdfs:comment "Bad IRI : relative IRI not allowed in object (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-08" ; + rdfs:comment "Bad IRI : relative IRI not allowed in object (negative test)" ; + mf:action ; + . <#nt-syntax-bad-uri-09> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-uri-09" ; - rdfs:comment "Bad IRI : relative IRI not allowed in datatype (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-uri-09" ; + rdfs:comment "Bad IRI : relative IRI not allowed in datatype (negative test)" ; + mf:action ; + . <#nt-syntax-bad-prefix-01> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-prefix-01" ; - rdfs:comment "@prefix not allowed in n-triples (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-prefix-01" ; + rdfs:comment "@prefix not allowed in n-triples (negative test)" ; + mf:action ; + . <#nt-syntax-bad-base-01> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-base-01" ; - rdfs:comment "@base not allowed in N-Triples (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-base-01" ; + rdfs:comment "@base not allowed in N-Triples (negative test)" ; + mf:action ; + . <#nt-syntax-bad-bnode-01> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-bnode-01" ; - rdfs:comment "Colon in bnode label not allowed (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-bnode-01" ; + rdfs:comment "Colon in bnode label not allowed (negative test)" ; + mf:action ; + . <#nt-syntax-bad-bnode-02> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-bnode-02" ; - rdfs:comment "Colon in bnode label not allowed (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-bnode-02" ; + rdfs:comment "Colon in bnode label not allowed (negative test)" ; + mf:action ; + . <#nt-syntax-bad-struct-01> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-struct-01" ; - rdfs:comment "N-Triples does not have objectList (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-struct-01" ; + rdfs:comment "N-Triples does not have objectList (negative test)" ; + mf:action ; + . <#nt-syntax-bad-struct-02> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-struct-02" ; - rdfs:comment "N-Triples does not have predicateObjectList (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-struct-02" ; + rdfs:comment "N-Triples does not have predicateObjectList (negative test)" ; + mf:action ; + . <#nt-syntax-bad-lang-01> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-lang-01" ; - rdfs:comment "langString with bad lang (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-lang-01" ; + rdfs:comment "langString with bad lang (negative test)" ; + mf:action ; + . <#nt-syntax-bad-esc-01> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-esc-01" ; - rdfs:comment "Bad string escape (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-esc-01" ; + rdfs:comment "Bad string escape (negative test)" ; + mf:action ; + . <#nt-syntax-bad-esc-02> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-esc-02" ; - rdfs:comment "Bad string escape (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-esc-02" ; + rdfs:comment "Bad string escape (negative test)" ; + mf:action ; + . <#nt-syntax-bad-esc-03> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-esc-03" ; - rdfs:comment "Bad string escape (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-esc-03" ; + rdfs:comment "Bad string escape (negative test)" ; + mf:action ; + . <#nt-syntax-bad-string-01> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-string-01" ; - rdfs:comment "mismatching string literal open/close (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-string-01" ; + rdfs:comment "mismatching string literal open/close (negative test)" ; + mf:action ; + . <#nt-syntax-bad-string-02> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-string-02" ; - rdfs:comment "mismatching string literal open/close (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-string-02" ; + rdfs:comment "mismatching string literal open/close (negative test)" ; + mf:action ; + . <#nt-syntax-bad-string-03> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-string-03" ; - rdfs:comment "single quotes (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-string-03" ; + rdfs:comment "single quotes (negative test)" ; + mf:action ; + . <#nt-syntax-bad-string-04> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-string-04" ; - rdfs:comment "long single string literal (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-string-04" ; + rdfs:comment "long single string literal (negative test)" ; + mf:action ; + . <#nt-syntax-bad-string-05> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-string-05" ; - rdfs:comment "long double string literal (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-string-05" ; + rdfs:comment "long double string literal (negative test)" ; + mf:action ; + . <#nt-syntax-bad-string-06> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-string-06" ; - rdfs:comment "string literal with no end (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-string-06" ; + rdfs:comment "string literal with no end (negative test)" ; + mf:action ; + . <#nt-syntax-bad-string-07> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-string-07" ; - rdfs:comment "string literal with no start (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-string-07" ; + rdfs:comment "string literal with no start (negative test)" ; + mf:action ; + . <#nt-syntax-bad-num-01> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-num-01" ; - rdfs:comment "no numbers in N-Triples (integer) (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-num-01" ; + rdfs:comment "no numbers in N-Triples (integer) (negative test)" ; + mf:action ; + . <#nt-syntax-bad-num-02> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-num-02" ; - rdfs:comment "no numbers in N-Triples (decimal) (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-num-02" ; + rdfs:comment "no numbers in N-Triples (decimal) (negative test)" ; + mf:action ; + . <#nt-syntax-bad-num-03> rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "nt-syntax-bad-num-03" ; - rdfs:comment "no numbers in N-Triples (float) (negative test)" ; - mf:action ; - . + mf:name "nt-syntax-bad-num-03" ; + rdfs:comment "no numbers in N-Triples (float) (negative test)" ; + mf:action ; + . <#nt-syntax-subm-01> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "nt-syntax-subm-01" ; - rdfs:comment "Submission test from Original RDF Test Cases" ; - mf:action ; - . + mf:name "nt-syntax-subm-01" ; + rdfs:comment "Submission test from Original RDF Test Cases" ; + mf:action ; + . <#comment_following_triple> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "comment_following_triple" ; - rdfs:comment "Tests comments after a triple" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "comment_following_triple" ; + rdfs:comment "Tests comments after a triple" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_ascii_boundaries> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_ascii_boundaries" ; - rdfs:comment "literal_ascii_boundaries '\\x00\\x26\\x28...'" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_ascii_boundaries" ; + rdfs:comment "literal_ascii_boundaries '\\x00\\x26\\x28...'" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_UTF8_boundaries> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_UTF8_boundaries" ; - rdfs:comment "literal_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_UTF8_boundaries" ; + rdfs:comment "literal_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_all_controls> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_all_controls" ; - rdfs:comment "literal_all_controls '\\x00\\x01\\x02\\x03\\x04...'" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_all_controls" ; + rdfs:comment "literal_all_controls '\\x00\\x01\\x02\\x03\\x04...'" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_all_punctuation> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_all_punctuation" ; - rdfs:comment "literal_all_punctuation '!\"#$%&()...'" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "literal_all_punctuation" ; + rdfs:comment "literal_all_punctuation '!\"#$%&()...'" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#literal_with_squote> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_squote" ; - rdfs:comment "literal with squote \"x'y\"" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_squote" ; + rdfs:comment "literal with squote \"x'y\"" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_2_squotes> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_2_squotes" ; - rdfs:comment "literal with 2 squotes \"x''y\"" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_2_squotes" ; + rdfs:comment "literal with 2 squotes \"x''y\"" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal" ; - rdfs:comment "literal \"\"\"x\"\"\"" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal" ; + rdfs:comment "literal \"\"\"x\"\"\"" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_dquote> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_dquote" ; - rdfs:comment 'literal with dquote "x\"y"' ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_dquote" ; + rdfs:comment 'literal with dquote "x\"y"' ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_2_dquotes> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_2_dquotes" ; - rdfs:comment "literal with 2 dquotes \"\"\"a\"\"b\"\"\"" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_2_dquotes" ; + rdfs:comment "literal with 2 dquotes \"\"\"a\"\"b\"\"\"" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_REVERSE_SOLIDUS2> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_REVERSE_SOLIDUS2" ; - rdfs:comment "REVERSE SOLIDUS at end of literal" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_REVERSE_SOLIDUS2" ; + rdfs:comment "REVERSE SOLIDUS at end of literal" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_CHARACTER_TABULATION> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_CHARACTER_TABULATION" ; - rdfs:comment "literal with CHARACTER TABULATION" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_CHARACTER_TABULATION" ; + rdfs:comment "literal with CHARACTER TABULATION" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_BACKSPACE> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_BACKSPACE" ; - rdfs:comment "literal with BACKSPACE" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_BACKSPACE" ; + rdfs:comment "literal with BACKSPACE" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_LINE_FEED> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_LINE_FEED" ; - rdfs:comment "literal with LINE FEED" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_LINE_FEED" ; + rdfs:comment "literal with LINE FEED" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_CARRIAGE_RETURN> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_CARRIAGE_RETURN" ; - rdfs:comment "literal with CARRIAGE RETURN" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_CARRIAGE_RETURN" ; + rdfs:comment "literal with CARRIAGE RETURN" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_FORM_FEED> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_FORM_FEED" ; - rdfs:comment "literal with FORM FEED" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_FORM_FEED" ; + rdfs:comment "literal with FORM FEED" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_REVERSE_SOLIDUS> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_REVERSE_SOLIDUS" ; - rdfs:comment "literal with REVERSE SOLIDUS" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_REVERSE_SOLIDUS" ; + rdfs:comment "literal with REVERSE SOLIDUS" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_numeric_escape4> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_numeric_escape4" ; - rdfs:comment "literal with numeric escape4 \\u" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_numeric_escape4" ; + rdfs:comment "literal with numeric escape4 \\u" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#literal_with_numeric_escape8> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "literal_with_numeric_escape8" ; - rdfs:comment "literal with numeric escape8 \\U" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "literal_with_numeric_escape8" ; + rdfs:comment "literal with numeric escape8 \\U" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#langtagged_string> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "langtagged_string" ; - rdfs:comment "langtagged string \"x\"@en" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "langtagged_string" ; + rdfs:comment "langtagged string \"x\"@en" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#lantag_with_subtag> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "lantag_with_subtag" ; - rdfs:comment "lantag with subtag \"x\"@en-us" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "lantag_with_subtag" ; + rdfs:comment "lantag with subtag \"x\"@en-us" ; + rdft:approval rdft:Proposed ; + mf:action ; + . <#minimal_whitespace> rdf:type rdft:TestNTriplesPositiveSyntax ; - mf:name "minimal_whitespace" ; - rdfs:comment "tests absense of whitespace between subject, predicate, object and end-of-statement" ; - rdft:approval rdft:Proposed ; - mf:action ; - . + mf:name "minimal_whitespace" ; + rdfs:comment "tests absense of whitespace between subject, predicate, object and end-of-statement" ; + rdft:approval rdft:Proposed ; + mf:action ; + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-01.nq b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-01.nq index 88d74766734..ed38bfadb1e 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-01.nq +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-01.nq @@ -1,42 +1,41 @@ - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-02.nq b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-02.nq index 76f76419615..59e45786e62 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-02.nq +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-02.nq @@ -1,42 +1,41 @@ - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-07.nq b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-07.nq index 5bcf65d0339..e1fc4f36f5d 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-07.nq +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-07.nq @@ -1,43 +1,42 @@ - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-08.nq b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-08.nq index 9e2286b3d75..d461b6307cf 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-08.nq +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/IRI-resolution-08.nq @@ -1,14 +1,12 @@ - . - . - . - . - . - . - - . - . - . - - . - . - . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/blankNodePropertyList_as_object_containing_objectList.nq b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/blankNodePropertyList_as_object_containing_objectList.nq index 1c21dedec83..048349407a8 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/blankNodePropertyList_as_object_containing_objectList.nq +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/blankNodePropertyList_as_object_containing_objectList.nq @@ -1,3 +1,3 @@ - _:b1 . -_:b1 . -_:b1 . + _:b1 . +_:b1 . +_:b1 . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/blankNodePropertyList_as_object_containing_objectList_of_two_objects.nq b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/blankNodePropertyList_as_object_containing_objectList_of_two_objects.nq index d3f412b6fd7..a3e19c74b5a 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/blankNodePropertyList_as_object_containing_objectList_of_two_objects.nq +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/blankNodePropertyList_as_object_containing_objectList_of_two_objects.nq @@ -1,3 +1,3 @@ - _:b1 . -_:b1 . - . + _:b1 . +_:b1 . + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/localname_with_COLON.nq b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/localname_with_COLON.nq index dd39fba2c4a..9a1a0d5a581 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/localname_with_COLON.nq +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/localname_with_COLON.nq @@ -1,2 +1,2 @@ . - . + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/manifest.ttl index 9ef4d5874a8..4854257df74 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/manifest.ttl @@ -229,6 +229,10 @@ <#trig-syntax-bad-uri-03> <#trig-syntax-bad-uri-04> <#trig-syntax-bad-uri-05> + <#trig-syntax-bad-uri-escape-01> + <#trig-syntax-bad-uri-escape-02> + <#trig-syntax-bad-uri-escape-03> + <#trig-syntax-bad-uri-escape-04> <#trig-syntax-bad-prefix-01> <#trig-syntax-bad-prefix-02> <#trig-syntax-bad-prefix-03> @@ -330,10 +334,6 @@ <#trig-subm-25> <#trig-subm-26> <#trig-subm-27> - <#trig-eval-bad-01> - <#trig-eval-bad-02> - <#trig-eval-bad-03> - <#trig-eval-bad-04> # tests from David Robillard # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c21 @@ -370,6 +370,7 @@ <#trig-kw-graph-09> <#trig-kw-graph-10> + <#trig-kw-graph-11> <#trig-graph-bad-01> <#trig-graph-bad-02> @@ -412,2649 +413,2674 @@ # TriG tests <#anonymous_blank_node_graph> rdf:type rdft:TestTrigEval ; - mf:name "anonymous_blank_node_graph" ; - rdfs:comment "anonymous blank node graph" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "anonymous_blank_node_graph" ; + rdfs:comment "anonymous blank node graph" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_graph> rdf:type rdft:TestTrigEval ; - mf:name "labeled_blank_node_graph" ; - rdfs:comment "labeled blank node graph" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_graph" ; + rdfs:comment "labeled blank node graph" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + <#alternating_iri_graphs> rdf:type rdft:TestTrigEval ; - mf:name "alternating_iri_graphs" ; - rdfs:comment "alternating graphs with IRI names" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "alternating_iri_graphs" ; + rdfs:comment "alternating graphs with IRI names" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#alternating_bnode_graphs> rdf:type rdft:TestTrigEval ; - mf:name "alternating_bnode_graphs" ; - rdfs:comment "alternating graphs with BNode names" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "alternating_bnode_graphs" ; + rdfs:comment "alternating graphs with BNode names" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-syntax-bad-base-04> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-base-04" ; - rdfs:comment "@base inside graph (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-base-04" ; + rdfs:comment "@base inside graph (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-base-05> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-base-05" ; - rdfs:comment "BASE inside graph (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-base-05" ; + rdfs:comment "BASE inside graph (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-prefix-06> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-prefix-06" ; - rdfs:comment "@prefix inside graph (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-prefix-06" ; + rdfs:comment "@prefix inside graph (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-prefix-07> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-prefix-07" ; - rdfs:comment "PREFIX inside graph (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-prefix-07" ; + rdfs:comment "PREFIX inside graph (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-struct-06> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-struct-06" ; - rdfs:comment "missing '.'" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-struct-06" ; + rdfs:comment "missing '.'" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-struct-07> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-struct-07" ; - rdfs:comment "trailing ';' no '.'" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-struct-07" ; + rdfs:comment "trailing ';' no '.'" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-minimal-whitespace-01> a rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-minimal-whitespace-01" ; - rdfs:comment "tests absense of whitespace in various positions" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-minimal-whitespace-01" ; + rdfs:comment "tests absense of whitespace in various positions" ; + rdft:approval rdft:Approved ; + mf:action ; + . + # Original Turtle tests # atomic tests <#IRI_subject> rdf:type rdft:TestTrigEval ; - mf:name "IRI_subject" ; - rdfs:comment "IRI subject" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "IRI_subject" ; + rdfs:comment "IRI subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#IRI_with_four_digit_numeric_escape> rdf:type rdft:TestTrigEval ; - mf:name "IRI_with_four_digit_numeric_escape" ; - rdfs:comment "IRI with four digit numeric escape (\\u)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "IRI_with_four_digit_numeric_escape" ; + rdfs:comment "IRI with four digit numeric escape (\\u)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#IRI_with_eight_digit_numeric_escape> rdf:type rdft:TestTrigEval ; - mf:name "IRI_with_eight_digit_numeric_escape" ; - rdfs:comment "IRI with eight digit numeric escape (\\U)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "IRI_with_eight_digit_numeric_escape" ; + rdfs:comment "IRI with eight digit numeric escape (\\U)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#IRI_with_all_punctuation> rdf:type rdft:TestTrigEval ; - mf:name "IRI_with_all_punctuation" ; - rdfs:comment "IRI with all punctuation" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "IRI_with_all_punctuation" ; + rdfs:comment "IRI with all punctuation" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#bareword_a_predicate> rdf:type rdft:TestTrigEval ; - mf:name "bareword_a_predicate" ; - rdfs:comment "bareword a predicate" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "bareword_a_predicate" ; + rdfs:comment "bareword a predicate" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#old_style_prefix> rdf:type rdft:TestTrigEval ; - mf:name "old_style_prefix" ; - rdfs:comment "old-style prefix" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "old_style_prefix" ; + rdfs:comment "old-style prefix" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#SPARQL_style_prefix> rdf:type rdft:TestTrigEval ; - mf:name "SPARQL_style_prefix" ; - rdfs:comment "SPARQL-style prefix" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "SPARQL_style_prefix" ; + rdfs:comment "SPARQL-style prefix" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefixed_IRI_predicate> rdf:type rdft:TestTrigEval ; - mf:name "prefixed_IRI_predicate" ; - rdfs:comment "prefixed IRI predicate" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefixed_IRI_predicate" ; + rdfs:comment "prefixed IRI predicate" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefixed_IRI_object> rdf:type rdft:TestTrigEval ; - mf:name "prefixed_IRI_object" ; - rdfs:comment "prefixed IRI object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefixed_IRI_object" ; + rdfs:comment "prefixed IRI object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefix_only_IRI> rdf:type rdft:TestTrigEval ; - mf:name "prefix_only_IRI" ; - rdfs:comment "prefix-only IRI (p:)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefix_only_IRI" ; + rdfs:comment "prefix-only IRI (p:)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefix_with_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "prefix_with_PN_CHARS_BASE_character_boundaries" ; - rdfs:comment "prefix with PN CHARS BASE character boundaries (prefix: AZazÀÖØöø...:)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefix_with_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "prefix with PN CHARS BASE character boundaries (prefix: AZazÀÖØöø...:)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefix_with_non_leading_extras> rdf:type rdft:TestTrigEval ; - mf:name "prefix_with_non_leading_extras" ; - rdfs:comment "prefix with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefix_with_non_leading_extras" ; + rdfs:comment "prefix with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries" ; - rdfs:comment "localName with assigned, NFC-normalized, basic-multilingual-plane PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "localName with assigned, NFC-normalized, basic-multilingual-plane PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries" ; - rdfs:comment "localName with assigned, NFC-normalized PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "localName with assigned, NFC-normalized PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localName_with_nfc_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "localName_with_nfc_PN_CHARS_BASE_character_boundaries" ; - rdfs:comment "localName with nfc-normalize PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localName_with_nfc_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "localName with nfc-normalize PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#default_namespace_IRI> rdf:type rdft:TestTrigEval ; - mf:name "default_namespace_IRI" ; - rdfs:comment "default namespace IRI (:ln)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "default_namespace_IRI" ; + rdfs:comment "default namespace IRI (:ln)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefix_reassigned_and_used> rdf:type rdft:TestTrigEval ; - mf:name "prefix_reassigned_and_used" ; - rdfs:comment "prefix reassigned and used" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefix_reassigned_and_used" ; + rdfs:comment "prefix reassigned and used" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#reserved_escaped_localName> rdf:type rdft:TestTrigEval ; - mf:name "reserved_escaped_localName" ; - rdfs:comment "reserved-escaped local name" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "reserved_escaped_localName" ; + rdfs:comment "reserved-escaped local name" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#percent_escaped_localName> rdf:type rdft:TestTrigEval ; - mf:name "percent_escaped_localName" ; - rdfs:comment "percent-escaped local name" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "percent_escaped_localName" ; + rdfs:comment "percent-escaped local name" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#HYPHEN_MINUS_in_localName> rdf:type rdft:TestTrigEval ; - mf:name "HYPHEN_MINUS_in_localName" ; - rdfs:comment "HYPHEN-MINUS in local name" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "HYPHEN_MINUS_in_localName" ; + rdfs:comment "HYPHEN-MINUS in local name" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#underscore_in_localName> rdf:type rdft:TestTrigEval ; - mf:name "underscore_in_localName" ; - rdfs:comment "underscore in local name" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "underscore_in_localName" ; + rdfs:comment "underscore in local name" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localname_with_COLON> rdf:type rdft:TestTrigEval ; - mf:name "localname_with_COLON" ; - rdfs:comment "localname with COLON" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localname_with_COLON" ; + rdfs:comment "localname with COLON" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localName_with_leading_underscore> rdf:type rdft:TestTrigEval ; - mf:name "localName_with_leading_underscore" ; - rdfs:comment "localName with leading underscore (p:_)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localName_with_leading_underscore" ; + rdfs:comment "localName with leading underscore (p:_)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localName_with_leading_digit> rdf:type rdft:TestTrigEval ; - mf:name "localName_with_leading_digit" ; - rdfs:comment "localName with leading digit (p:_)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localName_with_leading_digit" ; + rdfs:comment "localName with leading digit (p:_)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localName_with_non_leading_extras> rdf:type rdft:TestTrigEval ; - mf:name "localName_with_non_leading_extras" ; - rdfs:comment "localName with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localName_with_non_leading_extras" ; + rdfs:comment "localName with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#old_style_base> rdf:type rdft:TestTrigEval ; - mf:name "old_style_base" ; - rdfs:comment "old-style base" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "old_style_base" ; + rdfs:comment "old-style base" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#SPARQL_style_base> rdf:type rdft:TestTrigEval ; - mf:name "SPARQL_style_base" ; - rdfs:comment "SPARQL-style base" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "SPARQL_style_base" ; + rdfs:comment "SPARQL-style base" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_subject> rdf:type rdft:TestTrigEval ; - mf:name "labeled_blank_node_subject" ; - rdfs:comment "labeled blank node subject" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_subject" ; + rdfs:comment "labeled blank node subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_object> rdf:type rdft:TestTrigEval ; - mf:name "labeled_blank_node_object" ; - rdfs:comment "labeled blank node object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_object" ; + rdfs:comment "labeled blank node object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_with_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "labeled_blank_node_with_PN_CHARS_BASE_character_boundaries" ; - rdfs:comment "labeled blank node with PN_CHARS_BASE character boundaries (_:AZazÀÖØöø...)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_with_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "labeled blank node with PN_CHARS_BASE character boundaries (_:AZazÀÖØöø...)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_with_leading_underscore> rdf:type rdft:TestTrigEval ; - mf:name "labeled_blank_node_with_leading_underscore" ; - rdfs:comment "labeled blank node with_leading_underscore (_:_)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_with_leading_underscore" ; + rdfs:comment "labeled blank node with_leading_underscore (_:_)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_with_leading_digit> rdf:type rdft:TestTrigEval ; - mf:name "labeled_blank_node_with_leading_digit" ; - rdfs:comment "labeled blank node with_leading_digit (_:0)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_with_leading_digit" ; + rdfs:comment "labeled blank node with_leading_digit (_:0)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_with_non_leading_extras> rdf:type rdft:TestTrigEval ; - mf:name "labeled_blank_node_with_non_leading_extras" ; - rdfs:comment "labeled blank node with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_with_non_leading_extras" ; + rdfs:comment "labeled blank node with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#anonymous_blank_node_subject> rdf:type rdft:TestTrigEval ; - mf:name "anonymous_blank_node_subject" ; - rdfs:comment "anonymous blank node subject" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "anonymous_blank_node_subject" ; + rdfs:comment "anonymous blank node subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#anonymous_blank_node_object> rdf:type rdft:TestTrigEval ; - mf:name "anonymous_blank_node_object" ; - rdfs:comment "anonymous blank node object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "anonymous_blank_node_object" ; + rdfs:comment "anonymous blank node object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#sole_blankNodePropertyList> rdf:type rdft:TestTrigEval ; - mf:name "sole_blankNodePropertyList" ; - rdfs:comment "sole blankNodePropertyList [

] ." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "sole_blankNodePropertyList" ; + rdfs:comment "sole blankNodePropertyList [

] ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#blankNodePropertyList_as_subject> rdf:type rdft:TestTrigEval ; - mf:name "blankNodePropertyList_as_subject" ; - rdfs:comment "blankNodePropertyList as subject [ … ]

." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "blankNodePropertyList_as_subject" ; + rdfs:comment "blankNodePropertyList as subject [ … ]

." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#blankNodePropertyList_as_object> rdf:type rdft:TestTrigEval ; - mf:name "blankNodePropertyList_as_object" ; - rdfs:comment "blankNodePropertyList as object

[ … ] ." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "blankNodePropertyList_as_object" ; + rdfs:comment "blankNodePropertyList as object

[ … ] ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#blankNodePropertyList_as_object_containing_objectList> rdf:type rdft:TestTrigEval ; - mf:name "blankNodePropertyList_as_object_containing_objectList" ; - rdfs:comment "blankNodePropertyList as object containing objectList

[ , ] ." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "blankNodePropertyList_as_object_containing_objectList" ; + rdfs:comment "blankNodePropertyList as object containing objectList

[ , ] ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#blankNodePropertyList_as_object_containing_objectList_of_two_objects> rdf:type rdft:TestTrigEval ; - mf:name "blankNodePropertyList_as_object_containing_objectList_of_two_objects" ; - rdfs:comment "blankNodePropertyList as object containing objectList of two objects

[ ] , ." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "blankNodePropertyList_as_object_containing_objectList_of_two_objects" ; + rdfs:comment "blankNodePropertyList as object containing objectList of two objects

[ ] , ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#blankNodePropertyList_with_multiple_triples> rdf:type rdft:TestTrigEval ; - mf:name "blankNodePropertyList_with_multiple_triples" ; - rdfs:comment "blankNodePropertyList with multiple triples [

; ]" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "blankNodePropertyList_with_multiple_triples" ; + rdfs:comment "blankNodePropertyList with multiple triples [

; ]" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#nested_blankNodePropertyLists> rdf:type rdft:TestTrigEval ; - mf:name "nested_blankNodePropertyLists" ; - rdfs:comment "nested blankNodePropertyLists [ [ ] ; ]" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "nested_blankNodePropertyLists" ; + rdfs:comment "nested blankNodePropertyLists [ [ ] ; ]" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#blankNodePropertyList_containing_collection> rdf:type rdft:TestTrigEval ; - mf:name "blankNodePropertyList_containing_collection" ; - rdfs:comment "blankNodePropertyList containing collection [ ( … ) ]" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "blankNodePropertyList_containing_collection" ; + rdfs:comment "blankNodePropertyList containing collection [ ( … ) ]" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#collection_subject> rdf:type rdft:TestTrigEval ; - mf:name "collection_subject" ; - rdfs:comment "collection subject" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "collection_subject" ; + rdfs:comment "collection subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#collection_object> rdf:type rdft:TestTrigEval ; - mf:name "collection_object" ; - rdfs:comment "collection object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "collection_object" ; + rdfs:comment "collection object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#empty_collection> rdf:type rdft:TestTrigEval ; - mf:name "empty_collection" ; - rdfs:comment "empty collection ()" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "empty_collection" ; + rdfs:comment "empty collection ()" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#nested_collection> rdf:type rdft:TestTrigEval ; - mf:name "nested_collection" ; - rdfs:comment "nested collection (())" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "nested_collection" ; + rdfs:comment "nested collection (())" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#first> rdf:type rdft:TestTrigEval ; - mf:name "first" ; - rdfs:comment "first, not last, non-empty nested collection" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "first" ; + rdfs:comment "first, not last, non-empty nested collection" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#last> rdf:type rdft:TestTrigEval ; - mf:name "last" ; - rdfs:comment "last, not first, non-empty nested collection" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "last" ; + rdfs:comment "last, not first, non-empty nested collection" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL1> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL1" ; - rdfs:comment "LITERAL1 'x'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL1" ; + rdfs:comment "LITERAL1 'x'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL1_ascii_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL1_ascii_boundaries" ; - rdfs:comment "LITERAL1_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x26\\x28...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL1_ascii_boundaries" ; + rdfs:comment "LITERAL1_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x26\\x28...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL1_with_UTF8_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL1_with_UTF8_boundaries" ; - rdfs:comment "LITERAL1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL1_with_UTF8_boundaries" ; + rdfs:comment "LITERAL1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL1_all_controls> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL1_all_controls" ; - rdfs:comment "LITERAL1_all_controls '\\x00\\x01\\x02\\x03\\x04...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL1_all_controls" ; + rdfs:comment "LITERAL1_all_controls '\\x00\\x01\\x02\\x03\\x04...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL1_all_punctuation> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL1_all_punctuation" ; - rdfs:comment "LITERAL1_all_punctuation '!\"#$%&()...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL1_all_punctuation" ; + rdfs:comment "LITERAL1_all_punctuation '!\"#$%&()...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG1> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL_LONG1" ; - rdfs:comment "LITERAL_LONG1 '''x'''" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG1" ; + rdfs:comment "LITERAL_LONG1 '''x'''" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG1_ascii_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL_LONG1_ascii_boundaries" ; - rdfs:comment "LITERAL_LONG1_ascii_boundaries '\\x00\\x26\\x28...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG1_ascii_boundaries" ; + rdfs:comment "LITERAL_LONG1_ascii_boundaries '\\x00\\x26\\x28...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG1_with_UTF8_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL_LONG1_with_UTF8_boundaries" ; - rdfs:comment "LITERAL_LONG1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG1_with_UTF8_boundaries" ; + rdfs:comment "LITERAL_LONG1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG1_with_1_squote> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL_LONG1_with_1_squote" ; - rdfs:comment "LITERAL_LONG1 with 1 squote '''a'b'''" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG1_with_1_squote" ; + rdfs:comment "LITERAL_LONG1 with 1 squote '''a'b'''" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG1_with_2_squotes> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL_LONG1_with_2_squotes" ; - rdfs:comment "LITERAL_LONG1 with 2 squotes '''a''b'''" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG1_with_2_squotes" ; + rdfs:comment "LITERAL_LONG1 with 2 squotes '''a''b'''" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL2> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL2" ; - rdfs:comment "LITERAL2 \"x\"" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL2" ; + rdfs:comment "LITERAL2 \"x\"" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL2_ascii_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL2_ascii_boundaries" ; - rdfs:comment "LITERAL2_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x21\\x23...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL2_ascii_boundaries" ; + rdfs:comment "LITERAL2_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x21\\x23...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL2_with_UTF8_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL2_with_UTF8_boundaries" ; - rdfs:comment "LITERAL2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL2_with_UTF8_boundaries" ; + rdfs:comment "LITERAL2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG2> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL_LONG2" ; - rdfs:comment "LITERAL_LONG2 \"\"\"x\"\"\"" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG2" ; + rdfs:comment "LITERAL_LONG2 \"\"\"x\"\"\"" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG2_ascii_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL_LONG2_ascii_boundaries" ; - rdfs:comment "LITERAL_LONG2_ascii_boundaries '\\x00\\x21\\x23...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG2_ascii_boundaries" ; + rdfs:comment "LITERAL_LONG2_ascii_boundaries '\\x00\\x21\\x23...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG2_with_UTF8_boundaries> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL_LONG2_with_UTF8_boundaries" ; - rdfs:comment "LITERAL_LONG2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG2_with_UTF8_boundaries" ; + rdfs:comment "LITERAL_LONG2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG2_with_1_squote> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL_LONG2_with_1_squote" ; - rdfs:comment "LITERAL_LONG2 with 1 squote \"\"\"a\"b\"\"\"" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG2_with_1_squote" ; + rdfs:comment "LITERAL_LONG2 with 1 squote \"\"\"a\"b\"\"\"" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG2_with_2_squotes> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL_LONG2_with_2_squotes" ; - rdfs:comment "LITERAL_LONG2 with 2 squotes \"\"\"a\"\"b\"\"\"" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG2_with_2_squotes" ; + rdfs:comment "LITERAL_LONG2 with 2 squotes \"\"\"a\"\"b\"\"\"" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_CHARACTER_TABULATION> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_CHARACTER_TABULATION" ; - rdfs:comment "literal with CHARACTER TABULATION" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_CHARACTER_TABULATION" ; + rdfs:comment "literal with CHARACTER TABULATION" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_BACKSPACE> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_BACKSPACE" ; - rdfs:comment "literal with BACKSPACE" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_BACKSPACE" ; + rdfs:comment "literal with BACKSPACE" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_LINE_FEED> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_LINE_FEED" ; - rdfs:comment "literal with LINE FEED" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_LINE_FEED" ; + rdfs:comment "literal with LINE FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_CARRIAGE_RETURN> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_CARRIAGE_RETURN" ; - rdfs:comment "literal with CARRIAGE RETURN" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_CARRIAGE_RETURN" ; + rdfs:comment "literal with CARRIAGE RETURN" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_FORM_FEED> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_FORM_FEED" ; - rdfs:comment "literal with FORM FEED" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_FORM_FEED" ; + rdfs:comment "literal with FORM FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_REVERSE_SOLIDUS> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_REVERSE_SOLIDUS" ; - rdfs:comment "literal with REVERSE SOLIDUS" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_REVERSE_SOLIDUS" ; + rdfs:comment "literal with REVERSE SOLIDUS" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_escaped_CHARACTER_TABULATION> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_escaped_CHARACTER_TABULATION" ; - rdfs:comment "literal with escaped CHARACTER TABULATION" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . - + mf:name "literal_with_escaped_CHARACTER_TABULATION" ; + rdfs:comment "literal with escaped CHARACTER TABULATION" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + <#literal_with_escaped_BACKSPACE> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_escaped_BACKSPACE" ; - rdfs:comment "literal with escaped BACKSPACE" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_escaped_BACKSPACE" ; + rdfs:comment "literal with escaped BACKSPACE" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_escaped_LINE_FEED> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_escaped_LINE_FEED" ; - rdfs:comment "literal with escaped LINE FEED" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_escaped_LINE_FEED" ; + rdfs:comment "literal with escaped LINE FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_escaped_CARRIAGE_RETURN> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_escaped_CARRIAGE_RETURN" ; - rdfs:comment "literal with escaped CARRIAGE RETURN" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_escaped_CARRIAGE_RETURN" ; + rdfs:comment "literal with escaped CARRIAGE RETURN" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_escaped_FORM_FEED> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_escaped_FORM_FEED" ; - rdfs:comment "literal with escaped FORM FEED" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_escaped_FORM_FEED" ; + rdfs:comment "literal with escaped FORM FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_numeric_escape4> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_numeric_escape4" ; - rdfs:comment "literal with numeric escape4 \\u" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_numeric_escape4" ; + rdfs:comment "literal with numeric escape4 \\u" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_numeric_escape8> rdf:type rdft:TestTrigEval ; - mf:name "literal_with_numeric_escape8" ; - rdfs:comment "literal with numeric escape8 \\U" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_numeric_escape8" ; + rdfs:comment "literal with numeric escape8 \\U" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#IRIREF_datatype> rdf:type rdft:TestTrigEval ; - mf:name "IRIREF_datatype" ; - rdfs:comment "IRIREF datatype \"\"^^" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "IRIREF_datatype" ; + rdfs:comment "IRIREF datatype \"\"^^" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefixed_name_datatype> rdf:type rdft:TestTrigEval ; - mf:name "prefixed_name_datatype" ; - rdfs:comment "prefixed name datatype \"\"^^p:t" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefixed_name_datatype" ; + rdfs:comment "prefixed name datatype \"\"^^p:t" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#bareword_integer> rdf:type rdft:TestTrigEval ; - mf:name "bareword_integer" ; - rdfs:comment "bareword integer" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "bareword_integer" ; + rdfs:comment "bareword integer" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#bareword_decimal> rdf:type rdft:TestTrigEval ; - mf:name "bareword_decimal" ; - rdfs:comment "bareword decimal" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "bareword_decimal" ; + rdfs:comment "bareword decimal" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#bareword_double> rdf:type rdft:TestTrigEval ; - mf:name "bareword_double" ; - rdfs:comment "bareword double" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "bareword_double" ; + rdfs:comment "bareword double" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#double_lower_case_e> rdf:type rdft:TestTrigEval ; - mf:name "double_lower_case_e" ; - rdfs:comment "double lower case e" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "double_lower_case_e" ; + rdfs:comment "double lower case e" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#negative_numeric> rdf:type rdft:TestTrigEval ; - mf:name "negative_numeric" ; - rdfs:comment "negative numeric" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "negative_numeric" ; + rdfs:comment "negative numeric" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#positive_numeric> rdf:type rdft:TestTrigEval ; - mf:name "positive_numeric" ; - rdfs:comment "positive numeric" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "positive_numeric" ; + rdfs:comment "positive numeric" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#numeric_with_leading_0> rdf:type rdft:TestTrigEval ; - mf:name "numeric_with_leading_0" ; - rdfs:comment "numeric with leading 0" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "numeric_with_leading_0" ; + rdfs:comment "numeric with leading 0" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_true> rdf:type rdft:TestTrigEval ; - mf:name "literal_true" ; - rdfs:comment "literal true" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_true" ; + rdfs:comment "literal true" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_false> rdf:type rdft:TestTrigEval ; - mf:name "literal_false" ; - rdfs:comment "literal false" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_false" ; + rdfs:comment "literal false" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#langtagged_non_LONG> rdf:type rdft:TestTrigEval ; - mf:name "langtagged_non_LONG" ; - rdfs:comment "langtagged non-LONG \"x\"@en" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "langtagged_non_LONG" ; + rdfs:comment "langtagged non-LONG \"x\"@en" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#langtagged_LONG> rdf:type rdft:TestTrigEval ; - mf:name "langtagged_LONG" ; - rdfs:comment "langtagged LONG \"\"\"x\"\"\"@en" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "langtagged_LONG" ; + rdfs:comment "langtagged LONG \"\"\"x\"\"\"@en" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#lantag_with_subtag> rdf:type rdft:TestTrigEval ; - mf:name "lantag_with_subtag" ; - rdfs:comment "lantag with subtag \"x\"@en-us" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "lantag_with_subtag" ; + rdfs:comment "lantag with subtag \"x\"@en-us" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#objectList_with_two_objects> rdf:type rdft:TestTrigEval ; - mf:name "objectList_with_two_objects" ; - rdfs:comment "objectList with two objects … ," ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "objectList_with_two_objects" ; + rdfs:comment "objectList with two objects … ," ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#predicateObjectList_with_two_objectLists> rdf:type rdft:TestTrigEval ; - mf:name "predicateObjectList_with_two_objectLists" ; - rdfs:comment "predicateObjectList with two objectLists … ," ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "predicateObjectList_with_two_objectLists" ; + rdfs:comment "predicateObjectList with two objectLists … ," ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#predicateObjectList_with_blankNodePropertyList_as_object> rdf:type rdft:TestTrigEval ; - mf:name "predicateObjectList_with_blankNodePropertyList_as_object" ; - rdfs:comment "predicateObjectList_with_blankNodePropertyList_as_object

[ ] ; [ , ] " ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "predicateObjectList_with_blankNodePropertyList_as_object" ; + rdfs:comment "predicateObjectList_with_blankNodePropertyList_as_object

[ ] ; [ , ] " ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#repeated_semis_at_end> rdf:type rdft:TestTrigEval ; - mf:name "repeated_semis_at_end" ; - rdfs:comment "repeated semis at end

;; ." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "repeated_semis_at_end" ; + rdfs:comment "repeated semis at end

;; ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#repeated_semis_not_at_end> rdf:type rdft:TestTrigEval ; - mf:name "repeated_semis_not_at_end" ; - rdfs:comment "repeated semis not at end

;;." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "repeated_semis_not_at_end" ; + rdfs:comment "repeated semis not at end

;;." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . # original tests-ttl <#trig-syntax-file-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-file-01" ; - rdfs:comment "Empty file" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-file-01" ; + rdfs:comment "Empty file" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-file-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-file-02" ; - rdfs:comment "Only comment" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-file-02" ; + rdfs:comment "Only comment" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-file-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-file-03" ; - rdfs:comment "One comment, one empty line" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-file-03" ; + rdfs:comment "One comment, one empty line" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-uri-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-uri-01" ; - rdfs:comment "Only IRIs" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-uri-01" ; + rdfs:comment "Only IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-uri-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-uri-02" ; - rdfs:comment "IRIs with Unicode escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-uri-02" ; + rdfs:comment "IRIs with Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-uri-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-uri-03" ; - rdfs:comment "IRIs with long Unicode escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-uri-03" ; + rdfs:comment "IRIs with long Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-uri-04> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-uri-04" ; - rdfs:comment "Legal IRIs" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-uri-04" ; + rdfs:comment "Legal IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#trig-syntax-bad-uri-escape-01> rdf:type rdft:TestTrigNegativeSyntax ; + mf:name "trig-syntax-bad-uri-escape-01" ; + rdfs:comment "Bad IRI : good escape, bad character (negative evaluation test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#trig-syntax-bad-uri-escape-02> rdf:type rdft:TestTrigNegativeSyntax ; + mf:name "trig-syntax-bad-uri-escape-02" ; + rdfs:comment "Bad IRI : hex 3C is < (negative evaluation test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#trig-syntax-bad-uri-escape-03> rdf:type rdft:TestTrigNegativeSyntax ; + mf:name "trig-syntax-bad-uri-escape-03" ; + rdfs:comment "Bad IRI : hex 3E is (negative evaluation test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#trig-syntax-bad-uri-escape-04> rdf:type rdft:TestTrigNegativeSyntax ; + mf:name "trig-syntax-bad-uri-escape-04" ; + rdfs:comment "Bad IRI : {abc} (negative evaluation test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-base-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-base-01" ; - rdfs:comment "@base" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-base-01" ; + rdfs:comment "@base" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-base-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-base-02" ; - rdfs:comment "BASE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-base-02" ; + rdfs:comment "BASE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-base-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-base-03" ; - rdfs:comment "@base with relative IRIs" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-base-03" ; + rdfs:comment "@base with relative IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-base-04> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-base-04" ; - rdfs:comment "base with relative IRIs" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-base-04" ; + rdfs:comment "base with relative IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-prefix-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-prefix-01" ; - rdfs:comment "@prefix" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-prefix-01" ; + rdfs:comment "@prefix" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-prefix-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-prefix-02" ; - rdfs:comment "PreFIX" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-prefix-02" ; + rdfs:comment "PreFIX" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-prefix-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-prefix-03" ; - rdfs:comment "Empty PREFIX" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-prefix-03" ; + rdfs:comment "Empty PREFIX" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-prefix-04> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-prefix-04" ; - rdfs:comment "Empty @prefix with % escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-prefix-04" ; + rdfs:comment "Empty @prefix with % escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-prefix-05> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-prefix-05" ; - rdfs:comment "@prefix with no suffix" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-prefix-05" ; + rdfs:comment "@prefix with no suffix" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-prefix-06> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-prefix-06" ; - rdfs:comment "colon is a legal pname character" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-prefix-06" ; + rdfs:comment "colon is a legal pname character" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-prefix-07> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-prefix-07" ; - rdfs:comment "dash is a legal pname character" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-prefix-07" ; + rdfs:comment "dash is a legal pname character" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-prefix-08> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-prefix-08" ; - rdfs:comment "underscore is a legal pname character" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-prefix-08" ; + rdfs:comment "underscore is a legal pname character" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-prefix-09> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-prefix-09" ; - rdfs:comment "percents in pnames" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-prefix-09" ; + rdfs:comment "percents in pnames" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-string-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-string-01" ; - rdfs:comment "string literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-string-01" ; + rdfs:comment "string literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-string-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-string-02" ; - rdfs:comment "langString literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-string-02" ; + rdfs:comment "langString literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-string-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-string-03" ; - rdfs:comment "langString literal with region" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-string-03" ; + rdfs:comment "langString literal with region" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-string-04> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-string-04" ; - rdfs:comment "squote string literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-string-04" ; + rdfs:comment "squote string literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-string-05> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-string-05" ; - rdfs:comment "squote langString literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-string-05" ; + rdfs:comment "squote langString literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-string-06> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-string-06" ; - rdfs:comment "squote langString literal with region" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-string-06" ; + rdfs:comment "squote langString literal with region" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-string-07> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-string-07" ; - rdfs:comment "long string literal with embedded single- and double-quotes" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-string-07" ; + rdfs:comment "long string literal with embedded single- and double-quotes" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-string-08> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-string-08" ; - rdfs:comment "long string literal with embedded newline" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-string-08" ; + rdfs:comment "long string literal with embedded newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-string-09> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-string-09" ; - rdfs:comment "squote long string literal with embedded single- and double-quotes" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-string-09" ; + rdfs:comment "squote long string literal with embedded single- and double-quotes" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-string-10> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-string-10" ; - rdfs:comment "long langString literal with embedded newline" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-string-10" ; + rdfs:comment "long langString literal with embedded newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-string-11> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-string-11" ; - rdfs:comment "squote long langString literal with embedded newline" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-string-11" ; + rdfs:comment "squote long langString literal with embedded newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-str-esc-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-str-esc-01" ; - rdfs:comment "string literal with escaped newline" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-str-esc-01" ; + rdfs:comment "string literal with escaped newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-str-esc-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-str-esc-02" ; - rdfs:comment "string literal with Unicode escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-str-esc-02" ; + rdfs:comment "string literal with Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-str-esc-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-str-esc-03" ; - rdfs:comment "string literal with long Unicode escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-str-esc-03" ; + rdfs:comment "string literal with long Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-pname-esc-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-pname-esc-01" ; - rdfs:comment "pname with back-slash escapes" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-pname-esc-01" ; + rdfs:comment "pname with back-slash escapes" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-pname-esc-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-pname-esc-02" ; - rdfs:comment "pname with back-slash escapes (2)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-pname-esc-02" ; + rdfs:comment "pname with back-slash escapes (2)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-pname-esc-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-pname-esc-03" ; - rdfs:comment "pname with back-slash escapes (3)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-pname-esc-03" ; + rdfs:comment "pname with back-slash escapes (3)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bnode-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-bnode-01" ; - rdfs:comment "bnode subject" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bnode-01" ; + rdfs:comment "bnode subject" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bnode-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-bnode-02" ; - rdfs:comment "bnode object" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bnode-02" ; + rdfs:comment "bnode object" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bnode-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-bnode-03" ; - rdfs:comment "bnode property list object" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bnode-03" ; + rdfs:comment "bnode property list object" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bnode-04> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-bnode-04" ; - rdfs:comment "bnode property list object (2)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bnode-04" ; + rdfs:comment "bnode property list object (2)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bnode-05> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-bnode-05" ; - rdfs:comment "bnode property list subject" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bnode-05" ; + rdfs:comment "bnode property list subject" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bnode-06> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-bnode-06" ; - rdfs:comment "labeled bnode subject" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bnode-06" ; + rdfs:comment "labeled bnode subject" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bnode-07> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-bnode-07" ; - rdfs:comment "labeled bnode subject and object" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bnode-07" ; + rdfs:comment "labeled bnode subject and object" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bnode-08> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-bnode-08" ; - rdfs:comment "bare bnode property list" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bnode-08" ; + rdfs:comment "bare bnode property list" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bnode-09> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-bnode-09" ; - rdfs:comment "bnode property list" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bnode-09" ; + rdfs:comment "bnode property list" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bnode-10> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-bnode-10" ; - rdfs:comment "mixed bnode property list and triple" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bnode-10" ; + rdfs:comment "mixed bnode property list and triple" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-01" ; - rdfs:comment "integer literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-01" ; + rdfs:comment "integer literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-02" ; - rdfs:comment "negative integer literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-02" ; + rdfs:comment "negative integer literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-03" ; - rdfs:comment "positive integer literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-03" ; + rdfs:comment "positive integer literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-04> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-04" ; - rdfs:comment "decimal literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-04" ; + rdfs:comment "decimal literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-05> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-05" ; - rdfs:comment "decimal literal (no leading digits)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-05" ; + rdfs:comment "decimal literal (no leading digits)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-06> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-06" ; - rdfs:comment "negative decimal literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-06" ; + rdfs:comment "negative decimal literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-07> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-07" ; - rdfs:comment "positive decimal literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-07" ; + rdfs:comment "positive decimal literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-08> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-08" ; - rdfs:comment "integer literal with decimal lexical confusion" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-08" ; + rdfs:comment "integer literal with decimal lexical confusion" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-09> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-09" ; - rdfs:comment "double literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-09" ; + rdfs:comment "double literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-10> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-10" ; - rdfs:comment "negative double literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-10" ; + rdfs:comment "negative double literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-11> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-11" ; - rdfs:comment "double literal no fraction" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-11" ; + rdfs:comment "double literal no fraction" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-12> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-12" ; - rdfs:comment "double literal no leading zero" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-12" ; + rdfs:comment "double literal no leading zero" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-number-13> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-number-13" ; - rdfs:comment "decimal literal no leading zero" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-number-13" ; + rdfs:comment "decimal literal no leading zero" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-datatypes-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-datatypes-01" ; - rdfs:comment "xsd:byte literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-datatypes-01" ; + rdfs:comment "xsd:byte literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-datatypes-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-datatypes-02" ; - rdfs:comment "integer as xsd:string" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-datatypes-02" ; + rdfs:comment "integer as xsd:string" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-kw-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-kw-01" ; - rdfs:comment "boolean literal (true)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-kw-01" ; + rdfs:comment "boolean literal (true)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-kw-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-kw-02" ; - rdfs:comment "boolean literal (false)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-kw-02" ; + rdfs:comment "boolean literal (false)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-kw-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-kw-03" ; - rdfs:comment "'a' as keyword" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-kw-03" ; + rdfs:comment "'a' as keyword" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-struct-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-struct-01" ; - rdfs:comment "object list" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-struct-01" ; + rdfs:comment "object list" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-struct-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-struct-02" ; - rdfs:comment "predicate list with object list" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-struct-02" ; + rdfs:comment "predicate list with object list" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-struct-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-struct-03" ; - rdfs:comment "predicate list with object list and dangling ';'" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-struct-03" ; + rdfs:comment "predicate list with object list and dangling ';'" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-struct-04> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-struct-04" ; - rdfs:comment "predicate list with multiple ;;" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-struct-04" ; + rdfs:comment "predicate list with multiple ;;" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-struct-05> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-struct-05" ; - rdfs:comment "predicate list with multiple ;;" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-struct-05" ; + rdfs:comment "predicate list with multiple ;;" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-lists-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-lists-01" ; - rdfs:comment "empty list" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-lists-01" ; + rdfs:comment "empty list" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-lists-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-lists-02" ; - rdfs:comment "mixed list" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-lists-02" ; + rdfs:comment "mixed list" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-lists-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-lists-03" ; - rdfs:comment "isomorphic list as subject and object" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-lists-03" ; + rdfs:comment "isomorphic list as subject and object" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-lists-04> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-lists-04" ; - rdfs:comment "lists of lists" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-lists-04" ; + rdfs:comment "lists of lists" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-lists-05> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-syntax-lists-05" ; - rdfs:comment "mixed lists with embedded lists" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-lists-05" ; + rdfs:comment "mixed lists with embedded lists" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-uri-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-uri-01" ; - rdfs:comment "Bad IRI : space (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-uri-01" ; + rdfs:comment "Bad IRI : space (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-uri-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-uri-02" ; - rdfs:comment "Bad IRI : bad escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-uri-02" ; + rdfs:comment "Bad IRI : bad escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-uri-03> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-uri-03" ; - rdfs:comment "Bad IRI : bad long escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-uri-03" ; + rdfs:comment "Bad IRI : bad long escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-uri-04> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-uri-04" ; - rdfs:comment "Bad IRI : character escapes not allowed (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-uri-04" ; + rdfs:comment "Bad IRI : character escapes not allowed (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-uri-05> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-uri-05" ; - rdfs:comment "Bad IRI : character escapes not allowed (2) (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-uri-05" ; + rdfs:comment "Bad IRI : character escapes not allowed (2) (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-prefix-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-prefix-01" ; - rdfs:comment "No prefix (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-prefix-01" ; + rdfs:comment "No prefix (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-prefix-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-prefix-02" ; - rdfs:comment "No prefix (2) (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-prefix-02" ; + rdfs:comment "No prefix (2) (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-prefix-03> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-prefix-03" ; - rdfs:comment "@prefix without URI (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-prefix-03" ; + rdfs:comment "@prefix without URI (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-prefix-04> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-prefix-04" ; - rdfs:comment "@prefix without prefix name (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-prefix-04" ; + rdfs:comment "@prefix without prefix name (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-prefix-05> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-prefix-05" ; - rdfs:comment "@prefix without ':' (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-prefix-05" ; + rdfs:comment "@prefix without ':' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-base-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-base-01" ; - rdfs:comment "@base without URI (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-base-01" ; + rdfs:comment "@base without URI (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-base-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-base-02" ; - rdfs:comment "@base in wrong case (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-base-02" ; + rdfs:comment "@base in wrong case (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-base-03> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-base-03" ; - rdfs:comment "BASE without URI (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-base-03" ; + rdfs:comment "BASE without URI (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-bnode-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-bnode-01" ; - rdfs:comment "Colon in bnode label not allowed (negative test)" ; - mf:action ; - . + mf:name "trig-syntax-bad-bnode-01" ; + rdfs:comment "Colon in bnode label not allowed (negative test)" ; + mf:action ; + . <#trig-syntax-bad-bnode-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-bnode-02" ; - rdfs:comment "Colon in bnode label not allowed (negative test)" ; - mf:action ; - . + mf:name "trig-syntax-bad-bnode-02" ; + rdfs:comment "Colon in bnode label not allowed (negative test)" ; + mf:action ; + . <#trig-syntax-bad-struct-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-02" ; - rdfs:comment "Turtle is not N3 (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-02" ; + rdfs:comment "Turtle is not N3 (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-03> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-03" ; - rdfs:comment "Turtle is not NQuads (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-03" ; + rdfs:comment "Turtle is not NQuads (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-04> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-04" ; - rdfs:comment "Turtle does not allow literals-as-subjects (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-04" ; + rdfs:comment "Turtle does not allow literals-as-subjects (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-05> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-05" ; - rdfs:comment "Turtle does not allow literals-as-predicates (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-05" ; + rdfs:comment "Turtle does not allow literals-as-predicates (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-06> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-06" ; - rdfs:comment "Turtle does not allow bnodes-as-predicates (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-06" ; + rdfs:comment "Turtle does not allow bnodes-as-predicates (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-07> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-07" ; - rdfs:comment "Turtle does not allow labeled bnodes-as-predicates (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-07" ; + rdfs:comment "Turtle does not allow labeled bnodes-as-predicates (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-kw-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-kw-01" ; - rdfs:comment "'A' is not a keyword (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-kw-01" ; + rdfs:comment "'A' is not a keyword (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-kw-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-kw-02" ; - rdfs:comment "'a' cannot be used as subject (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-kw-02" ; + rdfs:comment "'a' cannot be used as subject (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-kw-03> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-kw-03" ; - rdfs:comment "'a' cannot be used as object (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-kw-03" ; + rdfs:comment "'a' cannot be used as object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-kw-04> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-kw-04" ; - rdfs:comment "'true' cannot be used as subject (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-kw-04" ; + rdfs:comment "'true' cannot be used as subject (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-kw-05> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-kw-05" ; - rdfs:comment "'true' cannot be used as object (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-kw-05" ; + rdfs:comment "'true' cannot be used as object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-01" ; - rdfs:comment "{} fomulae not in TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-01" ; + rdfs:comment "{} fomulae not in TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-02" ; - rdfs:comment "= is not TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-02" ; + rdfs:comment "= is not TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-03> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-03" ; - rdfs:comment "N3 paths not in TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-03" ; + rdfs:comment "N3 paths not in TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-04> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-04" ; - rdfs:comment "N3 paths not in TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-04" ; + rdfs:comment "N3 paths not in TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-05> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-05" ; - rdfs:comment "N3 is...of not in TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-05" ; + rdfs:comment "N3 is...of not in TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-06> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-06" ; - rdfs:comment "N3 paths not in TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-06" ; + rdfs:comment "N3 paths not in TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-07> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-07" ; - rdfs:comment "@keywords is not TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-07" ; + rdfs:comment "@keywords is not TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-08> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-08" ; - rdfs:comment "@keywords is not TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-08" ; + rdfs:comment "@keywords is not TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-09> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-09" ; - rdfs:comment "=> is not TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-09" ; + rdfs:comment "=> is not TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-10> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-10" ; - rdfs:comment "<= is not TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-10" ; + rdfs:comment "<= is not TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-11> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-11" ; - rdfs:comment "@forSome is not TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-11" ; + rdfs:comment "@forSome is not TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-12> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-12" ; - rdfs:comment "@forAll is not TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-12" ; + rdfs:comment "@forAll is not TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-n3-extras-13> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-n3-extras-13" ; - rdfs:comment "@keywords is not TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-n3-extras-13" ; + rdfs:comment "@keywords is not TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-numeric-escape-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-numeric-escape-01" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-numeric-escape-01" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-numeric-escape-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-numeric-escape-02" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-numeric-escape-02" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-numeric-escape-03> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-numeric-escape-03" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_SINGLE_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-numeric-escape-03" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_SINGLE_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-numeric-escape-04> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-numeric-escape-04" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_SINGLE_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-numeric-escape-04" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_SINGLE_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-numeric-escape-05> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-numeric-escape-05" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_SINGLE_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-numeric-escape-05" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_SINGLE_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-numeric-escape-06> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-numeric-escape-06" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_SINGLE_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-numeric-escape-06" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_SINGLE_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-numeric-escape-07> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-numeric-escape-07" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-numeric-escape-07" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-numeric-escape-08> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-numeric-escape-08" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-numeric-escape-08" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-numeric-escape-09> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-numeric-escape-09" ; - rdfs:comment "Surrogates not allowed in IRIREF" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-numeric-escape-09" ; + rdfs:comment "Surrogates not allowed in IRIREF" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-numeric-escape-10> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-numeric-escape-10" ; - rdfs:comment "Surrogates not allowed in IRIREF" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-numeric-escape-10" ; + rdfs:comment "Surrogates not allowed in IRIREF" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-09> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-09" ; - rdfs:comment "extra '.' (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-09" ; + rdfs:comment "extra '.' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-10> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-10" ; - rdfs:comment "extra '.' (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-10" ; + rdfs:comment "extra '.' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-12> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-12" ; - rdfs:comment "subject, predicate, no object (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-12" ; + rdfs:comment "subject, predicate, no object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-13> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-13" ; - rdfs:comment "subject, predicate, no object (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-13" ; + rdfs:comment "subject, predicate, no object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-14> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-14" ; - rdfs:comment "literal as subject (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-14" ; + rdfs:comment "literal as subject (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-15> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-15" ; - rdfs:comment "literal as predicate (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-15" ; + rdfs:comment "literal as predicate (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-16> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-16" ; - rdfs:comment "bnode as predicate (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-16" ; + rdfs:comment "bnode as predicate (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-struct-17> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-struct-17" ; - rdfs:comment "labeled bnode as predicate (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-struct-17" ; + rdfs:comment "labeled bnode as predicate (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-lang-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-lang-01" ; - rdfs:comment "langString with bad lang (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-lang-01" ; + rdfs:comment "langString with bad lang (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-esc-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-esc-01" ; - rdfs:comment "Bad string escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-esc-01" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-esc-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-esc-02" ; - rdfs:comment "Bad string escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-esc-02" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-esc-03> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-esc-03" ; - rdfs:comment "Bad string escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-esc-03" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-esc-04> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-esc-04" ; - rdfs:comment "Bad string escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-esc-04" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-pname-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-pname-01" ; - rdfs:comment "'~' must be escaped in pname (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-pname-01" ; + rdfs:comment "'~' must be escaped in pname (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-pname-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-pname-02" ; - rdfs:comment "Bad %-sequence in pname (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-pname-02" ; + rdfs:comment "Bad %-sequence in pname (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-pname-03> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-pname-03" ; - rdfs:comment "Bad unicode escape in pname (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-pname-03" ; + rdfs:comment "Bad unicode escape in pname (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-string-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-string-01" ; - rdfs:comment "mismatching string literal open/close (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-string-01" ; + rdfs:comment "mismatching string literal open/close (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-string-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-string-02" ; - rdfs:comment "mismatching string literal open/close (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-string-02" ; + rdfs:comment "mismatching string literal open/close (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-string-03> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-string-03" ; - rdfs:comment "mismatching string literal long/short (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-string-03" ; + rdfs:comment "mismatching string literal long/short (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-string-04> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-string-04" ; - rdfs:comment "mismatching long string literal open/close (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-string-04" ; + rdfs:comment "mismatching long string literal open/close (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-string-05> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-string-05" ; - rdfs:comment "Long literal with missing end (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-string-05" ; + rdfs:comment "Long literal with missing end (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-string-06> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-string-06" ; - rdfs:comment "Long literal with extra quote (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-string-06" ; + rdfs:comment "Long literal with extra quote (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-string-07> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-string-07" ; - rdfs:comment "Long literal with extra squote (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-string-07" ; + rdfs:comment "Long literal with extra squote (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-num-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-num-01" ; - rdfs:comment "Bad number format (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-num-01" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-num-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-num-02" ; - rdfs:comment "Bad number format (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-num-02" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-num-03> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-num-03" ; - rdfs:comment "Bad number format (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-num-03" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-num-04> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-num-04" ; - rdfs:comment "Bad number format (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-num-04" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-num-05> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-num-05" ; - rdfs:comment "Bad number format (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-num-05" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-eval-struct-01> rdf:type rdft:TestTrigEval ; - mf:name "trig-eval-struct-01" ; - rdfs:comment "triple with IRIs" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-eval-struct-01" ; + rdfs:comment "triple with IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-eval-struct-02> rdf:type rdft:TestTrigEval ; - mf:name "trig-eval-struct-02" ; - rdfs:comment "triple with IRIs and embedded whitespace" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-eval-struct-02" ; + rdfs:comment "triple with IRIs and embedded whitespace" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-01> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-01" ; - rdfs:comment "Blank subject" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-01" ; + rdfs:comment "Blank subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-02> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-02" ; - rdfs:comment "@prefix and qnames" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-02" ; + rdfs:comment "@prefix and qnames" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-03> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-03" ; - rdfs:comment ", operator" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-03" ; + rdfs:comment ", operator" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-04> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-04" ; - rdfs:comment "; operator" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-04" ; + rdfs:comment "; operator" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-05> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-05" ; - rdfs:comment "empty [] as subject and object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-05" ; + rdfs:comment "empty [] as subject and object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-06> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-06" ; - rdfs:comment "non-empty [] as subject and object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-06" ; + rdfs:comment "non-empty [] as subject and object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-07> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-07" ; - rdfs:comment "'a' as predicate" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-07" ; + rdfs:comment "'a' as predicate" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-08> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-08" ; - rdfs:comment "simple collection" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-08" ; + rdfs:comment "simple collection" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-09> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-09" ; - rdfs:comment "empty collection" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-09" ; + rdfs:comment "empty collection" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-10> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-10" ; - rdfs:comment "integer datatyped literal" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-10" ; + rdfs:comment "integer datatyped literal" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-11> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-11" ; - rdfs:comment "decimal integer canonicalization" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-11" ; + rdfs:comment "decimal integer canonicalization" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-12> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-12" ; - rdfs:comment "- and _ in names and qnames" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-12" ; + rdfs:comment "- and _ in names and qnames" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-13> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-13" ; - rdfs:comment "tests for rdf:_ and other qnames starting with _" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-13" ; + rdfs:comment "tests for rdf:_ and other qnames starting with _" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-14> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-14" ; - rdfs:comment "bare : allowed" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-14" ; + rdfs:comment "bare : allowed" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-15> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-15" ; - rdfs:comment "simple long literal" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-15" ; + rdfs:comment "simple long literal" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-16> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-16" ; - rdfs:comment "long literals with escapes" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-16" ; + rdfs:comment "long literals with escapes" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-17> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-17" ; - rdfs:comment "floating point number" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-17" ; + rdfs:comment "floating point number" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-18> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-18" ; - rdfs:comment "empty literals, normal and long variant" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-18" ; + rdfs:comment "empty literals, normal and long variant" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-19> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-19" ; - rdfs:comment "positive integer, decimal and doubles" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-19" ; + rdfs:comment "positive integer, decimal and doubles" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-20> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-20" ; - rdfs:comment "negative integer, decimal and doubles" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-20" ; + rdfs:comment "negative integer, decimal and doubles" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-21> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-21" ; - rdfs:comment "long literal ending in double quote" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-21" ; + rdfs:comment "long literal ending in double quote" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-22> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-22" ; - rdfs:comment "boolean literals" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-22" ; + rdfs:comment "boolean literals" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-23> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-23" ; - rdfs:comment "comments" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-23" ; + rdfs:comment "comments" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-24> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-24" ; - rdfs:comment "no final mewline" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-24" ; + rdfs:comment "no final mewline" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-25> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-25" ; - rdfs:comment "repeating a @prefix changes pname definition" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-25" ; + rdfs:comment "repeating a @prefix changes pname definition" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-26> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-26" ; - rdfs:comment "Variations on decimal canonicalization" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "trig-subm-26" ; + rdfs:comment "Variations on decimal canonicalization" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-subm-27> rdf:type rdft:TestTrigEval ; - mf:name "trig-subm-27" ; - rdfs:comment "Repeating @base changes base for relative IRI lookup" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . - -<#trig-eval-bad-01> rdf:type rdft:TestTrigNegativeEval ; - mf:name "trig-eval-bad-01" ; - rdfs:comment "Bad IRI : good escape, bad charcater (negative evaluation test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . - -<#trig-eval-bad-02> rdf:type rdft:TestTrigNegativeEval ; - mf:name "trig-eval-bad-02" ; - rdfs:comment "Bad IRI : hex 3C is < (negative evaluation test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . - -<#trig-eval-bad-03> rdf:type rdft:TestTrigNegativeEval ; - mf:name "trig-eval-bad-03" ; - rdfs:comment "Bad IRI : hex 3E is (negative evaluation test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . - -<#trig-eval-bad-04> rdf:type rdft:TestTrigNegativeEval ; - mf:name "trig-eval-bad-04" ; - rdfs:comment "Bad IRI : {abc} (negative evaluation test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-subm-27" ; + rdfs:comment "Repeating @base changes base for relative IRI lookup" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . # tests requested by Jeremy Carroll # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c35 <#comment_following_localName> rdf:type rdft:TestTrigEval ; - mf:name "comment_following_localName" ; - rdfs:comment "comment following localName" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "comment_following_localName" ; + rdfs:comment "comment following localName" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#number_sign_following_localName> rdf:type rdft:TestTrigEval ; - mf:name "number_sign_following_localName" ; - rdfs:comment "number sign following localName" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "number_sign_following_localName" ; + rdfs:comment "number sign following localName" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#comment_following_PNAME_NS> rdf:type rdft:TestTrigEval ; - mf:name "comment_following_PNAME_NS" ; - rdfs:comment "comment following PNAME_NS" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "comment_following_PNAME_NS" ; + rdfs:comment "comment following PNAME_NS" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#number_sign_following_PNAME_NS> rdf:type rdft:TestTrigEval ; - mf:name "number_sign_following_PNAME_NS" ; - rdfs:comment "number sign following PNAME_NS" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "number_sign_following_PNAME_NS" ; + rdfs:comment "number sign following PNAME_NS" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . # tests from Dave Beckett # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c28 <#LITERAL_LONG2_with_REVERSE_SOLIDUS> rdf:type rdft:TestTrigEval ; - mf:name "LITERAL_LONG2_with_REVERSE_SOLIDUS" ; - rdfs:comment "REVERSE SOLIDUS at end of LITERAL_LONG2" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG2_with_REVERSE_SOLIDUS" ; + rdfs:comment "REVERSE SOLIDUS at end of LITERAL_LONG2" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#trig-syntax-bad-LITERAL2_with_langtag_and_datatype> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-syntax-bad-num-05" ; - rdfs:comment "Bad number format (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-syntax-bad-num-05" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#two_LITERAL_LONG2s> rdf:type rdft:TestTrigEval ; - mf:name "two_LITERAL_LONG2s" ; - rdfs:comment "two LITERAL_LONG2s testing quote delimiter overrun" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "two_LITERAL_LONG2s" ; + rdfs:comment "two LITERAL_LONG2s testing quote delimiter overrun" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#langtagged_LONG_with_subtag> rdf:type rdft:TestTrigEval ; - mf:name "langtagged_LONG_with_subtag" ; - rdfs:comment "langtagged LONG with subtag \"\"\"Cheers\"\"\"@en-UK" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "langtagged_LONG_with_subtag" ; + rdfs:comment "langtagged LONG with subtag \"\"\"Cheers\"\"\"@en-UK" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . # tests from David Robillard # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c21 <#trig-syntax-bad-blank-label-dot-end> - rdf:type rdft:TestTrigNegativeSyntax ; - rdfs:comment "Blank node label must not end in dot" ; - mf:name "trig-syntax-bad-blank-label-dot-end" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigNegativeSyntax ; + rdfs:comment "Blank node label must not end in dot" ; + mf:name "trig-syntax-bad-blank-label-dot-end" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-number-dot-in-anon> - rdf:type rdft:TestTrigNegativeSyntax ; - rdfs:comment "Dot delimeter may not appear in anonymous nodes" ; - mf:name "trig-syntax-bad-number-dot-in-anon" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigNegativeSyntax ; + rdfs:comment "Dot delimeter may not appear in anonymous nodes" ; + mf:name "trig-syntax-bad-number-dot-in-anon" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-ln-dash-start> - rdf:type rdft:TestTrigNegativeSyntax ; - rdfs:comment "Local name must not begin with dash" ; - mf:name "trig-syntax-bad-ln-dash-start" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigNegativeSyntax ; + rdfs:comment "Local name must not begin with dash" ; + mf:name "trig-syntax-bad-ln-dash-start" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-ln-escape> - rdf:type rdft:TestTrigNegativeSyntax ; - rdfs:comment "Bad hex escape in local name" ; - mf:name "trig-syntax-bad-ln-escape" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigNegativeSyntax ; + rdfs:comment "Bad hex escape in local name" ; + mf:name "trig-syntax-bad-ln-escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-ln-escape-start> - rdf:type rdft:TestTrigNegativeSyntax ; - rdfs:comment "Bad hex escape at start of local name" ; - mf:name "trig-syntax-bad-ln-escape-start" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigNegativeSyntax ; + rdfs:comment "Bad hex escape at start of local name" ; + mf:name "trig-syntax-bad-ln-escape-start" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-ns-dot-end> - rdf:type rdft:TestTrigNegativeSyntax ; - rdfs:comment "Prefix must not end in dot" ; - mf:name "trig-syntax-bad-ns-dot-end" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigNegativeSyntax ; + rdfs:comment "Prefix must not end in dot" ; + mf:name "trig-syntax-bad-ns-dot-end" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-ns-dot-start> - rdf:type rdft:TestTrigNegativeSyntax ; - rdfs:comment "Prefix must not start with dot" ; - mf:name "trig-syntax-bad-ns-dot-start" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigNegativeSyntax ; + rdfs:comment "Prefix must not start with dot" ; + mf:name "trig-syntax-bad-ns-dot-start" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-missing-ns-dot-end> - rdf:type rdft:TestTrigNegativeSyntax ; - rdfs:comment "Prefix must not end in dot (error in triple, not prefix directive like trig-syntax-bad-ns-dot-end)" ; - mf:name "trig-syntax-bad-missing-ns-dot-end" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigNegativeSyntax ; + rdfs:comment "Prefix must not end in dot (error in triple, not prefix directive like trig-syntax-bad-ns-dot-end)" ; + mf:name "trig-syntax-bad-missing-ns-dot-end" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-missing-ns-dot-start> - rdf:type rdft:TestTrigNegativeSyntax ; - rdfs:comment "Prefix must not start with dot (error in triple, not prefix directive like trig-syntax-bad-ns-dot-end)" ; - mf:name "trig-syntax-bad-missing-ns-dot-start" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigNegativeSyntax ; + rdfs:comment "Prefix must not start with dot (error in triple, not prefix directive like trig-syntax-bad-ns-dot-end)" ; + mf:name "trig-syntax-bad-missing-ns-dot-start" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-bad-list-01> rdf:type rdft:TestTrigNegativeSyntax ; rdfs:comment "Free-standing list outside {} : bad syntax" ; - mf:name "trig-syntax-bad-list-01" ; + mf:name "trig-syntax-bad-list-01" ; rdft:approval rdft:Approved ; - mf:action + mf:action ; . <#trig-syntax-bad-list-02> rdf:type rdft:TestTrigNegativeSyntax ; rdfs:comment "Free-standing list of zero-elements outside {} : bad syntax" ; - mf:name "trig-syntax-bad-list-02" ; + mf:name "trig-syntax-bad-list-02" ; rdft:approval rdft:Approved ; - mf:action + mf:action ; . <#trig-syntax-bad-list-03> rdf:type rdft:TestTrigNegativeSyntax ; rdfs:comment "Free-standing list inside {} : bad syntax" ; - mf:name "trig-syntax-bad-list-03" ; + mf:name "trig-syntax-bad-list-03" ; rdft:approval rdft:Approved ; - mf:action + mf:action ; . <#trig-syntax-bad-list-04> rdf:type rdft:TestTrigNegativeSyntax ; rdfs:comment "Free-standing list of zero elements : bad syntax" ; - mf:name "trig-syntax-bad-list-04" ; + mf:name "trig-syntax-bad-list-04" ; rdft:approval rdft:Approved ; - mf:action + mf:action ; . <#trig-syntax-ln-dots> - rdf:type rdft:TestTrigPositiveSyntax ; - rdfs:comment "Dots in pname local names" ; - mf:name "trig-syntax-ln-dots" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigPositiveSyntax ; + rdfs:comment "Dots in pname local names" ; + mf:name "trig-syntax-ln-dots" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-ln-colons> - rdf:type rdft:TestTrigPositiveSyntax ; - rdfs:comment "Colons in pname local names" ; - mf:name "trig-syntax-ln-colons" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigPositiveSyntax ; + rdfs:comment "Colons in pname local names" ; + mf:name "trig-syntax-ln-colons" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-ns-dots> - rdf:type rdft:TestTrigPositiveSyntax ; - rdfs:comment "Dots in namespace names" ; - mf:name "trig-syntax-ns-dots" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigPositiveSyntax ; + rdfs:comment "Dots in namespace names" ; + mf:name "trig-syntax-ns-dots" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-syntax-blank-label> - rdf:type rdft:TestTrigPositiveSyntax ; - rdfs:comment "Characters allowed in blank node labels" ; - mf:name "trig-syntax-blank-label" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTrigPositiveSyntax ; + rdfs:comment "Characters allowed in blank node labels" ; + mf:name "trig-syntax-blank-label" ; + rdft:approval rdft:Approved ; + mf:action ; + . # tests for bnode graph names, optional GRAPH keyword and # triples outside {} <#trig-kw-graph-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-kw-graph-01" ; - rdfs:comment "Named graphs can be proceeded by GRAPH" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-kw-graph-01" ; + rdfs:comment "Named graphs can be proceeded by GRAPH" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-kw-graph-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-kw-graph-02" ; - rdfs:comment "Trailing . not necessary inside {}" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-kw-graph-02" ; + rdfs:comment "Trailing . not necessary inside {}" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-kw-graph-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-kw-graph-03" ; - rdfs:comment "Named graph may be empty" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-kw-graph-03" ; + rdfs:comment "Named graph may be empty" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-kw-graph-04> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-kw-graph-04" ; - rdfs:comment "" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-kw-graph-04" ; + rdfs:comment "" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-kw-graph-05> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-kw-graph-05" ; - rdfs:comment "Use of empty prefix inside named graph" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-kw-graph-05" ; + rdfs:comment "Use of empty prefix inside named graph" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-kw-graph-06> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-kw-graph-06" ; - rdfs:comment "" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-kw-graph-06" ; + rdfs:comment "" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-kw-graph-07> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-kw-graph-07" ; - rdfs:comment "Named graph may be named with BNode _:a" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-kw-graph-07" ; + rdfs:comment "Named graph may be named with BNode _:a" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-kw-graph-08> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-kw-graph-08" ; - rdfs:comment "Named graph may be named with BNode []" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-kw-graph-08" ; + rdfs:comment "Named graph may be named with BNode []" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-kw-graph-09> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-kw-graph-09" ; - rdfs:comment "Named graph may be named with PNAME" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-kw-graph-09" ; + rdfs:comment "Named graph may be named with PNAME" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-kw-graph-10> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-kw-graph-10" ; - rdfs:comment "Named graph with PNAME and empty graph" ; - rdft:approval rdft:Approved ; - mf:action ; + mf:name "trig-kw-graph-10" ; + rdfs:comment "Named graph with PNAME and empty graph" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#trig-kw-graph-11> rdf:type rdft:TestTrigPositiveSyntax ; + mf:name "trig-kw-graph-11" ; + rdfs:comment "Named graph with IRI and empty graph" ; + mf:action ; . <#trig-graph-bad-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-graph-bad-01" ; - rdfs:comment "GRAPH but no name - GRAPH is not used with the default graph" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-graph-bad-01" ; + rdfs:comment "GRAPH but no name - GRAPH is not used with the default graph" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-graph-bad-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-graph-bad-02" ; - rdfs:comment "GRAPH not followed by DOT" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-graph-bad-02" ; + rdfs:comment "GRAPH not followed by DOT" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-graph-bad-03> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-graph-bad-03" ; - rdfs:comment "GRAPH needs {}" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-graph-bad-03" ; + rdfs:comment "GRAPH needs {}" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-graph-bad-04> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-graph-bad-04" ; - rdfs:comment "GRAPH needs {}" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-graph-bad-04" ; + rdfs:comment "GRAPH needs {}" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-graph-bad-05> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-graph-bad-05" ; - rdfs:comment "GRAPH and a name, not several" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-graph-bad-05" ; + rdfs:comment "GRAPH and a name, not several" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-graph-bad-06> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-graph-bad-06" ; - rdfs:comment "GRAPH - Must close {}" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-graph-bad-06" ; + rdfs:comment "GRAPH - Must close {}" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-graph-bad-07> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-graph-bad-07" ; - rdfs:comment "GRAPH may not include a GRAPH" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-graph-bad-07" ; + rdfs:comment "GRAPH may not include a GRAPH" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-graph-bad-08> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-graph-bad-08" ; - rdfs:comment "@graph is not a keyword" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-graph-bad-08" ; + rdfs:comment "@graph is not a keyword" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-graph-bad-09> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-graph-bad-09" ; - rdfs:comment "Directives not allowed inside GRAPH" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-graph-bad-09" ; + rdfs:comment "Directives not allowed inside GRAPH" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-graph-bad-10> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-graph-bad-10" ; - rdfs:comment "A graph may not be named with an empty collection" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-graph-bad-10" ; + rdfs:comment "A graph may not be named with an empty collection" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-graph-bad-11> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-graph-bad-11" ; - rdfs:comment "A graph may not be named with a collection" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-graph-bad-11" ; + rdfs:comment "A graph may not be named with a collection" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-bnodeplist-graph-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-bnodeplist-graph-bad-01" ; - rdfs:comment "A graph may not be named with a blankNodePropertyList" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-bnodeplist-graph-bad-01" ; + rdfs:comment "A graph may not be named with a blankNodePropertyList" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-collection-graph-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-collection-graph-bad-01" ; - rdfs:comment "A graph may not be named with an empty collection" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-collection-graph-bad-01" ; + rdfs:comment "A graph may not be named with an empty collection" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-collection-graph-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-collection-graph-bad-02" ; - rdfs:comment "A graph may not be named with a collection" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-collection-graph-bad-02" ; + rdfs:comment "A graph may not be named with a collection" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-turtle-01> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-turtle-01" ; - rdfs:comment "TriG can parse Turtle" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-turtle-01" ; + rdfs:comment "TriG can parse Turtle" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-turtle-02> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-turtle-02" ; - rdfs:comment "TriG can parse Turtle (repeated PREFIX)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-turtle-02" ; + rdfs:comment "TriG can parse Turtle (repeated PREFIX)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-turtle-03> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-turtle-03" ; - rdfs:comment "TriG can parse Turtle (blankNodePropertyList subject)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-turtle-03" ; + rdfs:comment "TriG can parse Turtle (blankNodePropertyList subject)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-turtle-04> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-turtle-04" ; - rdfs:comment "TriG can parse Turtle (blankNodePropertyList subject)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-turtle-04" ; + rdfs:comment "TriG can parse Turtle (blankNodePropertyList subject)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-turtle-05> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-turtle-05" ; - rdfs:comment "TriG can parse Turtle (bare blankNodePropertyList)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-turtle-05" ; + rdfs:comment "TriG can parse Turtle (bare blankNodePropertyList)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-turtle-06> rdf:type rdft:TestTrigPositiveSyntax ; - mf:name "trig-turtle-06" ; - rdfs:comment "TriG can parse Turtle (collection subject and object)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-turtle-06" ; + rdfs:comment "TriG can parse Turtle (collection subject and object)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-turtle-bad-01> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-turtle-bad-01" ; - rdfs:comment "Trailing dot required in Turtle block" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-turtle-bad-01" ; + rdfs:comment "Trailing dot required in Turtle block" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#trig-turtle-bad-02> rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "trig-turtle-bad-02" ; - rdfs:comment "TriG is not N-Quads" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "trig-turtle-bad-02" ; + rdfs:comment "TriG is not N-Quads" ; + rdft:approval rdft:Approved ; + mf:action ; + . # IRI resolution tests <#IRI-resolution-01> - rdf:type rdft:TestTrigEval ; - rdfs:comment "IRI resolution (RFC3986 original cases)" ; - mf:name "IRI-resolution-01" ; - rdft:approval rdft:Proposed ; - mf:action ; - mf:result . + rdf:type rdft:TestTrigEval ; + rdfs:comment "IRI resolution (RFC3986 original cases)" ; + mf:name "IRI-resolution-01" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . <#IRI-resolution-02> - rdf:type rdft:TestTrigEval ; - rdfs:comment "IRI resolution (RFC3986 using base IRI with trailing slash)" ; - mf:name "IRI-resolution-02" ; - rdft:approval rdft:Proposed ; - mf:action ; - mf:result . + rdf:type rdft:TestTrigEval ; + rdfs:comment "IRI resolution (RFC3986 using base IRI with trailing slash)" ; + mf:name "IRI-resolution-02" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . <#IRI-resolution-07> - rdf:type rdft:TestTrigEval ; - rdfs:comment "IRI resolution (RFC3986 using base IRI with file path)" ; - mf:name "IRI-resolution-07" ; - rdft:approval rdft:Proposed ; - mf:action ; - mf:result . + rdf:type rdft:TestTrigEval ; + rdfs:comment "IRI resolution (RFC3986 using base IRI with file path)" ; + mf:name "IRI-resolution-07" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . <#IRI-resolution-08> - rdf:type rdft:TestTrigEval ; - rdfs:comment "IRI resolution (miscellaneous cases)" ; - mf:name "IRI-resolution-08" ; - rdft:approval rdft:Proposed ; - mf:action ; - mf:result . + rdf:type rdft:TestTrigEval ; + rdfs:comment "IRI resolution (miscellaneous cases)" ; + mf:name "IRI-resolution-08" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-kw-graph-11.trig b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-kw-graph-11.trig new file mode 100644 index 00000000000..6cc27ce863b --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-kw-graph-11.trig @@ -0,0 +1,3 @@ +# GRAPH tests + +GRAPH { } \ No newline at end of file diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-eval-bad-01.trig b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-syntax-bad-uri-escape-01.trig similarity index 62% rename from jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-eval-bad-01.trig rename to jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-syntax-bad-uri-escape-01.trig index 36f66252cbb..c19814ff23c 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-eval-bad-01.trig +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-syntax-bad-uri-escape-01.trig @@ -1,2 +1,2 @@ -# Bad IRI : good escape, bad charcater +# Bad IRI : good escape, bad character { .} diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-eval-bad-02.trig b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-syntax-bad-uri-escape-02.trig similarity index 100% rename from jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-eval-bad-02.trig rename to jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-syntax-bad-uri-escape-02.trig diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-eval-bad-03.trig b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-syntax-bad-uri-escape-03.trig similarity index 100% rename from jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-eval-bad-03.trig rename to jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-syntax-bad-uri-escape-03.trig diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-eval-bad-04.trig b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-syntax-bad-uri-escape-04.trig similarity index 100% rename from jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-eval-bad-04.trig rename to jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-trig/trig-syntax-bad-uri-escape-04.trig diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-01.nt b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-01.nt index 88d74766734..ed38bfadb1e 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-01.nt +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-01.nt @@ -1,42 +1,41 @@ - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-02.nt b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-02.nt index 76f76419615..59e45786e62 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-02.nt +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-02.nt @@ -1,42 +1,41 @@ - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-07.nt b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-07.nt index 5bcf65d0339..e1fc4f36f5d 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-07.nt +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-07.nt @@ -1,43 +1,42 @@ - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-08.nt b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-08.nt index 9e2286b3d75..d461b6307cf 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-08.nt +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/IRI-resolution-08.nt @@ -1,14 +1,12 @@ - . - . - . - . - . - . - - . - . - . - - . - . - . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/README b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/README index f338ce417cb..77c1cf76272 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/README +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/README @@ -7,13 +7,9 @@ This test suite contains four kinds of tests: 77 Positive syntax (rdft:TestTurtlePositiveSyntax) - an input turtle file with no syntax errors. - 78 Negative syntax (rdft:TestTurtleNegativeSyntax) - an input turtle + 82 Negative syntax (rdft:TestTurtleNegativeSyntax) - an input turtle file with at least one syntax error. - 4 Negative Evaluation (rdft:TestTurtleNegativeEval) - a pair of an - input turtle file and reference ntriples file. These tests have the - same properties as rdft:TestTurtleNegativeSyntax. - The manifest.ttl file in this directory lists all of the tests in the RDF WG's Turtle test suite. Each test is one of the above tests. All tests have a name (mf:name) and an input (mf:action). The Evaluation diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/manifest.ttl index 68f5869b6e9..fe42248a027 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/manifest.ttl @@ -218,6 +218,10 @@ <#turtle-syntax-bad-uri-03> <#turtle-syntax-bad-uri-04> <#turtle-syntax-bad-uri-05> + <#turtle-syntax-bad-uri-escape-01> + <#turtle-syntax-bad-uri-escape-02> + <#turtle-syntax-bad-uri-escape-03> + <#turtle-syntax-bad-uri-escape-04> <#turtle-syntax-bad-prefix-01> <#turtle-syntax-bad-prefix-02> <#turtle-syntax-bad-prefix-03> @@ -322,10 +326,6 @@ <#turtle-subm-25> <#turtle-subm-26> <#turtle-subm-27> - <#turtle-eval-bad-01> - <#turtle-eval-bad-02> - <#turtle-eval-bad-03> - <#turtle-eval-bad-04> # tests from David Robillard # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c21 @@ -352,2343 +352,2360 @@ # atomic tests <#IRI_subject> rdf:type rdft:TestTurtleEval ; - mf:name "IRI_subject" ; - rdfs:comment "IRI subject" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "IRI_subject" ; + rdfs:comment "IRI subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#IRI_with_four_digit_numeric_escape> rdf:type rdft:TestTurtleEval ; - mf:name "IRI_with_four_digit_numeric_escape" ; - rdfs:comment "IRI with four digit numeric escape (\\u)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "IRI_with_four_digit_numeric_escape" ; + rdfs:comment "IRI with four digit numeric escape (\\u)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#IRI_with_eight_digit_numeric_escape> rdf:type rdft:TestTurtleEval ; - mf:name "IRI_with_eight_digit_numeric_escape" ; - rdfs:comment "IRI with eight digit numeric escape (\\U)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "IRI_with_eight_digit_numeric_escape" ; + rdfs:comment "IRI with eight digit numeric escape (\\U)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#IRI_with_all_punctuation> rdf:type rdft:TestTurtleEval ; - mf:name "IRI_with_all_punctuation" ; - rdfs:comment "IRI with all punctuation" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "IRI_with_all_punctuation" ; + rdfs:comment "IRI with all punctuation" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#bareword_a_predicate> rdf:type rdft:TestTurtleEval ; - mf:name "bareword_a_predicate" ; - rdfs:comment "bareword a predicate" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "bareword_a_predicate" ; + rdfs:comment "bareword a predicate" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#old_style_prefix> rdf:type rdft:TestTurtleEval ; - mf:name "old_style_prefix" ; - rdfs:comment "old-style prefix" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "old_style_prefix" ; + rdfs:comment "old-style prefix" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#SPARQL_style_prefix> rdf:type rdft:TestTurtleEval ; - mf:name "SPARQL_style_prefix" ; - rdfs:comment "SPARQL-style prefix" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "SPARQL_style_prefix" ; + rdfs:comment "SPARQL-style prefix" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefixed_IRI_predicate> rdf:type rdft:TestTurtleEval ; - mf:name "prefixed_IRI_predicate" ; - rdfs:comment "prefixed IRI predicate" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefixed_IRI_predicate" ; + rdfs:comment "prefixed IRI predicate" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefixed_IRI_object> rdf:type rdft:TestTurtleEval ; - mf:name "prefixed_IRI_object" ; - rdfs:comment "prefixed IRI object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefixed_IRI_object" ; + rdfs:comment "prefixed IRI object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefix_only_IRI> rdf:type rdft:TestTurtleEval ; - mf:name "prefix_only_IRI" ; - rdfs:comment "prefix-only IRI (p:)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefix_only_IRI" ; + rdfs:comment "prefix-only IRI (p:)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefix_with_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "prefix_with_PN_CHARS_BASE_character_boundaries" ; - rdfs:comment "prefix with PN CHARS BASE character boundaries (prefix: AZazÀÖØöø...:)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefix_with_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "prefix with PN CHARS BASE character boundaries (prefix: AZazÀÖØöø...:)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefix_with_non_leading_extras> rdf:type rdft:TestTurtleEval ; - mf:name "prefix_with_non_leading_extras" ; - rdfs:comment "prefix with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefix_with_non_leading_extras" ; + rdfs:comment "prefix with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries" ; - rdfs:comment "localName with assigned, NFC-normalized, basic-multilingual-plane PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "localName with assigned, NFC-normalized, basic-multilingual-plane PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries" ; - rdfs:comment "localName with assigned, NFC-normalized PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "localName with assigned, NFC-normalized PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localName_with_nfc_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "localName_with_nfc_PN_CHARS_BASE_character_boundaries" ; - rdfs:comment "localName with nfc-normalize PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localName_with_nfc_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "localName with nfc-normalize PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#default_namespace_IRI> rdf:type rdft:TestTurtleEval ; - mf:name "default_namespace_IRI" ; - rdfs:comment "default namespace IRI (:ln)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "default_namespace_IRI" ; + rdfs:comment "default namespace IRI (:ln)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefix_reassigned_and_used> rdf:type rdft:TestTurtleEval ; - mf:name "prefix_reassigned_and_used" ; - rdfs:comment "prefix reassigned and used" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefix_reassigned_and_used" ; + rdfs:comment "prefix reassigned and used" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#reserved_escaped_localName> rdf:type rdft:TestTurtleEval ; - mf:name "reserved_escaped_localName" ; - rdfs:comment "reserved-escaped local name" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "reserved_escaped_localName" ; + rdfs:comment "reserved-escaped local name" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#percent_escaped_localName> rdf:type rdft:TestTurtleEval ; - mf:name "percent_escaped_localName" ; - rdfs:comment "percent-escaped local name" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "percent_escaped_localName" ; + rdfs:comment "percent-escaped local name" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#HYPHEN_MINUS_in_localName> rdf:type rdft:TestTurtleEval ; - mf:name "HYPHEN_MINUS_in_localName" ; - rdfs:comment "HYPHEN-MINUS in local name" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "HYPHEN_MINUS_in_localName" ; + rdfs:comment "HYPHEN-MINUS in local name" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#underscore_in_localName> rdf:type rdft:TestTurtleEval ; - mf:name "underscore_in_localName" ; - rdfs:comment "underscore in local name" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "underscore_in_localName" ; + rdfs:comment "underscore in local name" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localname_with_COLON> rdf:type rdft:TestTurtleEval ; - mf:name "localname_with_COLON" ; - rdfs:comment "localname with COLON" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localname_with_COLON" ; + rdfs:comment "localname with COLON" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localName_with_leading_underscore> rdf:type rdft:TestTurtleEval ; - mf:name "localName_with_leading_underscore" ; - rdfs:comment "localName with leading underscore (p:_)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localName_with_leading_underscore" ; + rdfs:comment "localName with leading underscore (p:_)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localName_with_leading_digit> rdf:type rdft:TestTurtleEval ; - mf:name "localName_with_leading_digit" ; - rdfs:comment "localName with leading digit (p:_)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localName_with_leading_digit" ; + rdfs:comment "localName with leading digit (p:_)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#localName_with_non_leading_extras> rdf:type rdft:TestTurtleEval ; - mf:name "localName_with_non_leading_extras" ; - rdfs:comment "localName with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "localName_with_non_leading_extras" ; + rdfs:comment "localName with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#old_style_base> rdf:type rdft:TestTurtleEval ; - mf:name "old_style_base" ; - rdfs:comment "old-style base" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "old_style_base" ; + rdfs:comment "old-style base" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#SPARQL_style_base> rdf:type rdft:TestTurtleEval ; - mf:name "SPARQL_style_base" ; - rdfs:comment "SPARQL-style base" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "SPARQL_style_base" ; + rdfs:comment "SPARQL-style base" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_subject> rdf:type rdft:TestTurtleEval ; - mf:name "labeled_blank_node_subject" ; - rdfs:comment "labeled blank node subject" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_subject" ; + rdfs:comment "labeled blank node subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_object> rdf:type rdft:TestTurtleEval ; - mf:name "labeled_blank_node_object" ; - rdfs:comment "labeled blank node object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_object" ; + rdfs:comment "labeled blank node object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_with_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "labeled_blank_node_with_PN_CHARS_BASE_character_boundaries" ; - rdfs:comment "labeled blank node with PN_CHARS_BASE character boundaries (_:AZazÀÖØöø...)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_with_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "labeled blank node with PN_CHARS_BASE character boundaries (_:AZazÀÖØöø...)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_with_leading_underscore> rdf:type rdft:TestTurtleEval ; - mf:name "labeled_blank_node_with_leading_underscore" ; - rdfs:comment "labeled blank node with_leading_underscore (_:_)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_with_leading_underscore" ; + rdfs:comment "labeled blank node with_leading_underscore (_:_)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_with_leading_digit> rdf:type rdft:TestTurtleEval ; - mf:name "labeled_blank_node_with_leading_digit" ; - rdfs:comment "labeled blank node with_leading_digit (_:0)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_with_leading_digit" ; + rdfs:comment "labeled blank node with_leading_digit (_:0)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#labeled_blank_node_with_non_leading_extras> rdf:type rdft:TestTurtleEval ; - mf:name "labeled_blank_node_with_non_leading_extras" ; - rdfs:comment "labeled blank node with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "labeled_blank_node_with_non_leading_extras" ; + rdfs:comment "labeled blank node with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#anonymous_blank_node_subject> rdf:type rdft:TestTurtleEval ; - mf:name "anonymous_blank_node_subject" ; - rdfs:comment "anonymous blank node subject" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "anonymous_blank_node_subject" ; + rdfs:comment "anonymous blank node subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#anonymous_blank_node_object> rdf:type rdft:TestTurtleEval ; - mf:name "anonymous_blank_node_object" ; - rdfs:comment "anonymous blank node object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "anonymous_blank_node_object" ; + rdfs:comment "anonymous blank node object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#sole_blankNodePropertyList> rdf:type rdft:TestTurtleEval ; - mf:name "sole_blankNodePropertyList" ; - rdfs:comment "sole blankNodePropertyList [

] ." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "sole_blankNodePropertyList" ; + rdfs:comment "sole blankNodePropertyList [

] ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#blankNodePropertyList_as_subject> rdf:type rdft:TestTurtleEval ; - mf:name "blankNodePropertyList_as_subject" ; - rdfs:comment "blankNodePropertyList as subject [ … ]

." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "blankNodePropertyList_as_subject" ; + rdfs:comment "blankNodePropertyList as subject [ … ]

." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#blankNodePropertyList_as_object> rdf:type rdft:TestTurtleEval ; - mf:name "blankNodePropertyList_as_object" ; - rdfs:comment "blankNodePropertyList as object

[ … ] ." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "blankNodePropertyList_as_object" ; + rdfs:comment "blankNodePropertyList as object

[ … ] ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#blankNodePropertyList_as_object_containing_objectList> rdf:type rdft:TestTurtleEval ; - mf:name "blankNodePropertyList_as_object_containing_objectList" ; - rdfs:comment "blankNodePropertyList as object containing objectList

[ , ] ." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "blankNodePropertyList_as_object_containing_objectList" ; + rdfs:comment "blankNodePropertyList as object containing objectList

[ , ] ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#blankNodePropertyList_as_object_containing_objectList_of_two_objects> rdf:type rdft:TestTurtleEval ; - mf:name "blankNodePropertyList_as_object_containing_objectList_of_two_objects" ; - rdfs:comment "blankNodePropertyList as object containing objectList of two objects

[ ] , ." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "blankNodePropertyList_as_object_containing_objectList_of_two_objects" ; + rdfs:comment "blankNodePropertyList as object containing objectList of two objects

[ ] , ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#blankNodePropertyList_with_multiple_triples> rdf:type rdft:TestTurtleEval ; - mf:name "blankNodePropertyList_with_multiple_triples" ; - rdfs:comment "blankNodePropertyList with multiple triples [

; ]" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "blankNodePropertyList_with_multiple_triples" ; + rdfs:comment "blankNodePropertyList with multiple triples [

; ]" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#nested_blankNodePropertyLists> rdf:type rdft:TestTurtleEval ; - mf:name "nested_blankNodePropertyLists" ; - rdfs:comment "nested blankNodePropertyLists [ [ ] ; ]" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "nested_blankNodePropertyLists" ; + rdfs:comment "nested blankNodePropertyLists [ [ ] ; ]" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#blankNodePropertyList_containing_collection> rdf:type rdft:TestTurtleEval ; - mf:name "blankNodePropertyList_containing_collection" ; - rdfs:comment "blankNodePropertyList containing collection [ ( … ) ]" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "blankNodePropertyList_containing_collection" ; + rdfs:comment "blankNodePropertyList containing collection [ ( … ) ]" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#collection_subject> rdf:type rdft:TestTurtleEval ; - mf:name "collection_subject" ; - rdfs:comment "collection subject" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "collection_subject" ; + rdfs:comment "collection subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#collection_object> rdf:type rdft:TestTurtleEval ; - mf:name "collection_object" ; - rdfs:comment "collection object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "collection_object" ; + rdfs:comment "collection object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#empty_collection> rdf:type rdft:TestTurtleEval ; - mf:name "empty_collection" ; - rdfs:comment "empty collection ()" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "empty_collection" ; + rdfs:comment "empty collection ()" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#nested_collection> rdf:type rdft:TestTurtleEval ; - mf:name "nested_collection" ; - rdfs:comment "nested collection (())" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "nested_collection" ; + rdfs:comment "nested collection (())" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#first> rdf:type rdft:TestTurtleEval ; - mf:name "first" ; - rdfs:comment "first, not last, non-empty nested collection" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "first" ; + rdfs:comment "first, not last, non-empty nested collection" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#last> rdf:type rdft:TestTurtleEval ; - mf:name "last" ; - rdfs:comment "last, not first, non-empty nested collection" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "last" ; + rdfs:comment "last, not first, non-empty nested collection" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL1> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL1" ; - rdfs:comment "LITERAL1 'x'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL1" ; + rdfs:comment "LITERAL1 'x'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL1_ascii_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL1_ascii_boundaries" ; - rdfs:comment "LITERAL1_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x26\\x28...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL1_ascii_boundaries" ; + rdfs:comment "LITERAL1_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x26\\x28...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL1_with_UTF8_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL1_with_UTF8_boundaries" ; - rdfs:comment "LITERAL1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL1_with_UTF8_boundaries" ; + rdfs:comment "LITERAL1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL1_all_controls> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL1_all_controls" ; - rdfs:comment "LITERAL1_all_controls '\\x00\\x01\\x02\\x03\\x04...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL1_all_controls" ; + rdfs:comment "LITERAL1_all_controls '\\x00\\x01\\x02\\x03\\x04...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL1_all_punctuation> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL1_all_punctuation" ; - rdfs:comment "LITERAL1_all_punctuation '!\"#$%&()...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL1_all_punctuation" ; + rdfs:comment "LITERAL1_all_punctuation '!\"#$%&()...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG1> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL_LONG1" ; - rdfs:comment "LITERAL_LONG1 '''x'''" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG1" ; + rdfs:comment "LITERAL_LONG1 '''x'''" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG1_ascii_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL_LONG1_ascii_boundaries" ; - rdfs:comment "LITERAL_LONG1_ascii_boundaries '\\x00\\x26\\x28...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG1_ascii_boundaries" ; + rdfs:comment "LITERAL_LONG1_ascii_boundaries '\\x00\\x26\\x28...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG1_with_UTF8_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL_LONG1_with_UTF8_boundaries" ; - rdfs:comment "LITERAL_LONG1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG1_with_UTF8_boundaries" ; + rdfs:comment "LITERAL_LONG1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG1_with_1_squote> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL_LONG1_with_1_squote" ; - rdfs:comment "LITERAL_LONG1 with 1 squote '''a'b'''" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG1_with_1_squote" ; + rdfs:comment "LITERAL_LONG1 with 1 squote '''a'b'''" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG1_with_2_squotes> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL_LONG1_with_2_squotes" ; - rdfs:comment "LITERAL_LONG1 with 2 squotes '''a''b'''" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG1_with_2_squotes" ; + rdfs:comment "LITERAL_LONG1 with 2 squotes '''a''b'''" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL2> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL2" ; - rdfs:comment "LITERAL2 \"x\"" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL2" ; + rdfs:comment "LITERAL2 \"x\"" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL2_ascii_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL2_ascii_boundaries" ; - rdfs:comment "LITERAL2_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x21\\x23...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL2_ascii_boundaries" ; + rdfs:comment "LITERAL2_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x21\\x23...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL2_with_UTF8_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL2_with_UTF8_boundaries" ; - rdfs:comment "LITERAL2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL2_with_UTF8_boundaries" ; + rdfs:comment "LITERAL2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG2> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL_LONG2" ; - rdfs:comment "LITERAL_LONG2 \"\"\"x\"\"\"" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG2" ; + rdfs:comment "LITERAL_LONG2 \"\"\"x\"\"\"" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG2_ascii_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL_LONG2_ascii_boundaries" ; - rdfs:comment "LITERAL_LONG2_ascii_boundaries '\\x00\\x21\\x23...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG2_ascii_boundaries" ; + rdfs:comment "LITERAL_LONG2_ascii_boundaries '\\x00\\x21\\x23...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG2_with_UTF8_boundaries> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL_LONG2_with_UTF8_boundaries" ; - rdfs:comment "LITERAL_LONG2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG2_with_UTF8_boundaries" ; + rdfs:comment "LITERAL_LONG2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG2_with_1_squote> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL_LONG2_with_1_squote" ; - rdfs:comment "LITERAL_LONG2 with 1 squote \"\"\"a\"b\"\"\"" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG2_with_1_squote" ; + rdfs:comment "LITERAL_LONG2 with 1 squote \"\"\"a\"b\"\"\"" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#LITERAL_LONG2_with_2_squotes> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL_LONG2_with_2_squotes" ; - rdfs:comment "LITERAL_LONG2 with 2 squotes \"\"\"a\"\"b\"\"\"" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG2_with_2_squotes" ; + rdfs:comment "LITERAL_LONG2 with 2 squotes \"\"\"a\"\"b\"\"\"" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_CHARACTER_TABULATION> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_CHARACTER_TABULATION" ; - rdfs:comment "literal with CHARACTER TABULATION" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_CHARACTER_TABULATION" ; + rdfs:comment "literal with CHARACTER TABULATION" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_BACKSPACE> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_BACKSPACE" ; - rdfs:comment "literal with BACKSPACE" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_BACKSPACE" ; + rdfs:comment "literal with BACKSPACE" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_LINE_FEED> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_LINE_FEED" ; - rdfs:comment "literal with LINE FEED" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_LINE_FEED" ; + rdfs:comment "literal with LINE FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_CARRIAGE_RETURN> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_CARRIAGE_RETURN" ; - rdfs:comment "literal with CARRIAGE RETURN" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_CARRIAGE_RETURN" ; + rdfs:comment "literal with CARRIAGE RETURN" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_FORM_FEED> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_FORM_FEED" ; - rdfs:comment "literal with FORM FEED" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_FORM_FEED" ; + rdfs:comment "literal with FORM FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_REVERSE_SOLIDUS> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_REVERSE_SOLIDUS" ; - rdfs:comment "literal with REVERSE SOLIDUS" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_REVERSE_SOLIDUS" ; + rdfs:comment "literal with REVERSE SOLIDUS" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_escaped_CHARACTER_TABULATION> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_escaped_CHARACTER_TABULATION" ; - rdfs:comment "literal with escaped CHARACTER TABULATION" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_escaped_CHARACTER_TABULATION" ; + rdfs:comment "literal with escaped CHARACTER TABULATION" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_escaped_BACKSPACE> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_escaped_BACKSPACE" ; - rdfs:comment "literal with escaped BACKSPACE" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_escaped_BACKSPACE" ; + rdfs:comment "literal with escaped BACKSPACE" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_escaped_LINE_FEED> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_escaped_LINE_FEED" ; - rdfs:comment "literal with escaped LINE FEED" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_escaped_LINE_FEED" ; + rdfs:comment "literal with escaped LINE FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_escaped_CARRIAGE_RETURN> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_escaped_CARRIAGE_RETURN" ; - rdfs:comment "literal with escaped CARRIAGE RETURN" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_escaped_CARRIAGE_RETURN" ; + rdfs:comment "literal with escaped CARRIAGE RETURN" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_escaped_FORM_FEED> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_escaped_FORM_FEED" ; - rdfs:comment "literal with escaped FORM FEED" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_escaped_FORM_FEED" ; + rdfs:comment "literal with escaped FORM FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_numeric_escape4> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_numeric_escape4" ; - rdfs:comment "literal with numeric escape4 \\u" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_numeric_escape4" ; + rdfs:comment "literal with numeric escape4 \\u" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_with_numeric_escape8> rdf:type rdft:TestTurtleEval ; - mf:name "literal_with_numeric_escape8" ; - rdfs:comment "literal with numeric escape8 \\U" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_with_numeric_escape8" ; + rdfs:comment "literal with numeric escape8 \\U" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#IRIREF_datatype> rdf:type rdft:TestTurtleEval ; - mf:name "IRIREF_datatype" ; - rdfs:comment "IRIREF datatype \"\"^^" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "IRIREF_datatype" ; + rdfs:comment "IRIREF datatype \"\"^^" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#prefixed_name_datatype> rdf:type rdft:TestTurtleEval ; - mf:name "prefixed_name_datatype" ; - rdfs:comment "prefixed name datatype \"\"^^p:t" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "prefixed_name_datatype" ; + rdfs:comment "prefixed name datatype \"\"^^p:t" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#bareword_integer> rdf:type rdft:TestTurtleEval ; - mf:name "bareword_integer" ; - rdfs:comment "bareword integer" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "bareword_integer" ; + rdfs:comment "bareword integer" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#bareword_decimal> rdf:type rdft:TestTurtleEval ; - mf:name "bareword_decimal" ; - rdfs:comment "bareword decimal" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "bareword_decimal" ; + rdfs:comment "bareword decimal" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#bareword_double> rdf:type rdft:TestTurtleEval ; - mf:name "bareword_double" ; - rdfs:comment "bareword double" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "bareword_double" ; + rdfs:comment "bareword double" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#double_lower_case_e> rdf:type rdft:TestTurtleEval ; - mf:name "double_lower_case_e" ; - rdfs:comment "double lower case e" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "double_lower_case_e" ; + rdfs:comment "double lower case e" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#negative_numeric> rdf:type rdft:TestTurtleEval ; - mf:name "negative_numeric" ; - rdfs:comment "negative numeric" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "negative_numeric" ; + rdfs:comment "negative numeric" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#positive_numeric> rdf:type rdft:TestTurtleEval ; - mf:name "positive_numeric" ; - rdfs:comment "positive numeric" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "positive_numeric" ; + rdfs:comment "positive numeric" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#numeric_with_leading_0> rdf:type rdft:TestTurtleEval ; - mf:name "numeric_with_leading_0" ; - rdfs:comment "numeric with leading 0" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "numeric_with_leading_0" ; + rdfs:comment "numeric with leading 0" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_true> rdf:type rdft:TestTurtleEval ; - mf:name "literal_true" ; - rdfs:comment "literal true" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_true" ; + rdfs:comment "literal true" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#literal_false> rdf:type rdft:TestTurtleEval ; - mf:name "literal_false" ; - rdfs:comment "literal false" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "literal_false" ; + rdfs:comment "literal false" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#langtagged_non_LONG> rdf:type rdft:TestTurtleEval ; - mf:name "langtagged_non_LONG" ; - rdfs:comment "langtagged non-LONG \"x\"@en" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "langtagged_non_LONG" ; + rdfs:comment "langtagged non-LONG \"x\"@en" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#langtagged_LONG> rdf:type rdft:TestTurtleEval ; - mf:name "langtagged_LONG" ; - rdfs:comment "langtagged LONG \"\"\"x\"\"\"@en" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "langtagged_LONG" ; + rdfs:comment "langtagged LONG \"\"\"x\"\"\"@en" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#lantag_with_subtag> rdf:type rdft:TestTurtleEval ; - mf:name "lantag_with_subtag" ; - rdfs:comment "lantag with subtag \"x\"@en-us" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "lantag_with_subtag" ; + rdfs:comment "lantag with subtag \"x\"@en-us" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#objectList_with_two_objects> rdf:type rdft:TestTurtleEval ; - mf:name "objectList_with_two_objects" ; - rdfs:comment "objectList with two objects … ," ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "objectList_with_two_objects" ; + rdfs:comment "objectList with two objects … ," ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#predicateObjectList_with_two_objectLists> rdf:type rdft:TestTurtleEval ; - mf:name "predicateObjectList_with_two_objectLists" ; - rdfs:comment "predicateObjectList with two objectLists … ," ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "predicateObjectList_with_two_objectLists" ; + rdfs:comment "predicateObjectList with two objectLists … ," ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#predicateObjectList_with_blankNodePropertyList_as_object> rdf:type rdft:TestTurtleEval ; - mf:name "predicateObjectList_with_blankNodePropertyList_as_object" ; - rdfs:comment "predicateObjectList_with_blankNodePropertyList_as_object

[ ] ; [ , ] " ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "predicateObjectList_with_blankNodePropertyList_as_object" ; + rdfs:comment "predicateObjectList_with_blankNodePropertyList_as_object

[ ] ; [ , ] " ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#repeated_semis_at_end> rdf:type rdft:TestTurtleEval ; - mf:name "repeated_semis_at_end" ; - rdfs:comment "repeated semis at end

;; ." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "repeated_semis_at_end" ; + rdfs:comment "repeated semis at end

;; ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#repeated_semis_not_at_end> rdf:type rdft:TestTurtleEval ; - mf:name "repeated_semis_not_at_end" ; - rdfs:comment "repeated semis not at end

;;." ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "repeated_semis_not_at_end" ; + rdfs:comment "repeated semis not at end

;;." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . # original tests-ttl <#turtle-syntax-file-01> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-file-01" ; - rdfs:comment "Empty file" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-file-01" ; + rdfs:comment "Empty file" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-file-02> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-file-02" ; - rdfs:comment "Only comment" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-file-02" ; + rdfs:comment "Only comment" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-file-03> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-file-03" ; - rdfs:comment "One comment, one empty line" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-file-03" ; + rdfs:comment "One comment, one empty line" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-uri-01> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-uri-01" ; - rdfs:comment "Only IRIs" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-uri-01" ; + rdfs:comment "Only IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-uri-02> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-uri-02" ; - rdfs:comment "IRIs with Unicode escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-uri-02" ; + rdfs:comment "IRIs with Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-uri-03> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-uri-03" ; - rdfs:comment "IRIs with long Unicode escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-uri-03" ; + rdfs:comment "IRIs with long Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-uri-04> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-uri-04" ; - rdfs:comment "Legal IRIs" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-uri-04" ; + rdfs:comment "Legal IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-base-01> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-base-01" ; - rdfs:comment "@base" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-base-01" ; + rdfs:comment "@base" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-base-02> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-base-02" ; - rdfs:comment "BASE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-base-02" ; + rdfs:comment "BASE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-base-03> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-base-03" ; - rdfs:comment "@base with relative IRIs" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-base-03" ; + rdfs:comment "@base with relative IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-base-04> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-base-04" ; - rdfs:comment "base with relative IRIs" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-base-04" ; + rdfs:comment "base with relative IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-prefix-01> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-prefix-01" ; - rdfs:comment "@prefix" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-prefix-01" ; + rdfs:comment "@prefix" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-prefix-02> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-prefix-02" ; - rdfs:comment "PreFIX" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-prefix-02" ; + rdfs:comment "PreFIX" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-prefix-03> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-prefix-03" ; - rdfs:comment "Empty PREFIX" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-prefix-03" ; + rdfs:comment "Empty PREFIX" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-prefix-04> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-prefix-04" ; - rdfs:comment "Empty @prefix with % escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-prefix-04" ; + rdfs:comment "Empty @prefix with % escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-prefix-05> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-prefix-05" ; - rdfs:comment "@prefix with no suffix" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-prefix-05" ; + rdfs:comment "@prefix with no suffix" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-prefix-06> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-prefix-06" ; - rdfs:comment "colon is a legal pname character" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-prefix-06" ; + rdfs:comment "colon is a legal pname character" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-prefix-07> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-prefix-07" ; - rdfs:comment "dash is a legal pname character" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-prefix-07" ; + rdfs:comment "dash is a legal pname character" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-prefix-08> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-prefix-08" ; - rdfs:comment "underscore is a legal pname character" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-prefix-08" ; + rdfs:comment "underscore is a legal pname character" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-prefix-09> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-prefix-09" ; - rdfs:comment "percents in pnames" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-prefix-09" ; + rdfs:comment "percents in pnames" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-string-01> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-string-01" ; - rdfs:comment "string literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-string-01" ; + rdfs:comment "string literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-string-02> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-string-02" ; - rdfs:comment "langString literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-string-02" ; + rdfs:comment "langString literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-string-03> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-string-03" ; - rdfs:comment "langString literal with region" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-string-03" ; + rdfs:comment "langString literal with region" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-string-04> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-string-04" ; - rdfs:comment "squote string literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-string-04" ; + rdfs:comment "squote string literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-string-05> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-string-05" ; - rdfs:comment "squote langString literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-string-05" ; + rdfs:comment "squote langString literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-string-06> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-string-06" ; - rdfs:comment "squote langString literal with region" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-string-06" ; + rdfs:comment "squote langString literal with region" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-string-07> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-string-07" ; - rdfs:comment "long string literal with embedded single- and double-quotes" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-string-07" ; + rdfs:comment "long string literal with embedded single- and double-quotes" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-string-08> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-string-08" ; - rdfs:comment "long string literal with embedded newline" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-string-08" ; + rdfs:comment "long string literal with embedded newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-string-09> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-string-09" ; - rdfs:comment "squote long string literal with embedded single- and double-quotes" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-string-09" ; + rdfs:comment "squote long string literal with embedded single- and double-quotes" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-string-10> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-string-10" ; - rdfs:comment "long langString literal with embedded newline" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-string-10" ; + rdfs:comment "long langString literal with embedded newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-string-11> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-string-11" ; - rdfs:comment "squote long langString literal with embedded newline" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-string-11" ; + rdfs:comment "squote long langString literal with embedded newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-str-esc-01> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-str-esc-01" ; - rdfs:comment "string literal with escaped newline" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-str-esc-01" ; + rdfs:comment "string literal with escaped newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-str-esc-02> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-str-esc-02" ; - rdfs:comment "string literal with Unicode escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-str-esc-02" ; + rdfs:comment "string literal with Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-str-esc-03> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-str-esc-03" ; - rdfs:comment "string literal with long Unicode escape" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-str-esc-03" ; + rdfs:comment "string literal with long Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-pname-esc-01> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-pname-esc-01" ; - rdfs:comment "pname with back-slash escapes" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-pname-esc-01" ; + rdfs:comment "pname with back-slash escapes" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-pname-esc-02> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-pname-esc-02" ; - rdfs:comment "pname with back-slash escapes (2)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-pname-esc-02" ; + rdfs:comment "pname with back-slash escapes (2)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-pname-esc-03> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-pname-esc-03" ; - rdfs:comment "pname with back-slash escapes (3)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-pname-esc-03" ; + rdfs:comment "pname with back-slash escapes (3)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bnode-01> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-bnode-01" ; - rdfs:comment "bnode subject" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bnode-01" ; + rdfs:comment "bnode subject" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bnode-02> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-bnode-02" ; - rdfs:comment "bnode object" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bnode-02" ; + rdfs:comment "bnode object" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bnode-03> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-bnode-03" ; - rdfs:comment "bnode property list object" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bnode-03" ; + rdfs:comment "bnode property list object" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bnode-04> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-bnode-04" ; - rdfs:comment "bnode property list object (2)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bnode-04" ; + rdfs:comment "bnode property list object (2)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bnode-05> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-bnode-05" ; - rdfs:comment "bnode property list subject" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bnode-05" ; + rdfs:comment "bnode property list subject" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bnode-06> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-bnode-06" ; - rdfs:comment "labeled bnode subject" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bnode-06" ; + rdfs:comment "labeled bnode subject" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bnode-07> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-bnode-07" ; - rdfs:comment "labeled bnode subject and object" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bnode-07" ; + rdfs:comment "labeled bnode subject and object" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bnode-08> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-bnode-08" ; - rdfs:comment "bare bnode property list" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bnode-08" ; + rdfs:comment "bare bnode property list" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bnode-09> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-bnode-09" ; - rdfs:comment "bnode property list" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bnode-09" ; + rdfs:comment "bnode property list" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bnode-10> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-bnode-10" ; - rdfs:comment "mixed bnode property list and triple" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bnode-10" ; + rdfs:comment "mixed bnode property list and triple" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-01> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-01" ; - rdfs:comment "integer literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-01" ; + rdfs:comment "integer literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-02> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-02" ; - rdfs:comment "negative integer literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-02" ; + rdfs:comment "negative integer literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-03> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-03" ; - rdfs:comment "positive integer literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-03" ; + rdfs:comment "positive integer literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-04> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-04" ; - rdfs:comment "decimal literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-04" ; + rdfs:comment "decimal literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-05> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-05" ; - rdfs:comment "decimal literal (no leading digits)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-05" ; + rdfs:comment "decimal literal (no leading digits)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-06> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-06" ; - rdfs:comment "negative decimal literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-06" ; + rdfs:comment "negative decimal literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-07> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-07" ; - rdfs:comment "positive decimal literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-07" ; + rdfs:comment "positive decimal literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-08> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-08" ; - rdfs:comment "integer literal with decimal lexical confusion" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-08" ; + rdfs:comment "integer literal with decimal lexical confusion" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-09> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-09" ; - rdfs:comment "double literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-09" ; + rdfs:comment "double literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-10> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-10" ; - rdfs:comment "negative double literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-10" ; + rdfs:comment "negative double literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-11> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-11" ; - rdfs:comment "double literal no fraction" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-11" ; + rdfs:comment "double literal no fraction" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-12> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-12" ; - rdfs:comment "double literal no leading zero" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-12" ; + rdfs:comment "double literal no leading zero" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-number-13> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-number-13" ; - rdfs:comment "decimal literal no leading zero" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-number-13" ; + rdfs:comment "decimal literal no leading zero" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-datatypes-01> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-datatypes-01" ; - rdfs:comment "xsd:byte literal" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-datatypes-01" ; + rdfs:comment "xsd:byte literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-datatypes-02> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-datatypes-02" ; - rdfs:comment "integer as xsd:string" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-datatypes-02" ; + rdfs:comment "integer as xsd:string" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-kw-01> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-kw-01" ; - rdfs:comment "boolean literal (true)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-kw-01" ; + rdfs:comment "boolean literal (true)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-kw-02> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-kw-02" ; - rdfs:comment "boolean literal (false)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-kw-02" ; + rdfs:comment "boolean literal (false)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-kw-03> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-kw-03" ; - rdfs:comment "'a' as keyword" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-kw-03" ; + rdfs:comment "'a' as keyword" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-struct-01> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-struct-01" ; - rdfs:comment "object list" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-struct-01" ; + rdfs:comment "object list" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-struct-02> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-struct-02" ; - rdfs:comment "predicate list with object list" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-struct-02" ; + rdfs:comment "predicate list with object list" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-struct-03> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-struct-03" ; - rdfs:comment "predicate list with object list and dangling ';'" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-struct-03" ; + rdfs:comment "predicate list with object list and dangling ';'" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-struct-04> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-struct-04" ; - rdfs:comment "predicate list with multiple ;;" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-struct-04" ; + rdfs:comment "predicate list with multiple ;;" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-struct-05> rdf:type rdft:TestTurtlePositiveSyntax ; - mf:name "turtle-syntax-struct-05" ; - rdfs:comment "predicate list with multiple ;;" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-struct-05" ; + rdfs:comment "predicate list with multiple ;;" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-eval-lists-01> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-eval-lists-01" ; - rdfs:comment "empty list" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-eval-lists-01" ; + rdfs:comment "empty list" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-eval-lists-02> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-eval-lists-02" ; - rdfs:comment "mixed list" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-eval-lists-02" ; + rdfs:comment "mixed list" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-eval-lists-03> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-eval-lists-03" ; - rdfs:comment "isomorphic list as subject and object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-eval-lists-03" ; + rdfs:comment "isomorphic list as subject and object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-eval-lists-04> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-eval-lists-04" ; - rdfs:comment "lists of lists" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-eval-lists-04" ; + rdfs:comment "lists of lists" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-eval-lists-05> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-eval-lists-05" ; - rdfs:comment "mixed lists with embedded lists" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-eval-lists-05" ; + rdfs:comment "mixed lists with embedded lists" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-eval-lists-06> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-eval-lists-06" ; - rdfs:comment "list containing blank node with abbreviated term" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-eval-lists-06" ; + rdfs:comment "list containing blank node with abbreviated term" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-syntax-bad-uri-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-uri-01" ; - rdfs:comment "Bad IRI : space (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-uri-01" ; + rdfs:comment "Bad IRI : space (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-uri-02> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-uri-02" ; - rdfs:comment "Bad IRI : bad escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-uri-02" ; + rdfs:comment "Bad IRI : bad escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-uri-03> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-uri-03" ; - rdfs:comment "Bad IRI : bad long escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-uri-03" ; + rdfs:comment "Bad IRI : bad long escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-uri-04> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-uri-04" ; - rdfs:comment "Bad IRI : character escapes not allowed (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-uri-04" ; + rdfs:comment "Bad IRI : character escapes not allowed (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-uri-05> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-uri-05" ; - rdfs:comment "Bad IRI : character escapes not allowed (2) (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-uri-05" ; + rdfs:comment "Bad IRI : character escapes not allowed (2) (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-uri-escape-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-escape-01" ; + rdfs:comment "Bad IRI : good escape, bad character (negative evaluation test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-uri-escape-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-escape-02" ; + rdfs:comment "Bad IRI : hex 3C is < (negative evaluation test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-uri-escape-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-escape-03" ; + rdfs:comment "Bad IRI : hex 3E is (negative evaluation test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-uri-escape-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-escape-04" ; + rdfs:comment "Bad IRI : {abc} (negative evaluation test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-prefix-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-prefix-01" ; - rdfs:comment "No prefix (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-prefix-01" ; + rdfs:comment "No prefix (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-prefix-02> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-prefix-02" ; - rdfs:comment "No prefix (2) (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-prefix-02" ; + rdfs:comment "No prefix (2) (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-prefix-03> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-prefix-03" ; - rdfs:comment "@prefix without URI (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-prefix-03" ; + rdfs:comment "@prefix without URI (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-prefix-04> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-prefix-04" ; - rdfs:comment "@prefix without prefix name (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-prefix-04" ; + rdfs:comment "@prefix without prefix name (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-prefix-05> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-prefix-05" ; - rdfs:comment "@prefix without ':' (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-prefix-05" ; + rdfs:comment "@prefix without ':' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-base-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-base-01" ; - rdfs:comment "@base without URI (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-base-01" ; + rdfs:comment "@base without URI (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-base-02> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-base-02" ; - rdfs:comment "@base in wrong case (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-base-02" ; + rdfs:comment "@base in wrong case (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-base-03> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-base-03" ; - rdfs:comment "BASE without URI (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-base-03" ; + rdfs:comment "BASE without URI (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-bnode-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-bnode-01" ; - rdfs:comment "Colon in bnode label not allowed (negative test)" ; - mf:action ; - . + mf:name "turtle-syntax-bad-bnode-01" ; + rdfs:comment "Colon in bnode label not allowed (negative test)" ; + mf:action ; + . <#turtle-syntax-bad-bnode-02> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-bnode-02" ; - rdfs:comment "Colon in bnode label not allowed (negative test)" ; - mf:action ; - . + mf:name "turtle-syntax-bad-bnode-02" ; + rdfs:comment "Colon in bnode label not allowed (negative test)" ; + mf:action ; + . <#turtle-syntax-bad-struct-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-01" ; - rdfs:comment "Turtle is not TriG (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-01" ; + rdfs:comment "Turtle is not TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-02> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-02" ; - rdfs:comment "Turtle is not N3 (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-02" ; + rdfs:comment "Turtle is not N3 (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-03> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-03" ; - rdfs:comment "Turtle is not NQuads (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-03" ; + rdfs:comment "Turtle is not NQuads (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-04> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-04" ; - rdfs:comment "Turtle does not allow literals-as-subjects (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-04" ; + rdfs:comment "Turtle does not allow literals-as-subjects (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-05> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-05" ; - rdfs:comment "Turtle does not allow literals-as-predicates (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-05" ; + rdfs:comment "Turtle does not allow literals-as-predicates (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-06> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-06" ; - rdfs:comment "Turtle does not allow bnodes-as-predicates (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-06" ; + rdfs:comment "Turtle does not allow bnodes-as-predicates (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-07> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-07" ; - rdfs:comment "Turtle does not allow labeled bnodes-as-predicates (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-07" ; + rdfs:comment "Turtle does not allow labeled bnodes-as-predicates (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-kw-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-kw-01" ; - rdfs:comment "'A' is not a keyword (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-kw-01" ; + rdfs:comment "'A' is not a keyword (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-kw-02> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-kw-02" ; - rdfs:comment "'a' cannot be used as subject (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-kw-02" ; + rdfs:comment "'a' cannot be used as subject (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-kw-03> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-kw-03" ; - rdfs:comment "'a' cannot be used as object (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-kw-03" ; + rdfs:comment "'a' cannot be used as object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-kw-04> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-kw-04" ; - rdfs:comment "'true' cannot be used as subject (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-kw-04" ; + rdfs:comment "'true' cannot be used as subject (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-kw-05> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-kw-05" ; - rdfs:comment "'true' cannot be used as object (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-kw-05" ; + rdfs:comment "'true' cannot be used as object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-01" ; - rdfs:comment "{} fomulae not in Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-01" ; + rdfs:comment "{} fomulae not in Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-02> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-02" ; - rdfs:comment "= is not Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-02" ; + rdfs:comment "= is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-03> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-03" ; - rdfs:comment "N3 paths not in Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-03" ; + rdfs:comment "N3 paths not in Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-04> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-04" ; - rdfs:comment "N3 paths not in Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-04" ; + rdfs:comment "N3 paths not in Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-05> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-05" ; - rdfs:comment "N3 is...of not in Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-05" ; + rdfs:comment "N3 is...of not in Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-06> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-06" ; - rdfs:comment "N3 paths not in Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-06" ; + rdfs:comment "N3 paths not in Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-07> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-07" ; - rdfs:comment "@keywords is not Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-07" ; + rdfs:comment "@keywords is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-08> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-08" ; - rdfs:comment "@keywords is not Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-08" ; + rdfs:comment "@keywords is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-09> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-09" ; - rdfs:comment "=> is not Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-09" ; + rdfs:comment "=> is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-10> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-10" ; - rdfs:comment "<= is not Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-10" ; + rdfs:comment "<= is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-11> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-11" ; - rdfs:comment "@forSome is not Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-11" ; + rdfs:comment "@forSome is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-12> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-12" ; - rdfs:comment "@forAll is not Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-12" ; + rdfs:comment "@forAll is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-n3-extras-13> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-n3-extras-13" ; - rdfs:comment "@keywords is not Turtle (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-n3-extras-13" ; + rdfs:comment "@keywords is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-numeric-escape-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-numeric-escape-01" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-numeric-escape-01" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-numeric-escape-02> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-numeric-escape-02" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-numeric-escape-02" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-numeric-escape-03> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-numeric-escape-03" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_SINGLE_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-numeric-escape-03" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_SINGLE_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-numeric-escape-04> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-numeric-escape-04" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_SINGLE_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-numeric-escape-04" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_SINGLE_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-numeric-escape-05> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-numeric-escape-05" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_SINGLE_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-numeric-escape-05" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_SINGLE_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-numeric-escape-06> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-numeric-escape-06" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_SINGLE_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-numeric-escape-06" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_SINGLE_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-numeric-escape-07> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-numeric-escape-07" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-numeric-escape-07" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-numeric-escape-08> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-numeric-escape-08" ; - rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_QUOTE" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-numeric-escape-08" ; + rdfs:comment "Surrogates not allowed in STRING_LITERAL_LONG_QUOTE" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-numeric-escape-09> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-numeric-escape-09" ; - rdfs:comment "Surrogates not allowed in IRIREF" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-numeric-escape-09" ; + rdfs:comment "Surrogates not allowed in IRIREF" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-numeric-escape-10> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-numeric-escape-10" ; - rdfs:comment "Surrogates not allowed in IRIREF" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-numeric-escape-10" ; + rdfs:comment "Surrogates not allowed in IRIREF" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-08> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-08" ; - rdfs:comment "missing '.' (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-08" ; + rdfs:comment "missing '.' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-09> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-09" ; - rdfs:comment "extra '.' (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-09" ; + rdfs:comment "extra '.' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-10> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-10" ; - rdfs:comment "extra '.' (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-10" ; + rdfs:comment "extra '.' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-11> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-11" ; - rdfs:comment "trailing ';' no '.' (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-11" ; + rdfs:comment "trailing ';' no '.' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-12> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-12" ; - rdfs:comment "subject, predicate, no object (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-12" ; + rdfs:comment "subject, predicate, no object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-13> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-13" ; - rdfs:comment "subject, predicate, no object (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-13" ; + rdfs:comment "subject, predicate, no object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-14> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-14" ; - rdfs:comment "literal as subject (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-14" ; + rdfs:comment "literal as subject (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-15> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-15" ; - rdfs:comment "literal as predicate (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-15" ; + rdfs:comment "literal as predicate (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-16> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-16" ; - rdfs:comment "bnode as predicate (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-16" ; + rdfs:comment "bnode as predicate (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-struct-17> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-struct-17" ; - rdfs:comment "labeled bnode as predicate (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-struct-17" ; + rdfs:comment "labeled bnode as predicate (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-lang-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-lang-01" ; - rdfs:comment "langString with bad lang (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-lang-01" ; + rdfs:comment "langString with bad lang (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-esc-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-esc-01" ; - rdfs:comment "Bad string escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-esc-01" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-esc-02> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-esc-02" ; - rdfs:comment "Bad string escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-esc-02" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-esc-03> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-esc-03" ; - rdfs:comment "Bad string escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-esc-03" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-esc-04> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-esc-04" ; - rdfs:comment "Bad string escape (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-esc-04" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-pname-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-pname-01" ; - rdfs:comment "'~' must be escaped in pname (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-pname-01" ; + rdfs:comment "'~' must be escaped in pname (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-pname-02> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-pname-02" ; - rdfs:comment "Bad %-sequence in pname (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-pname-02" ; + rdfs:comment "Bad %-sequence in pname (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-pname-03> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-pname-03" ; - rdfs:comment "Bad unicode escape in pname (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-pname-03" ; + rdfs:comment "Bad unicode escape in pname (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-string-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-string-01" ; - rdfs:comment "mismatching string literal open/close (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-string-01" ; + rdfs:comment "mismatching string literal open/close (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-string-02> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-string-02" ; - rdfs:comment "mismatching string literal open/close (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-string-02" ; + rdfs:comment "mismatching string literal open/close (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-string-03> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-string-03" ; - rdfs:comment "mismatching string literal long/short (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-string-03" ; + rdfs:comment "mismatching string literal long/short (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-string-04> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-string-04" ; - rdfs:comment "mismatching long string literal open/close (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-string-04" ; + rdfs:comment "mismatching long string literal open/close (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-string-05> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-string-05" ; - rdfs:comment "Long literal with missing end (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-string-05" ; + rdfs:comment "Long literal with missing end (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-string-06> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-string-06" ; - rdfs:comment "Long literal with extra quote (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-string-06" ; + rdfs:comment "Long literal with extra quote (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-string-07> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-string-07" ; - rdfs:comment "Long literal with extra squote (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-string-07" ; + rdfs:comment "Long literal with extra squote (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-num-01> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-num-01" ; - rdfs:comment "Bad number format (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-num-01" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-num-02> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-num-02" ; - rdfs:comment "Bad number format (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-num-02" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-num-03> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-num-03" ; - rdfs:comment "Bad number format (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-num-03" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-num-04> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-num-04" ; - rdfs:comment "Bad number format (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-num-04" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-num-05> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-num-05" ; - rdfs:comment "Bad number format (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-num-05" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-eval-struct-01> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-eval-struct-01" ; - rdfs:comment "triple with IRIs" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-eval-struct-01" ; + rdfs:comment "triple with IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-eval-struct-02> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-eval-struct-02" ; - rdfs:comment "triple with IRIs and embedded whitespace" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-eval-struct-02" ; + rdfs:comment "triple with IRIs and embedded whitespace" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-01> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-01" ; - rdfs:comment "Blank subject" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-01" ; + rdfs:comment "Blank subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-02> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-02" ; - rdfs:comment "@prefix and qnames" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-02" ; + rdfs:comment "@prefix and qnames" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-03> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-03" ; - rdfs:comment ", operator" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-03" ; + rdfs:comment ", operator" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-04> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-04" ; - rdfs:comment "; operator" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-04" ; + rdfs:comment "; operator" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-05> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-05" ; - rdfs:comment "empty [] as subject and object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-05" ; + rdfs:comment "empty [] as subject and object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-06> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-06" ; - rdfs:comment "non-empty [] as subject and object" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-06" ; + rdfs:comment "non-empty [] as subject and object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-07> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-07" ; - rdfs:comment "'a' as predicate" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-07" ; + rdfs:comment "'a' as predicate" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-08> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-08" ; - rdfs:comment "simple collection" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-08" ; + rdfs:comment "simple collection" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-09> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-09" ; - rdfs:comment "empty collection" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-09" ; + rdfs:comment "empty collection" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-10> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-10" ; - rdfs:comment "integer datatyped literal" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-10" ; + rdfs:comment "integer datatyped literal" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-11> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-11" ; - rdfs:comment "decimal integer canonicalization" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-11" ; + rdfs:comment "decimal integer canonicalization" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-12> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-12" ; - rdfs:comment "- and _ in names and qnames" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-12" ; + rdfs:comment "- and _ in names and qnames" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-13> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-13" ; - rdfs:comment "tests for rdf:_ and other qnames starting with _" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-13" ; + rdfs:comment "tests for rdf:_ and other qnames starting with _" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-14> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-14" ; - rdfs:comment "bare : allowed" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-14" ; + rdfs:comment "bare : allowed" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-15> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-15" ; - rdfs:comment "simple long literal" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-15" ; + rdfs:comment "simple long literal" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-16> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-16" ; - rdfs:comment "long literals with escapes" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-16" ; + rdfs:comment "long literals with escapes" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-17> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-17" ; - rdfs:comment "floating point number" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-17" ; + rdfs:comment "floating point number" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-18> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-18" ; - rdfs:comment "empty literals, normal and long variant" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-18" ; + rdfs:comment "empty literals, normal and long variant" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-19> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-19" ; - rdfs:comment "positive integer, decimal and doubles" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-19" ; + rdfs:comment "positive integer, decimal and doubles" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-20> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-20" ; - rdfs:comment "negative integer, decimal and doubles" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-20" ; + rdfs:comment "negative integer, decimal and doubles" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-21> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-21" ; - rdfs:comment "long literal ending in double quote" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-21" ; + rdfs:comment "long literal ending in double quote" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-22> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-22" ; - rdfs:comment "boolean literals" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-22" ; + rdfs:comment "boolean literals" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-23> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-23" ; - rdfs:comment "comments" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-23" ; + rdfs:comment "comments" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-24> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-24" ; - rdfs:comment "no final mewline" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-24" ; + rdfs:comment "no final mewline" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-25> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-25" ; - rdfs:comment "repeating a @prefix changes pname definition" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-25" ; + rdfs:comment "repeating a @prefix changes pname definition" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-26> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-26" ; - rdfs:comment "Variations on decimal canonicalization" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "turtle-subm-26" ; + rdfs:comment "Variations on decimal canonicalization" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-subm-27> rdf:type rdft:TestTurtleEval ; - mf:name "turtle-subm-27" ; - rdfs:comment "Repeating @base changes base for relative IRI lookup" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . - -<#turtle-eval-bad-01> rdf:type rdft:TestTurtleNegativeEval ; - mf:name "turtle-eval-bad-01" ; - rdfs:comment "Bad IRI : good escape, bad charcater (negative evaluation test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . - -<#turtle-eval-bad-02> rdf:type rdft:TestTurtleNegativeEval ; - mf:name "turtle-eval-bad-02" ; - rdfs:comment "Bad IRI : hex 3C is < (negative evaluation test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . - -<#turtle-eval-bad-03> rdf:type rdft:TestTurtleNegativeEval ; - mf:name "turtle-eval-bad-03" ; - rdfs:comment "Bad IRI : hex 3E is (negative evaluation test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . - -<#turtle-eval-bad-04> rdf:type rdft:TestTurtleNegativeEval ; - mf:name "turtle-eval-bad-04" ; - rdfs:comment "Bad IRI : {abc} (negative evaluation test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-subm-27" ; + rdfs:comment "Repeating @base changes base for relative IRI lookup" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . # tests requested by Jeremy Carroll # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c35 <#comment_following_localName> rdf:type rdft:TestTurtleEval ; - mf:name "comment_following_localName" ; - rdfs:comment "comment following localName" ; - rdft:approval rdft:Proposed ; - mf:action ; - mf:result ; - . + mf:name "comment_following_localName" ; + rdfs:comment "comment following localName" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . <#number_sign_following_localName> rdf:type rdft:TestTurtleEval ; - mf:name "number_sign_following_localName" ; - rdfs:comment "number sign following localName" ; - rdft:approval rdft:Proposed ; - mf:action ; - mf:result ; - . + mf:name "number_sign_following_localName" ; + rdfs:comment "number sign following localName" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . <#comment_following_PNAME_NS> rdf:type rdft:TestTurtleEval ; - mf:name "comment_following_PNAME_NS" ; - rdfs:comment "comment following PNAME_NS" ; - rdft:approval rdft:Proposed ; - mf:action ; - mf:result ; - . + mf:name "comment_following_PNAME_NS" ; + rdfs:comment "comment following PNAME_NS" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . <#number_sign_following_PNAME_NS> rdf:type rdft:TestTurtleEval ; - mf:name "number_sign_following_PNAME_NS" ; - rdfs:comment "number sign following PNAME_NS" ; - rdft:approval rdft:Proposed ; - mf:action ; - mf:result ; - . + mf:name "number_sign_following_PNAME_NS" ; + rdfs:comment "number sign following PNAME_NS" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . # tests from Dave Beckett # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c28 <#LITERAL_LONG2_with_REVERSE_SOLIDUS> rdf:type rdft:TestTurtleEval ; - mf:name "LITERAL_LONG2_with_REVERSE_SOLIDUS" ; - rdfs:comment "REVERSE SOLIDUS at end of LITERAL_LONG2" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "LITERAL_LONG2_with_REVERSE_SOLIDUS" ; + rdfs:comment "REVERSE SOLIDUS at end of LITERAL_LONG2" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#turtle-syntax-bad-LITERAL2_with_langtag_and_datatype> rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "turtle-syntax-bad-num-05" ; - rdfs:comment "Bad number format (negative test)" ; - rdft:approval rdft:Approved ; - mf:action ; - . + mf:name "turtle-syntax-bad-num-05" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#two_LITERAL_LONG2s> rdf:type rdft:TestTurtleEval ; - mf:name "two_LITERAL_LONG2s" ; - rdfs:comment "two LITERAL_LONG2s testing quote delimiter overrun" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "two_LITERAL_LONG2s" ; + rdfs:comment "two LITERAL_LONG2s testing quote delimiter overrun" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . <#langtagged_LONG_with_subtag> rdf:type rdft:TestTurtleEval ; - mf:name "langtagged_LONG_with_subtag" ; - rdfs:comment "langtagged LONG with subtag \"\"\"Cheers\"\"\"@en-UK" ; - rdft:approval rdft:Approved ; - mf:action ; - mf:result ; - . + mf:name "langtagged_LONG_with_subtag" ; + rdfs:comment "langtagged LONG with subtag \"\"\"Cheers\"\"\"@en-UK" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . # tests from David Robillard # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c21 <#turtle-syntax-bad-blank-label-dot-end> - rdf:type rdft:TestTurtleNegativeSyntax ; - rdfs:comment "Blank node label must not end in dot" ; - mf:name "turtle-syntax-bad-blank-label-dot-end" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Blank node label must not end in dot" ; + mf:name "turtle-syntax-bad-blank-label-dot-end" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-number-dot-in-anon> - rdf:type rdft:TestTurtleNegativeSyntax ; - rdfs:comment "Dot delimeter may not appear in anonymous nodes" ; - mf:name "turtle-syntax-bad-number-dot-in-anon" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Dot delimeter may not appear in anonymous nodes" ; + mf:name "turtle-syntax-bad-number-dot-in-anon" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-ln-dash-start> - rdf:type rdft:TestTurtleNegativeSyntax ; - rdfs:comment "Local name must not begin with dash" ; - mf:name "turtle-syntax-bad-ln-dash-start" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Local name must not begin with dash" ; + mf:name "turtle-syntax-bad-ln-dash-start" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-ln-escape> - rdf:type rdft:TestTurtleNegativeSyntax ; - rdfs:comment "Bad hex escape in local name" ; - mf:name "turtle-syntax-bad-ln-escape" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Bad hex escape in local name" ; + mf:name "turtle-syntax-bad-ln-escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-ln-escape-start> - rdf:type rdft:TestTurtleNegativeSyntax ; - rdfs:comment "Bad hex escape at start of local name" ; - mf:name "turtle-syntax-bad-ln-escape-start" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Bad hex escape at start of local name" ; + mf:name "turtle-syntax-bad-ln-escape-start" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-ns-dot-end> - rdf:type rdft:TestTurtleNegativeSyntax ; - rdfs:comment "Prefix must not end in dot" ; - mf:name "turtle-syntax-bad-ns-dot-end" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Prefix must not end in dot" ; + mf:name "turtle-syntax-bad-ns-dot-end" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-ns-dot-start> - rdf:type rdft:TestTurtleNegativeSyntax ; - rdfs:comment "Prefix must not start with dot" ; - mf:name "turtle-syntax-bad-ns-dot-start" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Prefix must not start with dot" ; + mf:name "turtle-syntax-bad-ns-dot-start" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-missing-ns-dot-end> - rdf:type rdft:TestTurtleNegativeSyntax ; - rdfs:comment "Prefix must not end in dot (error in triple, not prefix directive like turtle-syntax-bad-ns-dot-end)" ; - mf:name "turtle-syntax-bad-missing-ns-dot-end" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Prefix must not end in dot (error in triple, not prefix directive like turtle-syntax-bad-ns-dot-end)" ; + mf:name "turtle-syntax-bad-missing-ns-dot-end" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-bad-missing-ns-dot-start> - rdf:type rdft:TestTurtleNegativeSyntax ; - rdfs:comment "Prefix must not start with dot (error in triple, not prefix directive like turtle-syntax-bad-ns-dot-end)" ; - mf:name "turtle-syntax-bad-missing-ns-dot-start" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Prefix must not start with dot (error in triple, not prefix directive like turtle-syntax-bad-ns-dot-end)" ; + mf:name "turtle-syntax-bad-missing-ns-dot-start" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-ln-dots> - rdf:type rdft:TestTurtlePositiveSyntax ; - rdfs:comment "Dots in pname local names" ; - mf:name "turtle-syntax-ln-dots" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtlePositiveSyntax ; + rdfs:comment "Dots in pname local names" ; + mf:name "turtle-syntax-ln-dots" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-ln-colons> - rdf:type rdft:TestTurtlePositiveSyntax ; - rdfs:comment "Colons in pname local names" ; - mf:name "turtle-syntax-ln-colons" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtlePositiveSyntax ; + rdfs:comment "Colons in pname local names" ; + mf:name "turtle-syntax-ln-colons" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-ns-dots> - rdf:type rdft:TestTurtlePositiveSyntax ; - rdfs:comment "Dots in namespace names" ; - mf:name "turtle-syntax-ns-dots" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtlePositiveSyntax ; + rdfs:comment "Dots in namespace names" ; + mf:name "turtle-syntax-ns-dots" ; + rdft:approval rdft:Approved ; + mf:action ; + . <#turtle-syntax-blank-label> - rdf:type rdft:TestTurtlePositiveSyntax ; - rdfs:comment "Characters allowed in blank node labels" ; - mf:name "turtle-syntax-blank-label" ; - rdft:approval rdft:Approved ; - mf:action . + rdf:type rdft:TestTurtlePositiveSyntax ; + rdfs:comment "Characters allowed in blank node labels" ; + mf:name "turtle-syntax-blank-label" ; + rdft:approval rdft:Approved ; + mf:action ; + . # IRI resolution tests <#IRI-resolution-01> - rdf:type rdft:TestTurtleEval ; - rdfs:comment "IRI resolution (RFC3986 original cases)" ; - mf:name "IRI-resolution-01" ; - rdft:approval rdft:Proposed ; - mf:action ; - mf:result . + rdf:type rdft:TestTurtleEval ; + rdfs:comment "IRI resolution (RFC3986 original cases)" ; + mf:name "IRI-resolution-01" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . <#IRI-resolution-02> - rdf:type rdft:TestTurtleEval ; - rdfs:comment "IRI resolution (RFC3986 using base IRI with trailing slash)" ; - mf:name "IRI-resolution-02" ; - rdft:approval rdft:Proposed ; - mf:action ; - mf:result . + rdf:type rdft:TestTurtleEval ; + rdfs:comment "IRI resolution (RFC3986 using base IRI with trailing slash)" ; + mf:name "IRI-resolution-02" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . <#IRI-resolution-07> - rdf:type rdft:TestTurtleEval ; - rdfs:comment "IRI resolution (RFC3986 using base IRI with file path)" ; - mf:name "IRI-resolution-07" ; - rdft:approval rdft:Proposed ; - mf:action ; - mf:result . + rdf:type rdft:TestTurtleEval ; + rdfs:comment "IRI resolution (RFC3986 using base IRI with file path)" ; + mf:name "IRI-resolution-07" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . <#IRI-resolution-08> - rdf:type rdft:TestTurtleEval ; - rdfs:comment "IRI resolution (miscellaneous cases)" ; - mf:name "IRI-resolution-08" ; - rdft:approval rdft:Proposed ; - mf:action ; - mf:result . + rdf:type rdft:TestTurtleEval ; + rdfs:comment "IRI resolution (miscellaneous cases)" ; + mf:name "IRI-resolution-08" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-eval-bad-01.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-syntax-bad-uri-escape-01.ttl similarity index 76% rename from jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-eval-bad-01.ttl rename to jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-syntax-bad-uri-escape-01.ttl index c9c458e840f..5f01a591738 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-eval-bad-01.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-syntax-bad-uri-escape-01.ttl @@ -1,2 +1,2 @@ -# Bad IRI : good escape, bad charcater +# Bad IRI : good escape, bad character . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-eval-bad-02.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-syntax-bad-uri-escape-02.ttl similarity index 100% rename from jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-eval-bad-02.ttl rename to jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-syntax-bad-uri-escape-02.ttl diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-eval-bad-03.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-syntax-bad-uri-escape-03.ttl similarity index 100% rename from jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-eval-bad-03.ttl rename to jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-syntax-bad-uri-escape-03.ttl diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-eval-bad-04.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-syntax-bad-uri-escape-04.ttl similarity index 100% rename from jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-eval-bad-04.ttl rename to jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-turtle/turtle-syntax-bad-uri-escape-04.ttl diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-xml/xml-canon/test001.nt b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-xml/xml-canon/test001.nt index 552de0fed7d..6df3605925d 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-xml/xml-canon/test001.nt +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-xml/xml-canon/test001.nt @@ -13,4 +13,4 @@ # $Id: test001.nt,v 1.1 2003/08/18 10:09:29 jgrant Exp $ # ##################################################################### - "

"^^ . + "

"^^ . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-xml/xml-canon/test002.nt b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-xml/xml-canon/test002.nt index 26dc982c771..f272f8e5a75 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-xml/xml-canon/test002.nt +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf11/rdf-xml/xml-canon/test002.nt @@ -11,8 +11,8 @@ # Canonicalization of XMLLiterals with reification. # ##################################################################### - "

"^^ . + "

"^^ . . . - "

"^^ . + "

"^^ . . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-n-quads/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-n-quads/manifest.ttl index c7739891750..499778b1497 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-n-quads/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-n-quads/manifest.ttl @@ -34,4 +34,3 @@ trs:manifest rdf:type mf:Manifest ; <../../rdf11/rdf-n-quads/manifest.ttl> ) . - diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-n-triples/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-n-triples/manifest.ttl index 67a7bf43c7f..a0c9bf45844 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-n-triples/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-n-triples/manifest.ttl @@ -34,4 +34,3 @@ trs:manifest rdf:type mf:Manifest ; <../../rdf11/rdf-n-triples/manifest.ttl> ) . - diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/README.md b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/README.md index 94fe7168532..2c1aeda29b6 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/README.md +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/README.md @@ -2,7 +2,6 @@ This README is for the W3C RDF & SPARQL Working Group's TrigG test suite. This test suite contains three kinds of tests: * Positive evaluation (`rdft:TestTrigEval`) — a pair of an input TriG file and referenced N-Quads file.. -* Positive evaluation (`rdft:TestTrigNegativeEval`) — a pair of an input TriG file and referenced N-Quads file.. * Positive syntax (`rdft:TestTriGPositiveSyntax`) — an input TriG file with no syntax errors. * Negative syntax (`rdft:TestTriGNegativeSyntax`) — an input TriG file with at least one syntax error. diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/eval/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/eval/manifest.ttl index 6c56f38b407..dd61839e2a9 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/eval/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/eval/manifest.ttl @@ -48,6 +48,7 @@ trs:manifest rdf:type mf:Manifest ; trs:trig12-annotation-10 trs:trig12-annotation-11 trs:trig12-annotation-12 + trs:trig12-annotation-13 trs:trig12-reified-triples-annotation-01 trs:trig12-reified-triples-annotation-02 trs:trig12-reified-triples-annotation-03 @@ -185,18 +186,24 @@ trs:trig12-annotation-12 rdf:type rdft:TestTrigEval ; mf:result ; . +trs:trig12-annotation-13 rdf:type rdft:TestTrigEval ; + mf:name "TriG 1.2 - Annotation form with IRI reifier" ; + mf:action ; + mf:result ; + . + trs:trig12-reified-triples-annotation-01 rdf:type rdft:TestTrigEval ; mf:name "TriG 1.2 - Annotation with reified triples" ; mf:action ; mf:result ; . - + trs:trig12-reified-triples-annotation-02 rdf:type rdft:TestTrigEval ; mf:name "TriG 1.2 - Annotation on triple with reified triple subject" ; mf:action ; mf:result ; . - + trs:trig12-reified-triples-annotation-03 rdf:type rdft:TestTrigEval ; mf:name "TriG 1.2 - Annotation on triple with reified triple object" ; mf:action ; diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/eval/trig12-eval-annotation-13.nq b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/eval/trig12-eval-annotation-13.nq new file mode 100644 index 00000000000..46554da81fd --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/eval/trig12-eval-annotation-13.nq @@ -0,0 +1,2 @@ + . + <<( )>> . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/eval/trig12-eval-annotation-13.trig b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/eval/trig12-eval-annotation-13.trig new file mode 100644 index 00000000000..d417925db5a --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/eval/trig12-eval-annotation-13.trig @@ -0,0 +1,3 @@ +PREFIX : + +:s :p :o ~ . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/manifest.ttl index ed9aff6479e..7a97f55e152 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-trig/manifest.ttl @@ -34,4 +34,3 @@ trs:manifest rdf:type mf:Manifest ; <../../rdf11/rdf-trig/manifest.ttl> ) . - diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/README.md b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/README.md index c0c7ae0d5d5..01b42acb753 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/README.md +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/README.md @@ -2,9 +2,8 @@ This README is for the W3C RDF & SPARQL Working Group's Turtle test suite. This test suite contains three kinds of tests: * Positive evaluation (`rdft:TestTurtleEval`) — a pair of an input Turtle file and referenced N-Quads file.. -* Positive evaluation (`rdft:TestTurtleNegativeEval`) — a pair of an input Turtle file and referenced N-Quads file.. * Positive syntax (`rdft:TestTurtlePositiveSyntax`) — an input Turtle file with no syntax errors. -* Negative syntax (`rdft:TestTurtleNegatitveSyntax`) — an input Turtle file with at least one syntax error. +* Negative syntax (`rdft:TestTurtleNegativeSyntax`) — an input Turtle file with at least one syntax error. The `manifest.ttl` files in this directory lists tests in the RDF-star WG's Turtle test suite. All tests have a name (`mf:name`) and an input (`mf:action`). diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/manifest.ttl index 44d125aca9c..f4878720f73 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/manifest.ttl @@ -34,12 +34,14 @@ trs:manifest rdf:type mf:Manifest ; trs:turtle12-rt-06 trs:turtle12-rt-07 trs:turtle12-rt-08 + trs:turtle12-rt-09 trs:turtle12-bnode-01 trs:turtle12-bnode-02 trs:turtle12-tt-01 trs:turtle12-tt-02 trs:turtle12-tt-03 trs:turtle12-tt-04 + trs:turtle12-tt-05 trs:turtle12-annotation-01 trs:turtle12-annotation-02 trs:turtle12-annotation-03 @@ -52,6 +54,7 @@ trs:manifest rdf:type mf:Manifest ; trs:turtle12-annotation-10 trs:turtle12-annotation-11 trs:turtle12-annotation-12 + trs:turtle12-annotation-13 trs:turtle12-reified-triples-annotation-01 trs:turtle12-reified-triples-annotation-02 trs:turtle12-reified-triples-annotation-03 @@ -105,6 +108,12 @@ trs:turtle12-rt-08 rdf:type rdft:TestTurtleEval ; mf:result ; . +trs:turtle12-rt-09 rdf:type rdft:TestTurtleEval ; + mf:name "Turtle 1.2 - literals in object position" ; + mf:action ; + mf:result ; + . + trs:turtle12-bnode-01 rdf:type rdft:TestTurtleEval ; mf:name "Turtle 1.2 - blank node label" ; mf:action ; @@ -141,6 +150,12 @@ trs:turtle12-tt-04 rdf:type rdft:TestTurtleEval ; mf:result ; . +trs:turtle12-tt-05 rdf:type rdft:TestTurtleEval ; + mf:name "Turtle 1.2 - literals in object position" ; + mf:action ; + mf:result ; + . + trs:turtle12-annotation-01 rdf:type rdft:TestTurtleEval ; mf:name "Turtle 1.2 - Annotation form" ; mf:action ; @@ -213,21 +228,26 @@ trs:turtle12-annotation-12 rdf:type rdft:TestTurtleEval ; mf:result ; . +trs:turtle12-annotation-13 rdf:type rdft:TestTurtleEval ; + mf:name "Turtle 1.2 - Annotation form with IRI refier" ; + mf:action ; + mf:result ; + . + trs:turtle12-reified-triples-annotation-01 rdf:type rdft:TestTurtleEval ; mf:name "Turtle 1.2 - Annotation with reified triples" ; mf:action ; mf:result ; . - + trs:turtle12-reified-triples-annotation-02 rdf:type rdft:TestTurtleEval ; mf:name "Turtle 1.2 - Annotation on triple with reified triple subject" ; mf:action ; mf:result ; . - + trs:turtle12-reified-triples-annotation-03 rdf:type rdft:TestTurtleEval ; mf:name "Turtle 1.2 - Annotation on triple with reified triple object" ; mf:action ; mf:result ; . - diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-annotation-13.nt b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-annotation-13.nt new file mode 100644 index 00000000000..46554da81fd --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-annotation-13.nt @@ -0,0 +1,2 @@ + . + <<( )>> . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-annotation-13.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-annotation-13.ttl new file mode 100644 index 00000000000..d417925db5a --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-annotation-13.ttl @@ -0,0 +1,3 @@ +PREFIX : + +:s :p :o ~ . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-rt-09.nt b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-rt-09.nt new file mode 100644 index 00000000000..257605bfae1 --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-rt-09.nt @@ -0,0 +1,16 @@ +_:b0 . +_:b0 <<( "foo"@en )>> . +_:b1 . +_:b1 <<( "1"^^ )>> . +_:b2 . +_:b2 <<( "true"^^ )>> . +_:b3 . +_:b3 <<( "foo"^^ )>> . +_:b4 . +_:b4 <<( "foo" )>> . +_:b5 . +_:b5 <<( "1.0"^^ )>> . +_:b6 . +_:b6 <<( "false"^^ )>> . +_:b7 . +_:b7 <<( "1e0"^^ )>> . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-rt-09.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-rt-09.ttl new file mode 100644 index 00000000000..cefa1557e56 --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-rt-09.ttl @@ -0,0 +1,10 @@ +PREFIX : + +<< :s1 :p1 "foo" >> :p :o . +<< :s1 :p1 "foo"@en >> :p :o . +<< :s1 :p1 "foo"^^:dt >> :p :o . +<< :s1 :p1 true >> :p :o . +<< :s1 :p1 false >> :p :o . +<< :s1 :p1 1 >> :p :o . +<< :s1 :p1 1.0 >> :p :o . +<< :s1 :p1 1e0 >> :p :o . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-tt-05.nt b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-tt-05.nt new file mode 100644 index 00000000000..62fadbc78e3 --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-tt-05.nt @@ -0,0 +1,8 @@ + <<( "foo" )>> . + <<( "foo"@en )>> . + <<( "foo"^^ )>> . + <<( "true"^^ )>> . + <<( "false"^^ )>> . + <<( "1"^^ )>> . + <<( "1.0"^^ )>> . + <<( "1e0"^^ )>> . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-tt-05.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-tt-05.ttl new file mode 100644 index 00000000000..466d56a51d0 --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/eval/turtle12-eval-tt-05.ttl @@ -0,0 +1,11 @@ +PREFIX : +PREFIX rdf: + +:s1 rdf:reifies <<( :s1 :p1 "foo" )>> . +:s2 rdf:reifies <<( :s1 :p1 "foo"@en )>> . +:s3 rdf:reifies <<( :s1 :p1 "foo"^^:dt )>> . +:s4 rdf:reifies <<( :s1 :p1 true )>> . +:s5 rdf:reifies <<( :s1 :p1 false )>> . +:s6 rdf:reifies <<( :s1 :p1 1 )>> . +:s7 rdf:reifies <<( :s1 :p1 1.0 )>> . +:s8 rdf:reifies <<( :s1 :p1 1e0 )>> . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/manifest.ttl index d5c774ecb9e..0758e91b64d 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/manifest.ttl @@ -34,4 +34,3 @@ trs:manifest rdf:type mf:Manifest ; <../../rdf11/rdf-turtle/manifest.ttl> ) . - diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/syntax/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/syntax/manifest.ttl index 0eff8ff4acc..16c41106c61 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/syntax/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-turtle/syntax/manifest.ttl @@ -3,14 +3,14 @@ ## [1] https://www.w3.org/Consortium/Legal/2008/04-testsuite-license ## [2] https://www.w3.org/Consortium/Legal/2008/03-bsd-license -PREFIX rdf: -PREFIX rdfs: -PREFIX mf: -PREFIX rdft: -PREFIX trs: -PREFIX dct: -PREFIX xsd: -PREFIX foaf: +PREFIX rdf: +PREFIX rdfs: +PREFIX mf: +PREFIX rdft: +PREFIX trs: +PREFIX dct: +PREFIX xsd: +PREFIX foaf: PREFIX skos: trs:manifest rdf:type mf:Manifest ; @@ -18,8 +18,8 @@ trs:manifest rdf:type mf:Manifest ; skos:prefLabel "La suite des tests pour la syntaxe RDF 1.2 Turtle"@fr ; skos:prefLabel "Conjunto de pruebas para la sintaxis RDF 1.2 Turtle"@es ; mf:assumedTestBase ; - dct:issued "2023-07-20"^^xsd:date ; - dct:modified "2025-06-10"^^xsd:date ; + dct:issued "2023-07-20"^^xsd:date ; + dct:modified "2025-06-10"^^xsd:date ; dct:licence ; dct:creator [ foaf:homepage ; foaf:name "W3C RDF & SPARQL Working Group" ] ; mf:entries @@ -63,7 +63,7 @@ trs:manifest rdf:type mf:Manifest ; trs:turtle12-ann-6 trs:turtle12-ann-7 trs:turtle12-ann-8 - + trs:turtle12-bad-ann-1 trs:turtle12-bad-ann-2 @@ -351,12 +351,12 @@ trs:nt-ttl12-nested-1 rdf:type rdft:TestTurtlePositiveSyntax ; . ## Bad syntax - + trs:nt-ttl12-bad-01 rdf:type rdft:TestTurtleNegativeSyntax ; mf:name "N-Triples 1.2 as Turtle 1.2 - Bad - triple term as predicate" ; mf:action ; . - + trs:nt-ttl12-bad-02 rdf:type rdft:TestTurtleNegativeSyntax ; mf:name "N-Triples 1.2 as Turtle 1.2 - Bad - triple term, literal subject" ; mf:action ; @@ -486,7 +486,7 @@ trs:turtle12-surrogate-pair-bad-01 rdf:type rdft:TestTurtleNegativeSyntax ; mf:name "Turtle 1.2 - Bad - Surrogate pair numeric escape sequence" ; mf:action . - + trs:turtle12-surrogate-pair-bad-02 rdf:type rdft:TestTurtleNegativeSyntax ; mf:name "Turtle 1.2 - Bad - Surrogate pair via numeric escape sequence" ; mf:action diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/eval/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/eval/manifest.ttl index 6e9f70f266b..2f55f9617d1 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/eval/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/eval/manifest.ttl @@ -58,44 +58,44 @@ trs:manifest rdf:type mf:Manifest ; trs:rdf12-xml-an-14 trs:rdf12-xml-an-15 trs:rdf12-xml-an-16 - + trs:rdf12-xml-an-reif-01 ) . # Initial Text Direction trs:rdf12-xml-dir-01 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-dir-01"; - mf:comment "Language with direction"; + rdfs:comment "Language with direction"; mf:action ; mf:result . trs:rdf12-xml-dir-02 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-dir-02"; - mf:comment "Language with direction and no RDF version"; + rdfs:comment "Language with direction and no RDF version"; mf:action ; mf:result . trs:rdf12-xml-dir-03 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-dir-03"; - mf:comment "Language with direction and no ITS version"; + rdfs:comment "Language with direction and no ITS version"; mf:action ; mf:result . trs:rdf12-xml-dir-04 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-dir-04"; - mf:comment "Language with direction on element directly"; + rdfs:comment "Language with direction on element directly"; mf:action ; mf:result . trs:rdf12-xml-dir-05 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-dir-05"; - mf:comment "Language with version and direction on element directly"; + rdfs:comment "Language with version and direction on element directly"; mf:action ; mf:result . trs:rdf12-xml-dir-06 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-dir-06"; - mf:comment "Direction with no language"; + rdfs:comment "Direction with no language"; mf:action ; mf:result . @@ -103,150 +103,150 @@ trs:rdf12-xml-dir-06 rdf:type rdft:TestXMLEval; trs:rdf12-xml-tt-01 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-tt-01"; - mf:comment "Ignored triple term"; + rdfs:comment "Ignored triple term"; mf:action ; mf:result . trs:rdf12-xml-tt-02 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-tt-02"; - mf:comment "Triple term having IRI subject"; + rdfs:comment "Triple term having IRI subject"; mf:action ; mf:result . trs:rdf12-xml-tt-03 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-tt-03"; - mf:comment "Triple term having BNode subject"; + rdfs:comment "Triple term having BNode subject"; mf:action ; mf:result . trs:rdf12-xml-tt-04 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-tt-04"; - mf:comment "Triple term having a type"; + rdfs:comment "Triple term having a type"; mf:action ; mf:result . trs:rdf12-xml-tt-05 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-tt-05"; - mf:comment "Triple term having BNode object"; + rdfs:comment "Triple term having BNode object"; mf:action ; mf:result . trs:rdf12-xml-tt-06 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-tt-06"; - mf:comment "Recursive triple term"; + rdfs:comment "Recursive triple term"; mf:action ; mf:result . trs:rdf12-xml-tt-07 rdf:type rdft:TestXMLNegativeSyntax; mf:name "rdf12-xml-tt-07"; - mf:comment "Invalid triple term having no predicate or object"; + rdfs:comment "Invalid triple term having no predicate or object"; mf:action . trs:rdf12-xml-tt-08 rdf:type rdft:TestXMLNegativeSyntax; mf:name "rdf12-xml-tt-08"; - mf:comment "Invalid triple term having two objects"; + rdfs:comment "Invalid triple term having two objects"; mf:action . # Annotations trs:rdf12-xml-an-01 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-01"; - mf:comment "On literal with IRI reifier"; + rdfs:comment "On literal with IRI reifier"; mf:action ; mf:result . trs:rdf12-xml-an-02 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-02"; - mf:comment "On literal with BNode reifier"; + rdfs:comment "On literal with BNode reifier"; mf:action ; mf:result . trs:rdf12-xml-an-03 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-03"; - mf:comment "On literal with IRI reifier and annotations"; + rdfs:comment "On literal with IRI reifier and annotations"; mf:action ; mf:result . trs:rdf12-xml-an-04 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-04"; - mf:comment "An empty property element just gives an empty literal. Annotate the statement at the same time. (See rdfms-empty-property-elements-test005 in 1.1 test suite)"; + rdfs:comment "An empty property element just gives an empty literal. Annotate the statement at the same time. (See rdfms-empty-property-elements-test005 in 1.1 test suite)"; mf:action ; mf:result . trs:rdf12-xml-an-05 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-05"; - mf:comment "Here the parseType indicates that we should create a resource. We annotate the statement at the same time. (See rdfms-empty-property-elements-test006 in 1.1 test suite)"; + rdfs:comment "Here the parseType indicates that we should create a resource. We annotate the statement at the same time. (See rdfms-empty-property-elements-test006 in 1.1 test suite)"; mf:action ; mf:result . trs:rdf12-xml-an-06 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-06"; - mf:comment "rdf:annotation on an empty property element indicates reification. (See rdfms-not-id-and-resource-attr-test001 in 1.1 test suite)"; + rdfs:comment "rdf:annotation on an empty property element indicates reification. (See rdfms-not-id-and-resource-attr-test001 in 1.1 test suite)"; mf:action ; mf:result . trs:rdf12-xml-an-07 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-07"; - mf:comment "Node with annotation having a type"; + rdfs:comment "Node with annotation having a type"; mf:action ; mf:result . trs:rdf12-xml-an-08 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-08"; - mf:comment "Node with annotation having an IRI value"; + rdfs:comment "Node with annotation having an IRI value"; mf:action ; mf:result . trs:rdf12-xml-an-09 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-09"; - mf:comment "Node with annotation having an BNode value"; + rdfs:comment "Node with annotation having an BNode value"; mf:action ; mf:result . trs:rdf12-xml-an-10 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-10"; - mf:comment "Node with recursive annotation"; + rdfs:comment "Node with recursive annotation"; mf:action ; mf:result . trs:rdf12-xml-an-11 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-11"; - mf:comment "rdf:annotation and rdf:resource are allowed together on empty property element."; + rdfs:comment "rdf:annotation and rdf:resource are allowed together on empty property element."; mf:action ; mf:result . trs:rdf12-xml-an-12 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-12"; - mf:comment "rdf:annotationNodeID and rdf:resource are allowed together on empty property element."; + rdfs:comment "rdf:annotationNodeID and rdf:resource are allowed together on empty property element."; mf:action ; mf:result . trs:rdf12-xml-an-13 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-13"; - mf:comment """rdf:annotation and parseType="Literal"."""; + rdfs:comment """rdf:annotation and parseType="Literal"."""; mf:action ; mf:result . trs:rdf12-xml-an-14 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-14"; - mf:comment """rdf:annotationNodeID and parseType="Literal"."""; + rdfs:comment """rdf:annotationNodeID and parseType="Literal"."""; mf:action ; mf:result . trs:rdf12-xml-an-15 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-15"; - mf:comment """rdf:annotation and parseType="Collection"."""; + rdfs:comment """rdf:annotation and parseType="Collection"."""; mf:action ; mf:result . trs:rdf12-xml-an-16 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-16"; - mf:comment """rdf:annotationNodeID and parseType="Collection"."""; + rdfs:comment """rdf:annotationNodeID and parseType="Collection"."""; mf:action ; mf:result . trs:rdf12-xml-an-reif-01 rdf:type rdft:TestXMLEval; mf:name "rdf12-xml-an-reif-01.rdf"; - mf:comment "RDF 1.1 reification and RDF 1.2 annotation"; + rdfs:comment "RDF 1.1 reification and RDF 1.2 annotation"; mf:action ; mf:result . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/eval/rdf12-xml-an-13.nt b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/eval/rdf12-xml-an-13.nt index b7a77eed0ea..10b65f57c11 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/eval/rdf12-xml-an-13.nt +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/eval/rdf12-xml-an-13.nt @@ -1,2 +1,2 @@ - "

"^^ . - <<( "

"^^)>> . + "

"^^ . + <<( "

"^^)>> . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/eval/rdf12-xml-an-14.nt b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/eval/rdf12-xml-an-14.nt index 15bbc3612a8..99ef80fe181 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/eval/rdf12-xml-an-14.nt +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/eval/rdf12-xml-an-14.nt @@ -1,2 +1,2 @@ - "

"^^ . -_:triple1 <<( "

"^^)>> . + "

"^^ . +_:triple1 <<( "

"^^)>> . diff --git a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/manifest.ttl b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/manifest.ttl index 9a676731e3b..c4a9d6f4c0b 100644 --- a/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/rdf/rdf12/rdf-xml/manifest.ttl @@ -33,4 +33,3 @@ trs:manifest rdf:type mf:Manifest ; <../../rdf11/rdf-xml/manifest.ttl> ) . - diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/algebra/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/algebra/manifest.ttl index 73595a25f04..ce36d6245df 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/algebra/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/algebra/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Algebra" ; + mf:specVersion sparql:version-1.0 ; mf:entries ( :nested-opt-1 :nested-opt-2 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/ask/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/ask/manifest.ttl index 044b04b2e8b..f483626dc55 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/ask/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/ask/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "ASK" ; + mf:specVersion sparql:version-1.0 ; mf:entries ( :ask-1 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/basic/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/basic/manifest.ttl index b6cb2815d85..8c23097270f 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/basic/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/basic/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Basic" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Basic test cases" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/bnode-coreference/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/bnode-coreference/manifest.ttl index 5f323a3c75c..d7c7c6a0956 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/bnode-coreference/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/bnode-coreference/manifest.ttl @@ -4,9 +4,11 @@ @prefix dawgt: . @prefix mf: . @prefix qt: . +@prefix sparql: . [] rdf:type mf:Manifest ; rdfs:label "bnode co-reference" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "DAWG test cases on bnode co-reference" ; mf:entries ( :dawg-bnode-coref-001). diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/boolean-effective-value/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/boolean-effective-value/manifest.ttl index 0a8d9e8f17b..05d0d11b0bf 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/boolean-effective-value/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/boolean-effective-value/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Boolean Effective Value" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Test of boolean expressions" ; mf:entries ( :dawg-boolean-literal :dawg-bev-1 :dawg-bev-2 :dawg-bev-3 :dawg-bev-4 :dawg-bev-5 :dawg-bev-6 ) . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/bound/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/bound/manifest.ttl index 63ba599a0a9..a4dac53c4ad 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/bound/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/bound/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "bound" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "DAWG bound test cases" ; mf:entries (:dawg-bound-query-001) . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/cast/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/cast/manifest.ttl index 654c761a917..b26e0a42d99 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/cast/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/cast/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Casting" ; + mf:specVersion sparql:version-1.0 ; mf:entries ( :cast-str diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/construct/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/construct/manifest.ttl index 65e81657925..4803495dc02 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/construct/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/construct/manifest.ttl @@ -4,9 +4,11 @@ @prefix dawgt: . @prefix mf: . @prefix qt: . +@prefix sparql: . [] rdf:type mf:Manifest ; rdfs:label "CONSTRUCT" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Some DAWG test cases on the CONSTRUCT result form" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/dataset-09.rq b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/dataset-09.rq deleted file mode 100644 index 1ac303b65fd..00000000000 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/dataset-09.rq +++ /dev/null @@ -1,8 +0,0 @@ -PREFIX : - -SELECT * -FROM -FROM NAMED { - ?s ?p ?o - GRAPH ?g { ?s ?q ?v } -} diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/dataset-10.rq b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/dataset-10.rq deleted file mode 100644 index b6ac7a1d9e3..00000000000 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/dataset-10.rq +++ /dev/null @@ -1,9 +0,0 @@ -PREFIX : - -SELECT * -FROM -FROM NAMED -{ - ?s ?p ?o - GRAPH ?g { ?s ?q ?v } -} diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/dataset-12.rq b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/dataset-12.rq deleted file mode 100644 index 54c1b8cc106..00000000000 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/dataset-12.rq +++ /dev/null @@ -1,16 +0,0 @@ -PREFIX : - -SELECT * -FROM -FROM -FROM -FROM -FROM NAMED -FROM NAMED -FROM NAMED -FROM NAMED -{ - { ?s ?p ?o } - UNION - { GRAPH ?g { ?s ?p ?o } } -} diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/manifest.ttl index 6cc3dc33761..e4b481368f7 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/dataset/manifest.ttl @@ -4,9 +4,11 @@ @prefix dawgt: . @prefix mf: . @prefix qt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "dataset" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Tests for GRAPH" ; mf:entries ( @@ -30,7 +32,8 @@ dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action - [ qt:query ] ; + [ qt:query ; + qt:graphData ] ; mf:result ; . @@ -40,7 +43,8 @@ dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action - [ qt:query ] ; + [ qt:query ; + qt:graphData ] ; mf:result ; . @@ -50,7 +54,8 @@ dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action - [ qt:query ] ; + [ qt:query ; + qt:graphData ] ; mf:result ; . @@ -60,7 +65,8 @@ dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action - [ qt:query ] ; + [ qt:query ; + qt:graphData ] ; mf:result ; . @@ -70,7 +76,9 @@ dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action - [ qt:query ] ; + [ qt:query ; + qt:graphData ; + qt:graphData ] ; mf:result ; . @@ -80,7 +88,9 @@ dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action - [ qt:query ] ; + [ qt:query ; + qt:graphData ; + qt:graphData ] ; mf:result ; . @@ -90,7 +100,9 @@ dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action - [ qt:query ] ; + [ qt:query ; + qt:graphData ; + qt:graphData ] ; mf:result ; . @@ -100,7 +112,9 @@ dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action - [ qt:query ] ; + [ qt:query ; + qt:graphData ; + qt:graphData ] ; mf:result ; . @@ -110,7 +124,9 @@ dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action - [ qt:query ] ; + [ qt:query ; + qt:graphData ; + qt:graphData ] ; mf:result ; . @@ -120,7 +136,9 @@ dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action - [ qt:query ] ; + [ qt:query ; + qt:graphData ; + qt:graphData ] ; mf:result ; . @@ -130,7 +148,11 @@ dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action - [ qt:query ] ; + [ qt:query ; + qt:graphData ; + qt:graphData ; + qt:graphData ; + qt:graphData ] ; mf:result ; . @@ -140,6 +162,14 @@ dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action - [ qt:query ] ; + [ qt:query ; + qt:graphData ; + qt:graphData ; + qt:graphData ; + qt:graphData ; + qt:graphData ; + qt:graphData ; + qt:graphData ; + qt:graphData ] ; mf:result ; . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/distinct/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/distinct/manifest.ttl index 96bd4bd0c07..0fe96ddc07b 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/distinct/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/distinct/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "DISTINCT" ; + mf:specVersion sparql:version-1.0 ; mf:entries ( :no-distinct-1 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/expr-builtin/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/expr-builtin/manifest.ttl index 3a13970748e..dbd93680495 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/expr-builtin/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/expr-builtin/manifest.ttl @@ -6,9 +6,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Built-ins" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "DAWG Expression tests: Built-ins" ; mf:entries ( :dawg-str-1 :dawg-str-2 :dawg-str-3 :dawg-str-4 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/expr-equals/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/expr-equals/manifest.ttl index 8c4274b749e..ccfa99f7a1e 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/expr-equals/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/expr-equals/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "equality of values" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Some SPARQL test cases - equality of values" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/expr-ops/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/expr-ops/manifest.ttl index 85878c68662..a605d5266db 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/expr-ops/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/expr-ops/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "XPath operators" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "SPARQL tests - XPath operators in FILTERs" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/graph/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/graph/manifest.ttl index 15f948b2b95..35273e19460 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/graph/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/graph/manifest.ttl @@ -4,9 +4,11 @@ @prefix dawgt: . @prefix mf: . @prefix qt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "GRAPH" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Tests for GRAPH" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/i18n/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/i18n/manifest.ttl index 4977cd1ccd0..da526d9d463 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/i18n/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/i18n/manifest.ttl @@ -6,9 +6,11 @@ @prefix dawgt: . @prefix mf: . @prefix qt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "I18N" ; + mf:specVersion sparql:version-1.0 ; mf:entries ( :kanji-1 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/manifest.ttl index 38420b06f49..d16ace6fee6 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/manifest.ttl @@ -2,9 +2,11 @@ @prefix rdfs: . @prefix mf: . @prefix qt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "SPARQL Query tests" ; + mf:specVersion sparql:version-1.0 ; mf:include ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/open-world/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/open-world/manifest.ttl index 73537c35558..483f55b1dfd 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/open-world/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/open-world/manifest.ttl @@ -6,9 +6,11 @@ @prefix dawgt: . @prefix mf: . @prefix qt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "open world value testing tests" ; + mf:specVersion sparql:version-1.0 ; mf:entries ( :open-eq-01 :open-eq-02 :open-eq-03 :open-eq-04 :open-eq-05 :open-eq-06 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/optional-filter/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/optional-filter/manifest.ttl index b2845694eeb..ffd558a43a1 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/optional-filter/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/optional-filter/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "OPTIONAL FILTER" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "OPTIONAL with inner and outer FILTERs" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/optional/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/optional/manifest.ttl index 8a8ba5ae3b9..29d6f0fa831 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/optional/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/optional/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "OPTIONAL" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "OPTIONAL test cases" ; mf:entries (:dawg-optional-001 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/reduced/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/reduced/manifest.ttl index 253e225e860..bde9d6b6c70 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/reduced/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/reduced/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "REDUCED" ; + mf:specVersion sparql:version-1.0 ; mf:entries ( :reduced-1 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/regex/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/regex/manifest.ttl index 8c2e65f34f4..86c44e6a8da 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/regex/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/regex/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "REGEX" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "SPARQL regex test cases" ; mf:entries ( :dawg-regex-001 :dawg-regex-002 :dawg-regex-003 :dawg-regex-004 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/solution-seq/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/solution-seq/manifest.ttl index fe4d9d5ce5d..f82ada1299e 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/solution-seq/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/solution-seq/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Solution Sequence" ; + mf:specVersion sparql:version-1.0 ; mf:entries ( :limit-1 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/sort/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/sort/manifest.ttl index 0466c011c52..5d8b5a2c218 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/sort/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/sort/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "SORT" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Sorting test cases." ; mf:entries ( :dawg-sort-1 :dawg-sort-2 :dawg-sort-3 :dawg-sort-4 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql1/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql1/manifest.ttl index 7e32b6d4b04..6ee82ddcf65 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql1/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql1/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Syntax 1" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Syntax tests syntax-sparql1" ; mf:entries ( :syntax-basic-01 :syntax-basic-02 :syntax-basic-03 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql2/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql2/manifest.ttl index a172ed78de3..b18b0bf9df0 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql2/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql2/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Syntax 2" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Syntax tests syntax-sparql2" ; mf:entries ( :syntax-general-01 :syntax-general-02 :syntax-general-03 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql3/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql3/manifest.ttl index d4d3f7c6700..ed2a7acec83 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql3/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql3/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Syntax 3" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Syntax tests syntax-sparql3" ; mf:entries ( :syn-01 :syn-02 :syn-03 :syn-04 :syn-05 :syn-06 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql4/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql4/manifest.ttl index 78ccfade899..da7ac2c83d6 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql4/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql4/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Syntax 4" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Syntax tests syntax-sparql4" ; mf:entries ( :syn-09 :syn-10 :syn-11 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql5/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql5/manifest.ttl index 2d5918dcc9d..4b2b552269d 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql5/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/syntax-sparql5/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Syntax 5" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Syntax tests syntax-sparql5" ; mf:entries ( :syntax-reduced-01 :syntax-reduced-02 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/triple-match/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/triple-match/manifest.ttl index ec2b6893f83..51fe8ef1f83 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/triple-match/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/triple-match/manifest.ttl @@ -4,9 +4,11 @@ @prefix dawgt: . @prefix mf: . @prefix qt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Triple Match" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Some simple DAWG query evaluation test cases" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/type-promotion/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/type-promotion/manifest.ttl index 5649a26b927..92d3be88462 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql10/type-promotion/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql10/type-promotion/manifest.ttl @@ -6,9 +6,11 @@ @prefix dawgt: . @prefix mf: . @prefix qt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Type Promotion" ; + mf:specVersion sparql:version-1.0 ; rdfs:comment "Type Promotion Tests" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/add/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/add/manifest.ttl index 802b194bb90..e62ceedb7e9 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/add/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/add/manifest.ttl @@ -5,9 +5,11 @@ @prefix qt: . @prefix ut: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Add" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :add01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/agg-empty-group-count-graph.rq b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/agg-empty-group-count-graph.rq index 8797fee9212..91487e33956 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/agg-empty-group-count-graph.rq +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/agg-empty-group-count-graph.rq @@ -1,5 +1,5 @@ PREFIX : SELECT ?g ?c WHERE { - GRAPH ?g {SELECT (count(*) AS ?c) WHERE { ?s :p ?x }} + GRAPH ?g {SELECT (count(*) AS ?c) WHERE { ?s :p ?x FILTER(?x != :o) }} } diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/agg-empty-group-count-graph.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/agg-empty-group-count-graph.ttl index 1bcd7f86d36..0ea482fecdd 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/agg-empty-group-count-graph.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/agg-empty-group-count-graph.ttl @@ -6,17 +6,17 @@ [] rdf:type rs:ResultSet ; rs:resultVariable "g" ; rs:resultVariable "c" ; - rs:solution [ rs:binding [ rs:value ; + rs:solution [ rs:binding [ rs:value ; rs:variable "g" ] ; rs:binding [ rs:value "0"^^xsd:integer ; rs:variable "c" ] ] ; - rs:solution [ rs:binding [ rs:value ; + rs:solution [ rs:binding [ rs:value ; rs:variable "g" ] ; - rs:binding [ rs:value "1"^^xsd:integer ; + rs:binding [ rs:value "2"^^xsd:integer ; rs:variable "c" ] ] . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/manifest.ttl index a5517abfa23..301d73e916b 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/manifest.ttl @@ -4,10 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . -@prefix sparql: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Aggregates" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :agg01 @@ -425,12 +426,12 @@ :agg-empty-group-count-graph rdf:type mf:QueryEvaluationTest ; mf:name "COUNT: no GROUP BY inside of GRAPH" ; - rdfs:comment "counting no results without grouping always returns a single result per named graph." ; + rdfs:comment "counting without grouping always returns a single result per named graph." ; mf:action [ qt:query ; qt:data ; - qt:graphData ; - qt:graphData ] ; + qt:graphData ; + qt:graphData ] ; mf:result . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/pair.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/pair.ttl new file mode 100644 index 00000000000..27d58a62f52 --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/aggregates/pair.ttl @@ -0,0 +1,3 @@ +@prefix ex: . + +ex:s ex:p ex:o2 , ex:o3 . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/basic-update/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/basic-update/manifest.ttl index 71c40ebae18..5426066d285 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/basic-update/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/basic-update/manifest.ttl @@ -5,9 +5,11 @@ @prefix ut: . @prefix dawgt: . @prefix sd: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Basic Update" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "Basic SPARQL 1.1 Update test cases" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bind/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bind/manifest.ttl index 26589e2600e..9964f03da41 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bind/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bind/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "BIND" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :bind01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bindings/graph.rq b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bindings/graph.rq index 26bf48ab3ba..56258aecb26 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bindings/graph.rq +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bindings/graph.rq @@ -1,5 +1,5 @@ SELECT ?g ?t { GRAPH ?g { - VALUES (?g ?t) { (UNDEF "foo") ( "bar") } + VALUES (?g ?t) { (UNDEF "foo") ( "bar") } } } diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bindings/graph.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bindings/graph.ttl index c6a492dc347..609b356c087 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bindings/graph.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bindings/graph.ttl @@ -3,14 +3,14 @@ [] a rs:ResultSet ; rs:resultVariable "g" , "t" ; - rs:solution [ rs:binding [ rs:value ; + rs:solution [ rs:binding [ rs:value ; rs:variable "g" ] ; rs:binding [ rs:value "foo"; rs:variable "t" ] ] ; - rs:solution [ rs:binding [ rs:value ; + rs:solution [ rs:binding [ rs:value ; rs:variable "g" ] ; rs:binding [ rs:value "bar"; diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bindings/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bindings/manifest.ttl index 9b358f3b001..c1dfad125f5 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bindings/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/bindings/manifest.ttl @@ -4,8 +4,10 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "Bindings" ; mf:entries ( @@ -141,10 +143,9 @@ [ qt:query ; qt:data ; - qt:graphData ; + qt:graphData ; qt:graphData ] ; mf:result . - diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/cast/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/cast/manifest.ttl index ef2f3d687a8..d44b2c4a0d1 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/cast/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/cast/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Casting" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :cast-bool diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/clear/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/clear/manifest.ttl index 8b9960f2050..c28f150fe9a 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/clear/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/clear/manifest.ttl @@ -5,9 +5,11 @@ @prefix mf: . @prefix qt: . @prefix ut: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "CLEAR" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "Tests for SPARQL UPDATE" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/construct/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/construct/manifest.ttl index cf148ed368f..66a8800ae53 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/construct/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/construct/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "CONSTRUCT" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :constructwhere01 @@ -70,7 +72,7 @@ :constructwhere06 rdf:type mf:NegativeSyntaxTest11 ; mf:name "constructwhere06 - CONSTRUCT WHERE" ; - mf:description "CONSTRUCT WHERE with GRAPH"; + rdfs:comment "CONSTRUCT WHERE with GRAPH"; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:action . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/copy/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/copy/manifest.ttl index 89806b9b637..27e9985f498 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/copy/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/copy/manifest.ttl @@ -5,9 +5,11 @@ @prefix qt: . @prefix ut: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Copy" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :copy01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/csv-tsv-res/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/csv-tsv-res/manifest.ttl index 5e6801f2029..83fa7a4de41 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/csv-tsv-res/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/csv-tsv-res/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "CSV/TSV Result Format" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :csv01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete-data/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete-data/manifest.ttl index a762a5a4397..a15a9b7898b 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete-data/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete-data/manifest.ttl @@ -5,9 +5,11 @@ @prefix mf: . @prefix qt: . @prefix ut: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "DELETE DATA" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "Tests for SPARQL UPDATE" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete-insert/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete-insert/manifest.ttl index 8900b22861c..2ab7e1bbbee 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete-insert/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete-insert/manifest.ttl @@ -5,9 +5,11 @@ @prefix mf: . @prefix qt: . @prefix ut: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "DELETE INSERT" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "Tests for SPARQL UPDATE" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete-where/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete-where/manifest.ttl index ba6c3127ade..5060c8bd4f6 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete-where/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete-where/manifest.ttl @@ -5,9 +5,11 @@ @prefix mf: . @prefix qt: . @prefix ut: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "DELETE WHERE" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "Tests for SPARQL UPDATE" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete/manifest.ttl index 9118fbcc4ea..3a113e66a47 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/delete/manifest.ttl @@ -5,9 +5,11 @@ @prefix mf: . @prefix qt: . @prefix ut: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "DELETE" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "Tests for SPARQL UPDATE" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/drop/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/drop/manifest.ttl index b7f9ae88239..6dde28ac7dc 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/drop/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/drop/manifest.ttl @@ -5,9 +5,11 @@ @prefix mf: . @prefix qt: . @prefix ut: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "DROP" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "Tests for SPARQL UPDATE" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/entailment/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/entailment/manifest.ttl index 26a3c58c03c..e5cace0bdcf 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/entailment/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/entailment/manifest.ttl @@ -7,9 +7,11 @@ @prefix sd: . @prefix ent: . @prefix pr: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "entailment regime test cases" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :bind01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/exists/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/exists/manifest.ttl index b7b672cddf4..698212db0b7 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/exists/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/exists/manifest.ttl @@ -4,10 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . -@prefix sparql: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Positive Exists" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :exists01 @@ -91,4 +92,3 @@ ] ; mf:result . - diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/functions/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/functions/manifest.ttl index 763c2c9a5c5..0d23c3cf355 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/functions/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/functions/manifest.ttl @@ -4,10 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . -@prefix sparql: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Built-in Functions" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :strdt01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/graph-store-protocol/manifest-direct.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/graph-store-protocol/manifest-direct.ttl new file mode 100644 index 00000000000..2450d5114fa --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/graph-store-protocol/manifest-direct.ttl @@ -0,0 +1,468 @@ +@prefix : . +@prefix dawg: . +@prefix gsp: . +@prefix mf: . +@prefix cnt: . +@prefix ht: . +@prefix hts: . +@prefix rdf: . +@prefix rdfs: . + +<> a mf:Manifest; + rdfs:label "SPARQL Graph Store Protocol - Direct Graph Identification"; + mf:entries ( gsp:put_get_repeat_direct + gsp:put_delete_get_delete_direct + gsp:post_get_post_get_direct + gsp:head_existing_direct + ) . + +gsp:put_get_repeat_direct rdf:type mf:GraphStoreProtocolTest ; + mf:name "PUT/GET repetition on same graph using varying graph identification (direct graph identification)" ; + mf:requires mf:DirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ([ + a ht:Request ; + ht:absolutePath "/gsp/person/1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "John Doe" + ]. + """ + ] ; + ht:httpVersion "1.1" ; + ht:methodName "PUT" ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:Created + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "John Doe" + ]. + """ + ] ; + ] + ] + [ + a ht:Request ; + ht:methodName "PUT" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/1.ttl" ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "Jane Doe" + ]. + """ + ] ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK, hts:NoContent ; + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "Jane Doe" + ] . + """ + ] ; + ] + ] + ) + ] ; + . + +gsp:put_delete_get_delete_direct rdf:type mf:GraphStoreProtocolTest ; + mf:name "PUT initialization, then DELETE/GET/DELETE (direct graph identification)" ; + mf:requires mf:DirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ([ + a ht:Request ; + ht:methodName "PUT" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/2.ttl" ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + [] a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:given-name "Alice" + ] . + """ + ] ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:Created, hts:OK, hts:NoContent + ] + ] + [ + a ht:Request ; + ht:methodName "DELETE" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/2.ttl" ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK, hts:NoContent ; + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/2.ttl" ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:NotFound ; + ] + ] + [ + a ht:Request ; + ht:methodName "DELETE" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/2.ttl" ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:NotFound, hts:OK, hts:NoContent ; + ] + ] + ) + ] ; + . + +gsp:post_get_post_get_direct rdf:type mf:GraphStoreProtocolTest ; + mf:name "Two iterations os POST/GET, with the second using multipart/form-data (direct graph identification)" ; + mf:requires mf:DirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ( + [ + a ht:Request ; + ht:methodName "POST" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/1.ttl" ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "Jane Doe" + ] . + """ + ] ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK, hts:Created, hts:NoContent + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "Jane Doe" + ] . + """ + ] ; + ] + ] + [ + a ht:Request ; + ht:methodName "POST" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/1.ttl" ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """--a6fe4cd636164618814be9f8d3d1a0de\r +Content-Disposition: form-data; name="lastName.ttl"; filename="lastName.ttl"\r +Content-Type: text/turtle; charset=utf-8\r +\r +@prefix foaf: .\r + foaf:familyName "Doe" .\r +\r +--a6fe4cd636164618814be9f8d3d1a0de\r +Content-Disposition: form-data; name="firstName.ttl"; filename="firstName.ttl"\r +Content-Type: text/turtle; charset=utf-8\r +\r +@prefix foaf: .\r + foaf:givenName "Jane" .\r +\r +--a6fe4cd636164618814be9f8d3d1a0de--\r +""" + ] ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "multipart/form-data; boundary=a6fe4cd636164618814be9f8d3d1a0de" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK, hts:NoContent + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:givenName "Jane"; + foaf:familyName "Doe"; + foaf:businessCard [ + a v:VCard; + v:fn "Jane Doe" + ] . + """ + ] ; + ] + ] + ) + ] ; + . + +gsp:head_existing_direct rdf:type mf:GraphStoreProtocolTest ; + mf:name "PUT initialization, then HEAD on existing graph (direct graph identification)" ; + mf:requires mf:DirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ([ + a ht:Request ; + ht:methodName "PUT" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "John Doe" + ]. + """ + ] ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK, hts:Created, hts:NoContent + ] + ] + [ + a ht:Request ; + ht:methodName "HEAD" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ] + ] + ) + ] ; + . + +gsp:head_non_existing_direct rdf:type mf:GraphStoreProtocolTest ; + mf:name "HEAD on non-existing graph (direct graph identification)" ; + mf:requires mf:DirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ([ + a ht:Request ; + ht:methodName "HEAD" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp/person/4.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:NotFound ; + ] + ] + ) + ] ; + . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/graph-store-protocol/manifest-indirect.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/graph-store-protocol/manifest-indirect.ttl new file mode 100644 index 00000000000..37ecd9ee462 --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/graph-store-protocol/manifest-indirect.ttl @@ -0,0 +1,844 @@ +@prefix : . +@prefix dawg: . +@prefix gsp: . +@prefix mf: . +@prefix cnt: . +@prefix ht: . +@prefix hts: . +@prefix rdf: . +@prefix rdfs: . + +<> a mf:Manifest; + rdfs:label "SPARQL Graph Store Protocol - Indirect Graph Identification"; + mf:entries ( gsp:put_get_repeat_indirect + gsp:put_get_default + gsp:put_delete_get_delete_indirect + gsp:post_get_post_get_indirect + gsp:post_get_new_graph + gsp:head_existing_indirect + gsp:head_non_existing_indirect + gsp:put_get_uri_pct_encoded_indirect + gsp:put_get_uri_pct_encoded_twice + ) . + +gsp:put_get_repeat_indirect rdf:type mf:GraphStoreProtocolTest ; + mf:name "PUT/GET repetition on same graph using varying graph identification (indirect graph identification)" ; + mf:requires mf:IndirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ([ + a ht:Request ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "John Doe" + ]. + """ + ] ; + ht:httpVersion "1.1" ; + ht:methodName "PUT" ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:Created + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "John Doe" + ]. + """ + ] ; + ] + ] + [ + a ht:Request ; + ht:methodName "PUT" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F1.ttl" ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "Jane Doe" + ]. + """ + ] ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK, hts:NoContent ; + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "Jane Doe" + ] . + """ + ] ; + ] + ] + ) + ] ; + . + +gsp:put_get_default rdf:type mf:GraphStoreProtocolTest ; + mf:name "PUT/GET on the default graph" ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ([ + a ht:Request ; + ht:methodName "PUT" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?default" ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + [] a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:given-name "Alice" + ] . + """ + ] ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK, hts:Created, hts:NoContent + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?default" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + [] a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:given-name "Alice" + ] . + """ + ] ; + ] + ] + ) + ] ; + . + +gsp:put_delete_get_delete_indirect rdf:type mf:GraphStoreProtocolTest ; + mf:name "PUT initialization, then DELETE/GET/DELETE (indirect graph identification)" ; + mf:requires mf:IndirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ([ + a ht:Request ; + ht:methodName "PUT" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F2.ttl" ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + [] a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:given-name "Alice" + ] . + """ + ] ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:Created, hts:OK, hts:NoContent + ] + ] + [ + a ht:Request ; + ht:methodName "DELETE" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F2.ttl" ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK, hts:NoContent ; + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F2.ttl" ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:NotFound ; + ] + ] + [ + a ht:Request ; + ht:methodName "DELETE" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F2.ttl" ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:NotFound, hts:OK, hts:NoContent ; + ] + ] + ) + ] ; + . + +gsp:post_get_post_get_indirect rdf:type mf:GraphStoreProtocolTest ; + mf:name "Two iterations os POST/GET, with the second using multipart/form-data (indirect graph identification)" ; + mf:requires mf:IndirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ( + [ + a ht:Request ; + ht:methodName "POST" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F1.ttl" ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "Jane Doe" + ] . + """ + ] ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK, hts:Created, hts:NoContent + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "Jane Doe" + ] . + """ + ] ; + ] + ] + [ + a ht:Request ; + ht:methodName "POST" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F1.ttl" ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """--a6fe4cd636164618814be9f8d3d1a0de\r +Content-Disposition: form-data; name="lastName.ttl"; filename="lastName.ttl"\r +Content-Type: text/turtle; charset=utf-8\r +\r +@prefix foaf: .\r + foaf:familyName "Doe" .\r +\r +--a6fe4cd636164618814be9f8d3d1a0de\r +Content-Disposition: form-data; name="firstName.ttl"; filename="firstName.ttl"\r +Content-Type: text/turtle; charset=utf-8\r +\r +@prefix foaf: .\r + foaf:givenName "Jane" .\r +\r +--a6fe4cd636164618814be9f8d3d1a0de--\r +""" + ] ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "multipart/form-data; boundary=a6fe4cd636164618814be9f8d3d1a0de" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK, hts:NoContent + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:givenName "Jane"; + foaf:familyName "Doe"; + foaf:businessCard [ + a v:VCard; + v:fn "Jane Doe" + ] . + """ + ] ; + ] + ] + ) + ] ; + . + +gsp:post_get_new_graph rdf:type mf:GraphStoreProtocolTest ; + mf:name "Graph creation via POST on the GSP endpoint, then GET of the resulting graph (direct graph identification)" ; + mf:requires mf:POSTGraphCreation ; + mf:requires mf:IndirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ([ + a ht:Request ; + ht:methodName "POST" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + [] a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:given-name "Alice" + ] . + """ + ] ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:Created ; + mf:expectedLocation "$LOCATION$" # Make the value of the Location header available as a template variable $LOCATION$ in subsequent Requests within this Connection + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=$LOCATION$" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + [] a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:given-name "Alice" + ] . + """ + ] ; + ] + ] + ) + ] ; + . + +gsp:head_existing_indirect rdf:type mf:GraphStoreProtocolTest ; + mf:name "PUT initialization, then HEAD on existing graph (indirect graph identification)" ; + mf:requires mf:IndirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ([ + a ht:Request ; + ht:methodName "PUT" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "John Doe" + ]. + """ + ] ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK, hts:Created, hts:NoContent + ] + ] + [ + a ht:Request ; + ht:methodName "HEAD" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ] + ] + ) + ] ; + . + +gsp:head_non_existing_indirect rdf:type mf:GraphStoreProtocolTest ; + mf:name "HEAD on non-existing graph (indirect graph identification)" ; + mf:requires mf:IndirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ([ + a ht:Request ; + ht:methodName "HEAD" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F4.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:NotFound ; + ] + ] + ) + ] ; + . + +gsp:put_get_uri_pct_encoded_indirect rdf:type mf:GraphStoreProtocolTest ; + mf:name "PUT/GET (indirect graph identification; using varying percent-encoding for the same graph IRI)" ; + mf:requires mf:IndirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ([ + a ht:Request ; + ht:absolutePath "/gsp?graph=http%3A%2F%2Fwww.example%2Fgsp%2Fperson%2F1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "John Doe" + ]. + """ + ] ; + ht:httpVersion "1.1" ; + ht:methodName "PUT" ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:Created + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http://www.example/gsp/person/1.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "John Doe" + ]. + """ + ] ; + ] + ] + ) + ] ; + . + +gsp:put_get_uri_pct_encoded_twice rdf:type mf:GraphStoreProtocolTest ; + mf:name "PUT/PUT/GET/GET (indirect graph identification; checking that we decode percent-encoding only once — for the request URL query — and not twice)" ; + mf:requires mf:IndirectGraphIdentification ; + mf:action [ + a ht:Connection ; + ht:connectionAuthority "www.example" ; + ht:requests ([ + a ht:Request ; + ht:absolutePath "/gsp?graph=http://www.example/gsp/person/%31.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "John Doe" + ]. + """ + ] ; + ht:httpVersion "1.1" ; + ht:methodName "PUT" ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:Created + ] + ] + [ + a ht:Request ; + ht:absolutePath "/gsp?graph=http://www.example/gsp/person/%2531.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "Jane Doe" + ]. + """ + ] ; + ht:httpVersion "1.1" ; + ht:methodName "PUT" ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:Created + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http://www.example/gsp/person/%31.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "John Doe" + ]. + """ + ] ; + ] + ] + [ + a ht:Request ; + ht:methodName "GET" ; + ht:httpVersion "1.1" ; + ht:absolutePath "/gsp?graph=http://www.example/gsp/person/%2531.ttl" ; + ht:headers ([ + a ht:RequestHeader ; + ht:fieldName "accept" ; + ht:fieldValue "text/turtle" + ] + ) ; + ht:resp [ + a ht:Response ; + mf:expectedStatus hts:OK ; + ht:headers ([ + a ht:ResponseHeader ; + ht:fieldName "content-type" ; + ht:fieldValue "text/turtle; charset=utf-8" + ] + ) ; + ht:body [ + a cnt:ContentAsText ; + cnt:characterEncoding "UTF-8" ; + cnt:chars """ + @prefix foaf: . + @prefix v: . + + a foaf:Person; + foaf:businessCard [ + a v:VCard; + v:fn "Jane Doe" + ]. + """ + ] ; + ] + ] + ) + ] ; + . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/graph-store-protocol/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/graph-store-protocol/manifest.ttl new file mode 100644 index 00000000000..9bcee724957 --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/graph-store-protocol/manifest.ttl @@ -0,0 +1,68 @@ +@prefix : . +@prefix dawg: . +@prefix gsp: . +@prefix mf: . +@prefix cnt: . +@prefix ht: . +@prefix hts: . +@prefix rdf: . +@prefix rdfs: . +@prefix sparql: . + +<> a mf:Manifest; + rdfs:label "SPARQL Graph Store Protocol"; + mf:specVersion sparql:version-1.1 ; + rdfs:comment """ + This manifests included here encode tests for the SPARQL Graph Store Protocol. + Each test record has one or more ht:Requests that must be run in order + to produce the expected results. + + Expected results are encoded in the ht:Response. The ht:Response may + have a `mf:expectedStatus` property, describing the expected HTTP + status code or class of status code (pointing to values + like `hts:Created` or `hts:StatusCode2xx`); + + The ht:Response may have a `mf:expectedLocation` property whose value + is a literal. In the presence of this property, the current response + must have a `Location` header field value. Futher, the literal value + must be used as a template variable and replaced in subsequent requests + with the header field value (replacement occurring in the request URI + as well as the request bodies). + + The ht:Response may include expected RDF response content, described + by `ht:headers` and `ht:body`. When present, the graph resulting from + parsing the ht:body content appropriately for the RDF format described + by the Content-Type header must be graph isomorphic to the one in the + response to the Graph Store Protocol request. + + Each request has a ht:absolutePath value that starts with `/gsp`. + A program using this manifest data to run the tests must replace this + value with whatever path prefix is appropriate for the Graph Store + Protocol endpoint being tested. + + Each test uses the `mf:requires` property to indicate that the test + requires the Graph Store Protocol endpoint being tested to support + the listed features in order for the test to run: + + * mf:DirectGraphIdentification + + Direct identification of graphs using a request path whose prefix + matches the endpoint (e.g. ). + + * mf:IndirectGraphIdentification + + Indirect identification of graphs using a request query parameter + with encoded graph URI (e.g. ). + + * mf:requires mf:POSTGraphCreation + + Support for a POST request to the endpoint (e.g. ) causing the + Graph Store to create a new graph, and return its IRI in the + response's Location header. + + """ ; + mf:include ( + + + ) + . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/grouping/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/grouping/manifest.ttl index ca28e68d48a..94d85b9689f 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/grouping/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/grouping/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Grouping" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :group01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/http-rdf-update/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/http-rdf-update/manifest.ttl index 20ecd6f49b4..87d21334c19 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/http-rdf-update/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/http-rdf-update/manifest.ttl @@ -4,11 +4,13 @@ @prefix mf: . @prefix rdf: . @prefix rdfs: . +@prefix sparql: . # Note: Comments are formated as Markdown for transformation to HTML version of manifest. <> a mf:Manifest; rdfs:label "SPARQL Graph Store Protocol"; + mf:specVersion sparql:version-1.1 ; mf:entries ( gsp:put__initial_state gsp:get_of_put__initial_state gsp:put__graph_already_in_store @@ -29,7 +31,8 @@ gsp:head_on_a_nonexisting_graph ) . gsp:put__initial_state a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "PUT - Initial state" ; rdfs:comment """ @@ -55,7 +58,8 @@ gsp:put__initial_state a mf:GraphStoreProtocolTest; """ . gsp:get_of_put__initial_state a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "GET of PUT - Initial state" ; rdfs:comment """ @@ -82,7 +86,8 @@ gsp:get_of_put__initial_state a mf:GraphStoreProtocolTest; """ . gsp:put__graph_already_in_store a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "PUT - graph already in store" ; rdfs:comment """ @@ -107,7 +112,8 @@ gsp:put__graph_already_in_store a mf:GraphStoreProtocolTest; """ . gsp:get_of_put__graph_already_in_store a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "GET of PUT - graph already in store" ; rdfs:comment """ @@ -134,7 +140,8 @@ gsp:get_of_put__graph_already_in_store a mf:GraphStoreProtocolTest; """ . gsp:put__default_graph a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "PUT - default graph" ; rdfs:comment """ @@ -159,7 +166,8 @@ gsp:put__default_graph a mf:GraphStoreProtocolTest; """ . gsp:get_of_put__default_graph a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "GET of PUT - default graph" ; rdfs:comment """ @@ -186,7 +194,8 @@ gsp:get_of_put__default_graph a mf:GraphStoreProtocolTest; """ . gsp:delete__existing_graph a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "DELETE - existing graph" ; rdfs:comment """ @@ -201,7 +210,8 @@ gsp:delete__existing_graph a mf:GraphStoreProtocolTest; """ . gsp:get_of_delete__existing_graph a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "GET of DELETE - existing graph" ; rdfs:comment """ @@ -216,7 +226,8 @@ gsp:get_of_delete__existing_graph a mf:GraphStoreProtocolTest; """ . gsp:delete__nonexistent_graph a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "DELETE - non-existent graph" ; rdfs:comment """ @@ -231,7 +242,8 @@ gsp:delete__nonexistent_graph a mf:GraphStoreProtocolTest; """ . gsp:post__existing_graph a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "POST - existing graph" ; rdfs:comment """ @@ -251,7 +263,8 @@ gsp:post__existing_graph a mf:GraphStoreProtocolTest; """ . gsp:get_of_post__existing_graph a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "GET of POST - existing graph" ; rdfs:comment """ @@ -278,7 +291,8 @@ gsp:get_of_post__existing_graph a mf:GraphStoreProtocolTest; """ . gsp:post__multipart_formdata a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "POST - multipart/form-data" ; rdfs:comment """ @@ -310,7 +324,8 @@ gsp:post__multipart_formdata a mf:GraphStoreProtocolTest; """ . gsp:get_of_post__multipart_formdata a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "GET of POST - multipart/form-data" ; rdfs:comment """ @@ -339,7 +354,8 @@ gsp:get_of_post__multipart_formdata a mf:GraphStoreProtocolTest; """ . gsp:post__create__new_graph a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "POST - create new graph" ; rdfs:comment """ @@ -365,7 +381,8 @@ gsp:post__create__new_graph a mf:GraphStoreProtocolTest; """ . gsp:get_of_post__create__new_graph a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "GET of POST - create new graph" ; rdfs:comment """ @@ -392,7 +409,8 @@ gsp:get_of_post__create__new_graph a mf:GraphStoreProtocolTest; """ . gsp:get_of_post__after_noop a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "GET of POST - after noop" ; rdfs:comment """ @@ -419,7 +437,8 @@ gsp:get_of_post__after_noop a mf:GraphStoreProtocolTest; """ . gsp:head_on_an_existing_graph a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "HEAD on an existing graph" ; rdfs:comment """ @@ -436,7 +455,8 @@ gsp:head_on_an_existing_graph a mf:GraphStoreProtocolTest; """ . gsp:head_on_a_nonexisting_graph a mf:GraphStoreProtocolTest; - dawg:approval dawg:Approved; + dawg:approval dawg:Deprecated; + rdfs:comment "This test is deprecated in favor of the tests in ../graph-store-protocol/manifest.ttl" ; dawg:approvedBy ; mf:name "HEAD on a non-existing graph" ; rdfs:comment """ diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/json-res/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/json-res/manifest.ttl index 911a54b1ac0..04381ffd36a 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/json-res/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/json-res/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "JSON Result Format" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :jsonres01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/manifest-all.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/manifest-all.ttl index 4dd6c94c06e..a5bc70eca38 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/manifest-all.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/manifest-all.ttl @@ -39,7 +39,7 @@ - + ) ; mf:includedSpecifications ( @@ -120,5 +120,5 @@ rdfs:label "SPARQL 1.1 Graph Store HTTP Protocol" ; mf:conformanceRequirement ( - + ). diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/manifest.ttl index c0d25d847a1..d9361b707fe 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/manifest.ttl @@ -1,11 +1,13 @@ PREFIX rdf: PREFIX rdfs: PREFIX mf: +@prefix sparql: . ## Manifest of query-update-results for SPARQL engines. <> a mf:Manifest ; rdfs:label "SPARQL 1.1 tests - engines" ; + mf:specVersion sparql:version-1.1 ; mf:include ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/move/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/move/manifest.ttl index 815a4babbc2..d063f50e1d0 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/move/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/move/manifest.ttl @@ -5,9 +5,11 @@ @prefix qt: . @prefix ut: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Move" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :move01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/negation/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/negation/manifest.ttl index 7078da7169c..43264d0ae84 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/negation/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/negation/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Negation" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :subset-by-exclusion-nex-1 @@ -123,7 +125,7 @@ :graph-minus rdf:type mf:QueryEvaluationTest ; mf:name "outer GRAPH operator does not affect MINUS disjointness" ; - mf:description "The outer GRAPH operator variable is not implied when checking that sides of the MINUS are disjoint." ; + rdfs:comment "The outer GRAPH operator variable is not implied when checking that sides of the MINUS are disjoint." ; mf:action [ qt:query ; qt:graphData ] ; diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/project-expression/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/project-expression/manifest.ttl index 1f3fa56b31f..7518f92db44 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/project-expression/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/project-expression/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Project Expression" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :projexp01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/property-path/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/property-path/manifest.ttl index d11608ece91..094d319656e 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/property-path/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/property-path/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Property Path" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :pp01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/protocol/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/protocol/manifest.ttl index f00cd4656d7..0183e8d8c7d 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/protocol/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/protocol/manifest.ttl @@ -9,9 +9,11 @@ @prefix hts: . @prefix sd: . @prefix ut: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "SPARQL Protocol" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment """ This manifest encodes tests for the SPARQL Protocol. Each test record has one or more ht:Requests that must be run in order to produce the diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/service-description/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/service-description/manifest.ttl index 53514f615cf..baaea4e67bc 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/service-description/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/service-description/manifest.ttl @@ -5,9 +5,11 @@ @prefix qt: . @prefix dawgt: . @prefix sd: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "SPARQL Service Description" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :has-endpoint-triple diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/service/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/service/manifest.ttl index 8b30e511920..e6b30525908 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/service/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/service/manifest.ttl @@ -5,9 +5,11 @@ @prefix qt: . @prefix dawgt: . @prefix sd: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "SPARQL Service" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :service1 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/service/service07.srx b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/service/service07.srx index 6e1fdf33c40..529bb8b7a38 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/service/service07.srx +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/service/service07.srx @@ -9,12 +9,10 @@ http://example.org/a Alan - http://example.org/b Bob - diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/subquery/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/subquery/manifest.ttl index e0d6ebfe751..8e210656131 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/subquery/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/subquery/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Sub query" ; + mf:specVersion sparql:version-1.1 ; mf:entries ( :subquery01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-fed/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-fed/manifest.ttl index 3fde2c07203..ec9788c74f4 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-fed/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-fed/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Syntax Federation" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "Syntax tests Syntax SPARQL 1.1 Federation" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-query/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-query/manifest.ttl index c3934400e6a..e0612038f8e 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-query/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-query/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Syntax Query" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "Syntax tests Syntax SPARQL 1.1" ; mf:entries ( @@ -458,13 +460,13 @@ mf:action ;. :test_61a rdf:type mf:NegativeSyntaxTest11 ; - dawgt:approval dawgt:Approved ; + dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:name "syntax-BINDscope7.rq" ; mf:action ;. :test_62a rdf:type mf:NegativeSyntaxTest11 ; - dawgt:approval dawgt:Approved ; + dawgt:approval dawgt:Approved ; dawgt:approvedBy ; mf:name "syntax-BINDscope8.rq" ; mf:action ;. @@ -640,13 +642,13 @@ :test_codepoint_escape_bad_02 rdf:type mf:NegativeSyntaxTest11 ; dawgt:approval dawgt:Proposed ; mf:name "Invalid multi-pass codepoint escaping (\\u then \\U)" ; - mf:description "Unescaping one escape sequence must not produce content that is used in another escape sequence" ; + rdfs:comment "Unescaping one escape sequence must not produce content that is used in another escape sequence" ; mf:action ;. :test_codepoint_escape_bad_03 rdf:type mf:NegativeSyntaxTest11 ; dawgt:approval dawgt:Proposed ; mf:name "Invalid multi-pass codepoint escaping (\\U then \\u)" ; - mf:description "Unescaping one escape sequence must not produce content that is used in another escape sequence" ; + rdfs:comment "Unescaping one escape sequence must not produce content that is used in another escape sequence" ; mf:action ;. :test_codepoint_boundaries_04 rdf:type mf:PositiveSyntaxTest11 ; @@ -662,13 +664,13 @@ :test_codepoint_invalid_escaped_bad_06 rdf:type mf:NegativeSyntaxTest11 ; dawgt:approval dawgt:Proposed ; mf:name "\\u unicode codepoint escaping in literal using partial surrogate pair" ; - mf:description "Using a codepoint that is half of a surrogate pair (in the range U+D800–U+DFFF) without a corresponding codepoint is illegal" ; + rdfs:comment "Using a codepoint that is half of a surrogate pair (in the range U+D800–U+DFFF) without a corresponding codepoint is illegal" ; mf:action ;. :test_bad_values_too_many rdf:type mf:NegativeSyntaxTest11 ; - mf:name "Too many values in a VALUE clause compared to the number of variables" ; - mf:action . + mf:name "Too many values in a VALUE clause compared to the number of variables" ; + mf:action . :test_bad_values_too_few rdf:type mf:NegativeSyntaxTest11 ; - mf:name "Too few values in a VALUE clause compared to the number of variables" ; - mf:action . + mf:name "Too few values in a VALUE clause compared to the number of variables" ; + mf:action . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-update-1/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-update-1/manifest.ttl index baa452944e2..246527f00ca 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-update-1/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-update-1/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Syntax Update 1" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "Syntax tests Syntax SPARQL Update" ; mf:entries ( @@ -380,8 +382,8 @@ mf:action ;. :test_53 rdf:type mf:PositiveUpdateSyntaxTest11 ; - dawgt:approval dawgt:Approved ; - dawgt:approvedBy ; + dawgt:approval dawgt:Approved ; + dawgt:approvedBy ; mf:name "syntax-update-53.ru" ; mf:action ;. diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-update-2/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-update-2/manifest.ttl index 2c9f00f2fff..766806cd6e7 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-update-2/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/syntax-update-2/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Syntax Update 2" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "Syntax tests Syntax SPARQL Update" ; mf:entries ( @@ -16,7 +18,7 @@ :syntax-update-other-01 mf:name "syntax-update-other-01" ; dawgt:approval dawgt:Approved ; - dawgt:approvedBy ; + dawgt:approvedBy ; rdf:type mf:PositiveUpdateSyntaxTest11 ; mf:action ; . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/update-silent/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/update-silent/manifest.ttl index c6d742a1b41..85b3d99c4f9 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql11/update-silent/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql11/update-silent/manifest.ttl @@ -5,9 +5,11 @@ @prefix ut: . @prefix dawgt: . @prefix sd: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "SPARQL 1.1 Update test cases for SILENT" ; + mf:specVersion sparql:version-1.1 ; rdfs:comment "The test cases in this manifest comprise cases of erroneous operations which should fail, but succeed because of the keyword SILENT" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-05.rq b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-05.rq index 85b06bffdca..8af03c0bd6c 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-05.rq +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-05.rq @@ -1,6 +1,8 @@ # Codepoint escape in an IRI -SELECT * { - ## /abc - ?p ?o . +SELECT ?v { + VALUES ?v { + # abc👾 + + } } diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-05.srx b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-05.srx new file mode 100644 index 00000000000..5c6f5cebbed --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-05.srx @@ -0,0 +1,13 @@ + + + + + + + + + http://example/abc👾 + + + + diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-06.rq b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-06.rq index a342a3e41d0..cde15458a7b 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-06.rq +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-06.rq @@ -1,6 +1,8 @@ # Codepoint escape in a string -SELECT * { - ## "abc" - ?p "\U00000061\u0062\U00000063" . +SELECT ?v { + VALUES ?v { + # "abc👾" + "\U00000061\u0062\U00000063\U0001F47E" + } } diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-06.srx b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-06.srx new file mode 100644 index 00000000000..dd1425df113 --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-06.srx @@ -0,0 +1,13 @@ + + + + + + + + + abc👾 + + + + diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-07.rq b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-07.rq index 106f3b6e5c9..38826984367 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-07.rq +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-07.rq @@ -1,6 +1,8 @@ # Codepoint escape in a string -SELECT * { - ## 'abc' - ?p '\U00000061\u0062\U00000063' . +SELECT ?v { + VALUES ?v { + # "abc👾" + '\U00000061\u0062\U00000063\U0001F47E' + } } diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-07.srx b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-07.srx new file mode 100644 index 00000000000..dd1425df113 --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-07.srx @@ -0,0 +1,13 @@ + + + + + + + + + abc👾 + + + + diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-08.nt b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-08.nt new file mode 100644 index 00000000000..d7dadc438ed --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-08.nt @@ -0,0 +1 @@ + "a\t\n\r\b\f\"\'\\a" . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-08.rq b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-08.rq new file mode 100644 index 00000000000..7ac088211a2 --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-08.rq @@ -0,0 +1,5 @@ +# Codepoint escape of special characters in strings + +PREFIX ex: +# a\t\n\r\b\f\"\'\\a +CONSTRUCT { ex:s ex:p "a\u0009\u000A\u000D\u0008\u000C\u0022\u0027\u005Ca" } WHERE {} diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-09.rq b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-09.rq new file mode 100644 index 00000000000..a95aa0278ca --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-09.rq @@ -0,0 +1,14 @@ +# Codepoint escape are not reused during parsing + +SELECT ?v { + VALUES ?v { + "abc\u005Cdef" + "abc\u005Ctuv" + "\u005CA" + "\\u005C" + "\u005C\u005C" + "\\\u005C" + "\\\\" + "\u005Cn" + } +} diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-09.srx b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-09.srx new file mode 100644 index 00000000000..428441a2e82 --- /dev/null +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/codepoint-esc-09.srx @@ -0,0 +1,48 @@ + + + + + + + + + abc\def + + + + + abc\tuv + + + + + \A + + + + + \u005C + + + + + \\ + + + + + \\ + + + + + \\ + + + + + \n + + + + diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/manifest.ttl index d9286ec27c8..035e830f26f 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/codepoint-escapes/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "SPARQL Codepoint-Escaping Tests" ; + mf:specVersion sparql:version-1.2 ; mf:entries ( :codepoint-esc-01-bad @@ -16,6 +18,8 @@ :codepoint-esc-05 :codepoint-esc-06 :codepoint-esc-07 + :codepoint-esc-08 + :codepoint-esc-09 :surrogate-esc-01-bad :surrogate-esc-02-bad @@ -49,23 +53,40 @@ rdfs:comment "Codepoint escape in variable" ; mf:action . -:codepoint-esc-05 rdf:type mf:PositiveSyntaxTest ; +:codepoint-esc-05 rdf:type mf:QueryEvaluationTest; dawgt:approval dawgt:Proposed ; mf:name "codepoint-esc-05.rq" ; rdfs:comment "Codepoint escape in IRI" ; - mf:action . + mf:action [ qt:query ] ; + mf:result . -:codepoint-esc-06 rdf:type mf:PositiveSyntaxTest ; +:codepoint-esc-06 rdf:type mf:QueryEvaluationTest ; dawgt:approval dawgt:Proposed ; mf:name "codepoint-esc-06.rq" ; rdfs:comment "Codepoint escape in string - double quoted string" ; - mf:action . + mf:action [ qt:query ] ; + mf:result . -:codepoint-esc-07 rdf:type mf:PositiveSyntaxTest ; +:codepoint-esc-07 rdf:type mf:QueryEvaluationTest ; dawgt:approval dawgt:Proposed ; mf:name "codepoint-esc-07.rq" ; rdfs:comment "Codepoint escape in string - single quoted string" ; - mf:action . + mf:action [ qt:query ] ; + mf:result . + +:codepoint-esc-08 rdf:type mf:QueryEvaluationTest ; + dawgt:approval dawgt:Proposed ; + mf:name "codepoint-esc-08.rq" ; + rdfs:comment "Codepoint escape in string - special characters" ; + mf:action [ qt:query ] ; + mf:result . + +:codepoint-esc-09 rdf:type mf:QueryEvaluationTest ; + dawgt:approval dawgt:Proposed ; + mf:name "codepoint-esc-09.rq" ; + rdfs:comment "Codepoint escape in string - parsing rules" ; + mf:action [ qt:query ] ; + mf:result . :surrogate-esc-01-bad rdf:type mf:NegativeSyntaxTest ; @@ -80,7 +101,6 @@ rdfs:comment "Surrogate - low-high - not accepted" ; mf:action . - :surrogate-esc-03-bad rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "surrogate-esc-03-bad.rq" ; diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/eval-triple-terms/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/eval-triple-terms/manifest.ttl index fce7a231453..d6bea3b9ab9 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/eval-triple-terms/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/eval-triple-terms/manifest.ttl @@ -5,9 +5,11 @@ @prefix qt: . @prefix ut: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Evaluation Triple Terms" ; + mf:specVersion sparql:version-1.2 ; rdfs:comment "Evaluation tests for triple terms in SPARQL 1.2" ; mf:entries ( diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/expression/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/expression/manifest.ttl index 6f257b43725..824c13aaeff 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/expression/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/expression/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Expression" ; + mf:specVersion sparql:version-1.2 ; mf:entries ( :not-not diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/grouping/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/grouping/manifest.ttl index c735171e639..6e4075a5244 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/grouping/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/grouping/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Grouping" ; + mf:specVersion sparql:version-1.2 ; mf:entries ( :group01 diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/lang-basedir/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/lang-basedir/manifest.ttl index fd1193a9a76..f7e1ee55798 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/lang-basedir/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/lang-basedir/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Language and base direction" ; + mf:specVersion sparql:version-1.2 ; mf:entries ( :haslang diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/manifest.ttl index 2a932c8ad83..a2e1e8a4ad6 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/manifest.ttl @@ -10,9 +10,11 @@ PREFIX dct: PREFIX xsd: PREFIX foaf: PREFIX skos: +@prefix sparql: . trs:manifest rdf:type mf:Manifest ; rdfs:label "SPARQL 1.2 tests"@en ; + mf:specVersion sparql:version-1.2 ; skos:prefLabel "La suite des tests pour SPARQL 1.2"@fr; skos:prefLabel "Conjunto de pruebas para SPARQL 1.2"@es; dct:issued "2023-12-01"^^xsd:date ; diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/rdf11/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/rdf11/manifest.ttl index ad98da45983..e0eedd712ed 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/rdf11/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/rdf11/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "RDF 1.1 literals handling" ; + mf:specVersion sparql:version-1.2 ; mf:entries ( :langstring-datatype diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/syntax-triple-terms-negative/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/syntax-triple-terms-negative/manifest.ttl index 5fa7b949fab..a91c084c316 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/syntax-triple-terms-negative/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/syntax-triple-terms-negative/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Negative Syntax Triple Terms" ; + mf:specVersion sparql:version-1.2 ; rdfs:comment "Negative syntax tests for triple terms in SPARQL 1.2" ; mf:entries ( @@ -80,389 +82,324 @@ :alternate-path-anonreifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "alternate-path-anonreifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :alternate-path-reifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "alternate-path-reifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :alternate-path-tripleterm rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "alternate-path-tripleterm.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-anonreifier-alternate-path rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-anonreifier-alternate-path.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-anonreifier-list-predicate rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-anonreifier-list-predicate.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-anonreifier-oneOrMore rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-anonreifier-oneOrMore.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-anonreifier-optional rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-anonreifier-optional.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-anonreifier-path-on-start rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-anonreifier-path-on-start.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-anonreifier-path rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-anonreifier-path.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-anonreifier-variable-path rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-anonreifier-variable-path.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-reifier-list-predicate rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-reifier-list-predicate.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-reifier-oneOrMore rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-reifier-oneOrMore.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-reifier-optional rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-reifier-optional.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-reifier-path-on-start rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-reifier-path-on-start.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-reifier-path rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-reifier-path.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-reifier-reifier-alternate-path rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-reifier-reifier-alternate-path.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotated-reifier-variable-path rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotated-reifier-variable-path.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bind-anonreified rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bind-anonreified.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bind-reified rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bind-reified.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bindbnode-anonreifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bindbnode-anonreifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bindbnode-reifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bindbnode-reifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bindbnode-tripleterm rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bindbnode-tripleterm.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bnode-predicate-anonreifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bnode-predicate-anonreifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bnode-predicate-reifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bnode-predicate-reifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bnode-predicate-tripleterm rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bnode-predicate-tripleterm.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :list-anonreifier-01 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "list-anonreifier-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :list-anonreifier-02 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "list-anonreifier-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :list-reifier-01 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "list-reifier-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :list-reifier-02 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "list-reifier-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :list-tripleterm-01 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "list-tripleterm-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :list-tripleterm-02 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "list-tripleterm-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :nested-annotated-path-anonreifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "nested-annotated-path-anonreifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :nested-annotated-path-reifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "nested-annotated-path-reifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-list-object-anonreifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-list-object-anonreifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-list-object-reifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-list-object-reifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-list-object-tripleterm rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-list-object-tripleterm.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-list-predicate-anonreifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-list-predicate-anonreifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-list-predicate-reifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-list-predicate-reifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-list-predicate-tripleterm rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-list-predicate-tripleterm.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-list-subject-anonreifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-list-subject-anonreifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-list-subject-reifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-list-subject-reifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-list-subject-tripleterm rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-list-subject-tripleterm.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-path-anonreifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-path-anonreifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-path-bind-anonreifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-path-bind-anonreifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-path-bind-reifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-path-bind-reifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-path-bind-tripleterm rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-path-bind-tripleterm.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-path-reifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-path-reifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-path-tripleterm rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-path-tripleterm.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-variable-path-anonreifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-variable-path-anonreifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-variable-path-reifier rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-variable-path-reifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :quoted-variable-path-tripleterm rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "quoted-variable-path-tripleterm.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :syntax-update-anonreifier-01 rdf:type mf:NegativeUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "syntax-update-anonreifier-01.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :syntax-update-anonreifier-02 rdf:type mf:NegativeUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "syntax-update-anonreifier-02.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :tripleterm-separate-01 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "tripleterm-separate-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :tripleterm-separate-02 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "tripleterm-separate-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :tripleterm-separate-03 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "tripleterm-separate-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :tripleterm-separate-04 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "tripleterm-separate-04.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :tripleterm-separate-05 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "tripleterm-separate-05.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :tripleterm-separate-06 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "tripleterm-separate-06.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :tripleterm-subject-01 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "Triple term in the subject position of a triple term (VALUES, simple)" ; - mf:specVersion "sparql-1.2"; mf:action . :tripleterm-subject-02 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "Triple term in the subject position of a triple term (VALUES, general)" ; - mf:specVersion "sparql-1.2"; mf:action . :tripleterm-subject-03 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "Triple term in the subject position of a triple term (expression)" ; - mf:specVersion "sparql-1.2"; mf:action . :tripleterm-subject-04 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "Literal in the subject position of a triple term (VALUES, simple)" ; - mf:specVersion "sparql-1.2"; mf:action . :tripleterm-subject-05 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "Literal in the subject position of a triple term (VALUES, general)" ; - mf:specVersion "sparql-1.2"; mf:action . :tripleterm-subject-06 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "Literal in the subject position of a triple term (expression)" ; - mf:specVersion "sparql-1.2"; mf:action . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/syntax-triple-terms-positive/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/syntax-triple-terms-positive/manifest.ttl index 7b833cf2fdd..290c94f7cb1 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/syntax-triple-terms-positive/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/syntax-triple-terms-positive/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Positive Syntax Triple Terms" ; + mf:specVersion sparql:version-1.2 ; rdfs:comment "Positive syntax tests for triple terms in SPARQL 1.2" ; mf:entries ( @@ -129,677 +131,564 @@ :annotation-anonreifier-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-anonreifier-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-anonreifier-03 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-anonreifier-04 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-04.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-anonreifier-05 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-05.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-anonreifier-06 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-06.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-anonreifier-07 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-07.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-anonreifier-08 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-08.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-anonreifier-09 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-09.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-anonreifier-multiple-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-multiple-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-anonreifier-multiple-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-multiple-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-anonreifier-multiple-03 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-multiple-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-anonreifier-multiple-04 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-anonreifier-multiple-04.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-03 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-04 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-04.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-05 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-05.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-06 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-06.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-07 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-07.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-08 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-08.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-09 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-09.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-multiple-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-multiple-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-multiple-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-multiple-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-multiple-03 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-multiple-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-multiple-04 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-multiple-04.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-multiple-05 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-multiple-05.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-multiple-06 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-multiple-06.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-multiple-07 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-multiple-07.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-multiple-08 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-multiple-08.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-multiple-09 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-multiple-09.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :annotation-reifier-multiple-10 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "annotation-reifier-multiple-10.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-anonreifier-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-anonreifier-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-anonreifier-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-anonreifier-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-anonreifier-03 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-anonreifier-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-anonreifier-04 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-anonreifier-04.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-anonreifier-06 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-anonreifier-06.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-anonreifier-07 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-anonreifier-07.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-anonreifier-08 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-anonreifier-08.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-anonreifier-09 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-anonreifier-09.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-anonreifier-10 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-anonreifier-10.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-anonreifier-11 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-anonreifier-11.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-anonreifier-12 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-anonreifier-12.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-anonreifier-13 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-anonreifier-13.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-reifier-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-reifier-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-reifier-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-reifier-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-reifier-03 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-reifier-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-reifier-04 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-reifier-04.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-reifier-06 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-reifier-06.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-reifier-07 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-reifier-07.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-reifier-08 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-reifier-08.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-reifier-09 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-reifier-09.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-reifier-10 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-reifier-10.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-reifier-11 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-reifier-11.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-reifier-12 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-reifier-12.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-reifier-13 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-reifier-13.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-tripleterm-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-tripleterm-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-tripleterm-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-tripleterm-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-tripleterm-03 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-tripleterm-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-tripleterm-04 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-tripleterm-04.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-tripleterm-05 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-tripleterm-05.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-tripleterm-06 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-tripleterm-06.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :basic-tripleterm-07 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "basic-tripleterm-07.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bnode-anonreifier-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bnode-anonreifier-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bnode-anonreifier-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bnode-anonreifier-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bnode-anonreifier-03 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bnode-anonreifier-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bnode-reifier-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bnode-reifier-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bnode-reifier-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bnode-reifier-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bnode-reifier-03 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bnode-reifier-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bnode-tripleterm-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bnode-tripleterm-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bnode-tripleterm-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bnode-tripleterm-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :bnode-tripleterm-03 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "bnode-tripleterm-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :compound-all rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "compound-all.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :compound-anonreifier rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "compound-anonreifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :compound-reifier rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "compound-reifier.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :compound-tripleterm rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "compound-tripleterm.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :compound-tripleterm-subject rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "compound-tripleterm-subject.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :expr-tripleterm-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "expr-tripleterm-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :expr-tripleterm-03 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "expr-tripleterm-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :expr-tripleterm-04 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "expr-tripleterm-04.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :expr-tripleterm-05 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "expr-tripleterm-05.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :expr-tripleterm-06 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "expr-tripleterm-06.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :inside-anonreifier-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "inside-anonreifier-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :inside-anonreifier-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "inside-anonreifier-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :inside-reifier-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "inside-reifier-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :inside-reifier-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "inside-reifier-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :inside-tripleterm-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "inside-tripleterm-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :inside-tripleterm-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "inside-tripleterm-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :nested-anonreifier-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "nested-anonreifier-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :nested-anonreifier-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "nested-anonreifier-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :nested-reifier-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "nested-reifier-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :nested-reifier-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "nested-reifier-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :nested-tripleterm-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "nested-tripleterm-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :nested-tripleterm-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "nested-tripleterm-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :subject-tripleterm rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "subject-tripleterm.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :update-anonreifier-01 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-anonreifier-01.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-anonreifier-02 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-anonreifier-02.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-anonreifier-03 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-anonreifier-03.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-anonreifier-04 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-anonreifier-04.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-anonreifier-05 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-anonreifier-05.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-anonreifier-06 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-anonreifier-06.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-reifier-01 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-reifier-01.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-reifier-02 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-reifier-02.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-reifier-03 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-reifier-03.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-reifier-04 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-reifier-04.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-reifier-05 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-reifier-05.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-reifier-06 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-reifier-06.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-reifier-07 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-reifier-07.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-reifier-08 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-reifier-08.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-tripleterm-01 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-tripleterm-01.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-tripleterm-03 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-tripleterm-03.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-tripleterm-04 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-tripleterm-04.ru" ; - mf:specVersion "sparql-1.2"; mf:action . :update-tripleterm-05 rdf:type mf:PositiveUpdateSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "update-tripleterm-05.ru" ; - mf:specVersion "sparql-1.2"; mf:action . diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/syntax/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/syntax/manifest.ttl index d9df1c4ad63..db1532e21b4 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/syntax/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/syntax/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . :manifest rdf:type mf:Manifest ; rdfs:label "Syntax" ; + mf:specVersion sparql:version-1.2 ; mf:entries ( :nested-aggregate-functions @@ -19,7 +21,7 @@ :nested-aggregate-functions rdf:type mf:NegativeSyntaxTest ; mf:name "Nested aggregate functions" ; - mf:comment "The expression argument of an aggregate function can not contain an aggregate function." ; + rdfs:comment "The expression argument of an aggregate function can not contain an aggregate function." ; mf:action . :duplicated-values-variable rdf:type mf:NegativeSyntaxTest ; diff --git a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/version/manifest.ttl b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/version/manifest.ttl index 9dfb936c850..cdb49534833 100644 --- a/jena-arq/testing/rdf-tests-cg/sparql/sparql12/version/manifest.ttl +++ b/jena-arq/testing/rdf-tests-cg/sparql/sparql12/version/manifest.ttl @@ -4,9 +4,11 @@ @prefix mf: . @prefix qt: . @prefix dawgt: . +@prefix sparql: . <> rdf:type mf:Manifest ; rdfs:label "Version announcement" ; + mf:specVersion sparql:version-1.2 ; mf:entries ( :version-01 @@ -24,53 +26,44 @@ :version-01 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "version-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :version-02 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "version-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :version-03 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "version-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :version-04 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "version-04.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :version-05 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "version-05.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :version-06 rdf:type mf:PositiveSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "version-06.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :version-bad-01 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "version-bad-01.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :version-bad-02 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "version-bad-02.rq" ; - mf:specVersion "sparql-1.2"; mf:action . :version-bad-03 rdf:type mf:NegativeSyntaxTest ; dawgt:approval dawgt:Proposed ; mf:name "version-bad-03.rq" ; - mf:specVersion "sparql-1.2"; mf:action . diff --git a/jena-core/src/main/java/org/apache/jena/util/LocationMapper.java b/jena-core/src/main/java/org/apache/jena/util/LocationMapper.java index 5d8c2256c64..268f4176262 100644 --- a/jena-core/src/main/java/org/apache/jena/util/LocationMapper.java +++ b/jena-core/src/main/java/org/apache/jena/util/LocationMapper.java @@ -30,17 +30,17 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -/** +/** * Alternative locations for URIs. Maintains two maps: * single item alternatives and alternative prefixes. * To suggest an alternative location, first check the single items, * then check the prefixes. - * + * * A LocationMapper can be configured by an RDF file. The default for this * is "etc/location-mapping.n3". - * + * * There is a default LocationMapper which is used by the global @link{FileManager}. - * + * * @see FileManager */ public class LocationMapper @@ -53,27 +53,24 @@ public class LocationMapper "file:etc/location-mapping.ttl" ; public static final String GlobalMapperSystemProperty1 = "http://jena.hpl.hp.com/2004/08/LocationMap" ; public static final String GlobalMapperSystemProperty2 = "LocationMap" ; - - static String s_globalMapperPath = null ; - + + static String s_globalMapperPath = null ; + Map altLocations = new HashMap<>() ; Map altPrefixes = new HashMap<>() ; - + static LocationMapper theMapper = null ; - + /** For use within Jena libraries only. */ - public static LocationMapper getInternal() - { - if ( theMapper == null ) - { - theMapper = new LocationMapper() ; + public static LocationMapper getInternal() { + if ( theMapper == null ) { + theMapper = new LocationMapper(); if ( getGlobalConfigPath() != null ) - theMapper.initFromPath(getGlobalConfigPath(), false) ; + theMapper.initFromPath(getGlobalConfigPath(), false); } - return theMapper ; + return theMapper; } - - + /** * Get the global LocationMapper. * @deprecated Use {@code StreamManager} and {@code LocationMapper} from {@code org.apache.jena.riot.system.stream}. @@ -81,340 +78,297 @@ public static LocationMapper getInternal() @Deprecated public static LocationMapper get() { return getInternal(); } - /** Set the global location mapper. (as returned by {@link #get()}) - * If called before any call to get(), then the usual default global location mapper is not created + * If called before any call to get(), then the usual default global location mapper is not created * @param globalLocationMapper */ - public static void setGlobalLocationMapper(LocationMapper globalLocationMapper) - { - theMapper = globalLocationMapper ; + public static void setGlobalLocationMapper(LocationMapper globalLocationMapper) { + theMapper = globalLocationMapper; } - /** Make a location mapper from the path settings */ - static public LocationMapper makeGlobal() - { - LocationMapper lMap = new LocationMapper() ; + /** Make a location mapper from the path settings */ + static public LocationMapper makeGlobal() { + LocationMapper lMap = new LocationMapper(); if ( getGlobalConfigPath() != null ) - lMap.initFromPath(getGlobalConfigPath(), false) ; - return lMap ; + lMap.initFromPath(getGlobalConfigPath(), false); + return lMap; } - + /** * Create a LocationMapper with no mapping yet * @deprecated Use {@code StreamManager} and {@code LocationMapper} from {@code org.apache.jena.riot.system.stream}. */ @Deprecated public LocationMapper() { } - + /** * Create a LocationMapper made like another one - * This is a deep copy of the location and prefix maps. + * This is a deep copy of the location and prefix maps. * @deprecated Use {@code StreamManager} and {@code LocationMapper} from {@code org.apache.jena.riot.system.stream}. */ @Deprecated - public LocationMapper(LocationMapper locMapper) - { - altLocations.putAll(locMapper.altLocations) ; - altPrefixes.putAll(locMapper.altPrefixes) ; + public LocationMapper(LocationMapper locMapper) { + altLocations.putAll(locMapper.altLocations); + altPrefixes.putAll(locMapper.altPrefixes); } - + /** Create a LocationMapper from an existing model * @see org.apache.jena.vocabulary.LocationMappingVocab * @deprecated Use {@code StreamManager} and {@code LocationMapper} from {@code org.apache.jena.riot.system.stream}. */ @Deprecated - public LocationMapper(Model model) - { - processConfig(model) ; + public LocationMapper(Model model) { + processConfig(model); } - + /** - * Create a LocationMapper from a config file - * @deprecated Use {@code StreamManager} and {@code LocationMapper} from {@code org.apache.jena.riot.system.stream}. + * Create a LocationMapper from a config file + * + * @deprecated Use {@code StreamManager} and {@code LocationMapper} from + * {@code org.apache.jena.riot.system.stream}. */ @Deprecated - public LocationMapper(String config) - { - initFromPath(config, true) ; + public LocationMapper(String config) { + initFromPath(config, true); } - - private void initFromPath(String configPath, boolean configMustExist) - { - if ( configPath == null || configPath.length() == 0 ) - { - log.warn("Null configuration") ; - return ; + + private void initFromPath(String configPath, boolean configMustExist) { + if ( configPath == null || configPath.length() == 0 ) { + log.warn("Null configuration"); + return; } - + // Make a file manager to look for the location mapping file - FileManager fm = new FileManagerImpl() ; - fm.addLocatorFile() ; - fm.addLocatorClassLoader(fm.getClass().getClassLoader()) ; - + FileManager fm = new FileManagerImpl(); + fm.addLocatorFile(); + fm.addLocatorClassLoader(fm.getClass().getClassLoader()); + try { - String uriConfig = null ; - InputStream in = null ; - - StringTokenizer pathElems = new StringTokenizer( configPath, FileManager.PATH_DELIMITER ); + String uriConfig = null; + InputStream in = null; + + StringTokenizer pathElems = new StringTokenizer(configPath, FileManager.PATH_DELIMITER); while (pathElems.hasMoreTokens()) { String uri = pathElems.nextToken(); if ( uri == null || uri.length() == 0 ) - break ; - - in = fm.openNoMap(uri) ; - if ( in != null ) - { - uriConfig = uri ; - break ; + break; + + in = fm.openNoMap(uri); + if ( in != null ) { + uriConfig = uri; + break; } } - if ( in == null ) - { - if ( ! configMustExist ) - log.debug("Failed to find configuration: "+configPath) ; - return ; + if ( in == null ) { + if ( !configMustExist ) + log.debug("Failed to find configuration: " + configPath); + return; } - String syntax = FileUtils.guessLang(uriConfig) ; - Model model = ModelFactory.createDefaultModel() ; - model.read(in, uriConfig, syntax) ; - processConfig(model) ; - } catch (JenaException ex) - { - LoggerFactory.getLogger(LocationMapper.class).warn("Error in configuration file: "+ex.getMessage()) ; + String syntax = FileUtils.guessLang(uriConfig); + Model model = ModelFactory.createDefaultModel(); + model.read(in, uriConfig, syntax); + processConfig(model); + } catch (JenaException ex) { + LoggerFactory.getLogger(LocationMapper.class).warn("Error in configuration file: " + ex.getMessage()); } } - - public String altMapping(String uri) - { - return altMapping(uri, uri) ; + + public String altMapping(String uri) { + return altMapping(uri, uri); } - /** Apply mappings: first try for an exact alternative location, then - * try to remap by prefix, finally, try the special case of filenames - * in a specific base directory. + /** + * Apply mappings: first try for an exact alternative location, then try to remap + * by prefix, finally, try the special case of filenames in a specific base + * directory. + * * @param uri * @param otherwise * @return The alternative location chosen */ - public String altMapping(String uri, String otherwise) - { - if ( altLocations.containsKey(uri)) - return altLocations.get(uri) ; - String newStart = null ; - String oldStart = null ; - for ( String prefix : altPrefixes.keySet() ) - { - if ( uri.startsWith( prefix ) ) - { - String s = altPrefixes.get( prefix ); - if ( newStart == null || newStart.length() < s.length() ) - { + public String altMapping(String uri, String otherwise) { + if ( altLocations.containsKey(uri) ) + return altLocations.get(uri); + String newStart = null; + String oldStart = null; + for ( String prefix : altPrefixes.keySet() ) { + if ( uri.startsWith(prefix) ) { + String s = altPrefixes.get(prefix); + if ( newStart == null || newStart.length() < s.length() ) { oldStart = prefix; newStart = s; } } } - + if ( newStart != null ) - return newStart+uri.substring(oldStart.length()) ; - - return otherwise ; + return newStart + uri.substring(oldStart.length()); + + return otherwise; + } + + public void addAltEntry(String uri, String alt) { + altLocations.put(uri, alt); + } + + public void addAltPrefix(String uriPrefix, String altPrefix) { + altPrefixes.put(uriPrefix, altPrefix); } - - public void addAltEntry(String uri, String alt) - { - altLocations.put(uri, alt) ; + /** Iterate over all the entries registered */ + public Iterator listAltEntries() { + return altLocations.keySet().iterator(); } - public void addAltPrefix(String uriPrefix, String altPrefix) - { - altPrefixes.put(uriPrefix, altPrefix) ; + /** Iterate over all the prefixes registered */ + public Iterator listAltPrefixes() { + return altPrefixes.keySet().iterator(); } - /** Iterate over all the entries registered */ - public Iterator listAltEntries() { return altLocations.keySet().iterator() ; } - /** Iterate over all the prefixes registered */ - public Iterator listAltPrefixes() { return altPrefixes.keySet().iterator() ; } - - public void removeAltEntry(String uri) - { - altLocations.remove(uri) ; + public void removeAltEntry(String uri) { + altLocations.remove(uri); } - public void removeAltPrefix(String uriPrefix) - { - altPrefixes.remove(uriPrefix) ; + public void removeAltPrefix(String uriPrefix) { + altPrefixes.remove(uriPrefix); } - public String getAltEntry(String uri) - { - return altLocations.get(uri) ; + + public String getAltEntry(String uri) { + return altLocations.get(uri); } - public String getAltPrefix(String uriPrefix) - { - return altPrefixes.get(uriPrefix) ; + public String getAltPrefix(String uriPrefix) { + return altPrefixes.get(uriPrefix); } - - - static private String getGlobalConfigPath() - { + + static private String getGlobalConfigPath() { if ( s_globalMapperPath == null ) - s_globalMapperPath = SystemUtils.getSystemProperty(GlobalMapperSystemProperty1,null) ; + s_globalMapperPath = SystemUtils.getSystemProperty(GlobalMapperSystemProperty1, null); if ( s_globalMapperPath == null ) - s_globalMapperPath = SystemUtils.getSystemProperty(GlobalMapperSystemProperty2,null) ; + s_globalMapperPath = SystemUtils.getSystemProperty(GlobalMapperSystemProperty2, null); if ( s_globalMapperPath == null ) - s_globalMapperPath = DEFAULT_PATH ; - return s_globalMapperPath ; + s_globalMapperPath = DEFAULT_PATH; + return s_globalMapperPath; } - + @Override - public int hashCode() - { - int x = 0 ; + public int hashCode() { + int x = 0; - for ( String k : altLocations.keySet() ) - { - String v = altLocations.get( k ); + for ( String k : altLocations.keySet() ) { + String v = altLocations.get(k); x = x ^ k.hashCode() ^ v.hashCode(); } - for ( String k : altPrefixes.keySet() ) - { - String v = altPrefixes.get( k ); + for ( String k : altPrefixes.keySet() ) { + String v = altPrefixes.get(k); x = x ^ k.hashCode() ^ v.hashCode(); } - return x ; + return x; } - + @Override - public boolean equals(Object obj) - { - if ( ! ( obj instanceof LocationMapper ) ) - return false ; - LocationMapper other = (LocationMapper)obj ; - + public boolean equals(Object obj) { + if ( !(obj instanceof LocationMapper) ) + return false; + LocationMapper other = (LocationMapper)obj; + if ( altLocations.size() != other.altLocations.size() ) - return false ; - + return false; + if ( altPrefixes.size() != other.altPrefixes.size() ) - return false ; + return false; - for ( String k : altLocations.keySet() ) - { - String v = altLocations.get( k ); - if ( !other.altLocations.get( k ).equals( v ) ) - { + for ( String k : altLocations.keySet() ) { + String v = altLocations.get(k); + if ( !other.altLocations.get(k).equals(v) ) { return false; } } - for ( String k : altPrefixes.keySet() ) - { - String v = altPrefixes.get( k ); - if ( !other.altPrefixes.get( k ).equals( v ) ) - { + for ( String k : altPrefixes.keySet() ) { + String v = altPrefixes.get(k); + if ( !other.altPrefixes.get(k).equals(v) ) { return false; } } - return true ; + return true; } - + @Override - public String toString() - { - String s = "" ; - for ( String k : altLocations.keySet() ) - { - String v = altLocations.get( k ); + public String toString() { + String s = ""; + for ( String k : altLocations.keySet() ) { + String v = altLocations.get(k); s = s + "(Loc:" + k + "=>" + v + ") "; } - for ( String k : altPrefixes.keySet() ) - { - String v = altPrefixes.get( k ); + for ( String k : altPrefixes.keySet() ) { + String v = altPrefixes.get(k); s = s + "(Prefix:" + k + "=>" + v + ") "; } - return s ; + return s; } - - public Model toModel() - { - Model m = ModelFactory.createDefaultModel() ; - m.setNsPrefix("lmap", "http://jena.hpl.hp.com/2004/08/location-mapping#") ; - toModel(m) ; - return m ; + + public Model toModel() { + Model m = ModelFactory.createDefaultModel(); + m.setNsPrefix("lmap", "http://jena.hpl.hp.com/2004/08/location-mapping#"); + toModel(m); + return m; } - - public void toModel(Model model) - { - for ( String s1 : altLocations.keySet() ) - { + public void toModel(Model model) { + + for ( String s1 : altLocations.keySet() ) { Resource r = model.createResource(); Resource e = model.createResource(); - model.add( r, LocationMappingVocab.mapping, e ); + model.add(r, LocationMappingVocab.mapping, e); String k = s1; - String v = altLocations.get( k ); - model.add( e, LocationMappingVocab.name, k ); - model.add( e, LocationMappingVocab.altName, v ); + String v = altLocations.get(k); + model.add(e, LocationMappingVocab.name, k); + model.add(e, LocationMappingVocab.altName, v); } - for ( String s : altPrefixes.keySet() ) - { + for ( String s : altPrefixes.keySet() ) { Resource r = model.createResource(); Resource e = model.createResource(); - model.add( r, LocationMappingVocab.mapping, e ); + model.add(r, LocationMappingVocab.mapping, e); String k = s; - String v = altPrefixes.get( k ); - model.add( e, LocationMappingVocab.prefix, k ); - model.add( e, LocationMappingVocab.altPrefix, v ); + String v = altPrefixes.get(k); + model.add(e, LocationMappingVocab.prefix, k); + model.add(e, LocationMappingVocab.altPrefix, v); } } - - public void processConfig(Model m) - { - StmtIterator mappings = - m.listStatements(null, LocationMappingVocab.mapping, (RDFNode)null) ; - - for (; mappings.hasNext();) - { - Statement s = mappings.nextStatement() ; - Resource mapping = s.getResource() ; - - if ( mapping.hasProperty(LocationMappingVocab.name) ) - { - try - { - String name = mapping.getRequiredProperty(LocationMappingVocab.name) - .getString() ; - String altName = mapping.getRequiredProperty(LocationMappingVocab.altName) - .getString() ; - addAltEntry(name, altName) ; - log.debug("Mapping: "+name+" => "+altName) ; - } catch (JenaException ex) - { - log.warn("Error processing name mapping: "+ex.getMessage()) ; - return ; + + public void processConfig(Model m) { + StmtIterator mappings = m.listStatements(null, LocationMappingVocab.mapping, (RDFNode)null); + + for ( ; mappings.hasNext() ; ) { + Statement s = mappings.nextStatement(); + Resource mapping = s.getResource(); + + if ( mapping.hasProperty(LocationMappingVocab.name) ) { + try { + String name = mapping.getRequiredProperty(LocationMappingVocab.name).getString(); + String altName = mapping.getRequiredProperty(LocationMappingVocab.altName).getString(); + addAltEntry(name, altName); + log.debug("Mapping: " + name + " => " + altName); + } catch (JenaException ex) { + log.warn("Error processing name mapping: " + ex.getMessage()); + return; } - + } - - if ( mapping.hasProperty(LocationMappingVocab.prefix) ) - { - try - { - String prefix = mapping.getRequiredProperty(LocationMappingVocab.prefix) - .getString() ; - String altPrefix = mapping.getRequiredProperty(LocationMappingVocab.altPrefix) - .getString() ; - addAltPrefix(prefix, altPrefix) ; - log.debug("Prefix mapping: "+prefix+" => "+altPrefix) ; - } catch (JenaException ex) - { - log.warn("Error processing prefix mapping: "+ex.getMessage()) ; - return ; + + if ( mapping.hasProperty(LocationMappingVocab.prefix) ) { + try { + String prefix = mapping.getRequiredProperty(LocationMappingVocab.prefix).getString(); + String altPrefix = mapping.getRequiredProperty(LocationMappingVocab.altPrefix).getString(); + addAltPrefix(prefix, altPrefix); + log.debug("Prefix mapping: " + prefix + " => " + altPrefix); + } catch (JenaException ex) { + log.warn("Error processing prefix mapping: " + ex.getMessage()); + return; } } } diff --git a/jena-core/src/main/java/org/apache/jena/vocabulary/TestManifest.java b/jena-core/src/main/java/org/apache/jena/vocabulary/TestManifest.java index 9e119925271..3a3c7bc38a8 100644 --- a/jena-core/src/main/java/org/apache/jena/vocabulary/TestManifest.java +++ b/jena-core/src/main/java/org/apache/jena/vocabulary/TestManifest.java @@ -19,78 +19,100 @@ * SPDX-License-Identifier: Apache-2.0 */ -package org.apache.jena.vocabulary ; +package org.apache.jena.vocabulary; -import org.apache.jena.rdf.model.* ; +import org.apache.jena.rdf.model.Property; +import org.apache.jena.rdf.model.Resource; +import org.apache.jena.rdf.model.ResourceFactory; public class TestManifest { - /**

The RDF model that holds the vocabulary terms

*/ - private static final Model m_model = ModelFactory.createDefaultModel(); - /**

The namespace of the vocabulary as a string

*/ + /** The namespace of the vocabulary as a string */ public static final String NS = "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#"; - /**

The namespace of the vocabulary as a string

- * @see #NS */ - public static String getURI() {return NS;} + /** + * The namespace of the vocabulary as a string + */ + public static String getURI() { return NS; } + + /** The namespace of the vocabulary as a resource */ + public static final Resource NAMESPACE = ResourceFactory.createResource(NS); - /**

The namespace of the vocabulary as a resource

*/ - public static final Resource NAMESPACE = m_model.createResource( NS ); + /** Spec Version label */ + public static final Property specVersion = ResourceFactory.createProperty(NS+"specVersion"); - /**

The expected outcome

*/ - public static final Property result = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result" ); + /** The expected outcome */ + public static final Property result = ResourceFactory.createProperty(NS+"result"); - /**

Action to perform

*/ - public static final Property action = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action" ); + /** Action to perform */ + public static final Property action = ResourceFactory.createProperty(NS+"action"); - /**

Optional name of this entry

*/ - public static final Property name = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name" ); + /** Optional name of this entry */ + public static final Property name = ResourceFactory.createProperty(NS+"name"); - /**

Connects the manifest resource to rdf:type list of entries

*/ - public static final Property entries = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#entries" ); + /** Connects the manifest resource to rdf:type list of entries */ + public static final Property entries = ResourceFactory.createProperty(NS+"entries"); - /**

Connects the manifest resource to rdf:type list of manifests

*/ - public static final Property include = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#include" ); + /** Connects the manifest resource to rdf:type list of manifests */ + public static final Property include = ResourceFactory.createProperty(NS+"include"); /** Assumed base for the tests in the manifest */ - public static final Property assumedTestBase = m_model.createProperty( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#assumedTestBase" ); - - /**

The given mf:result for a mf:ReducedCardinalityTest is the results as if the - * REDUCED keyword were omitted. To pass a mf:ReducedCardinalityTest, an implementation - * must produce a result set with each solution in the expected results appearing - * at least once and no more than the number of times it appears in the expected - * results. Of course, there must also be no results produced that are not in - * the expected results.

+ public static final Property assumedTestBase = ResourceFactory.createProperty(NS+"assumedTestBase"); + + /** + * The given mf:result for a mf:ReducedCardinalityTest is the results as if the + * REDUCED keyword were omitted. To pass a mf:ReducedCardinalityTest, an + * implementation must produce a result set with each solution in the expected + * results appearing at least once and no more than the number of times it + * appears in the expected results. Of course, there must also be no results + * produced that are not in the expected results. + */ + public static final Resource ReducedCardinalityTest = ResourceFactory.createResource(NS+"ReducedCardinalityTest"); + + /** + * A type of test specifically for query evaluation testing. Query evaluation + * tests are required to have an associated input dataset, a query, and an + * expected output dataset. */ - public static final Resource ReducedCardinalityTest = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ReducedCardinalityTest" ); + public static final Resource QueryEvaluationTest = ResourceFactory.createResource(NS+"QueryEvaluationTest"); - /**

A type of test specifically for query evaluation testing. Query evaluation - * tests are required to have an associated input dataset, a query, and an expected - * output dataset.

+ /** + * A type of test specifically for syntax testing. Syntax tests are not required + * to have an associated result, only an action. Negative syntax tests are tests + * of which the result should be a parser error. */ - public static final Resource QueryEvaluationTest = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#QueryEvaluationTest" ); + public static final Resource NegativeSyntaxTest = ResourceFactory.createResource(NS+"NegativeSyntaxTest"); - /**

A type of test specifically for syntax testing. Syntax tests are not required - * to have an associated result, only an action. Negative syntax tests are tests - * of which the result should be a parser error.

+ /** + * A type of test specifically for syntax testing. Syntax tests are not required + * to have an associated result, only an action. */ - public static final Resource NegativeSyntaxTest = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#NegativeSyntaxTest" ); + public static final Resource PositiveSyntaxTest = ResourceFactory.createResource(NS+"PositiveSyntaxTest"); - /**

A type of test specifically for syntax testing. Syntax tests are not required - * to have an associated result, only an action.

+ /** + * A type of test specifically for update syntax testing. */ - public static final Resource PositiveSyntaxTest = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#PositiveSyntaxTest" ); + public static final Resource PositiveUpdateSyntaxTest = ResourceFactory.createResource(NS+"PositiveUpdateSyntaxTest"); + + /** + * A type of test specifically for update syntax testing. + * Negative syntax tests are tests of which the result should be a parser error. + */ + public static final Resource NegativeUpdateSyntaxTest = ResourceFactory.createResource(NS+"NegativeUpdateSyntaxTest"); + + /** The class of all SPARQL Update evaluation tests */ + public static final Resource UpdateEvaluationTest = ResourceFactory.createResource( NS+"UpdateEvaluationTest" ); - /**

One entry in rdf:type list of entries

*/ - public static final Resource ManifestEntry = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry" ); + /** One entry in rdf:type list of entries */ + public static final Resource ManifestEntry = ResourceFactory.createResource(NS+"ManifestEntry"); - /**

The class of manifests

*/ - public static final Resource Manifest = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#Manifest" ); + /** The class of manifests */ + public static final Resource Manifest = ResourceFactory.createResource(NS+"Manifest"); - public static final Resource accepted = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#accepted" ); + public static final Resource accepted = ResourceFactory.createResource(NS+"accepted"); - public static final Resource proposed = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#proposed" ); + public static final Resource proposed = ResourceFactory.createResource(NS+"proposed"); - public static final Resource rejected = m_model.createResource( "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#rejected" ); + public static final Resource rejected = ResourceFactory.createResource(NS+"rejected"); }