| @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| @prefix dc: <http://purl.org/dc/elements/1.1/> . |
| |
| @prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> . |
| @prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> . |
| @prefix : <http://www.w3.org/2009/sparql/tests/test-update#> . |
| |
| ## Update-specific test vocabulary for a manifest action. |
| |
| : rdfs:comment "Some extraocabulary for update test cases this vocabulary extends qt: to describe update test cases." ; |
| dc:creator "Axel Polleres" ; |
| dc:subject "" ; |
| dc:publisher "W3C SPARQL Working Group" ; |
| dc:title "Update test case vocabulary" ; |
| dc:description "Update test case vocabulary" ; |
| dc:date "2010-04" ; |
| dc:format "RDF" ; |
| dc:identifier : ; |
| . |
| ## ---- Class declarations ---- |
| # Legacy |
| |
| :UpdateTest |
| rdfs:comment "The superclass of all SPARQL 1.1 Update tests" . |
| |
| :UpdateEvaluationTest a rdfs:Class ; |
| rdfs:comment "The class of all SPARQL 1.1 Update evaluation tests" . |
| |
| :UpdateEvaluationTest rdfs:subClassOf :UpdateTest. |
| |
| :Result a rdfs:Class ; |
| rdfs:comment "The class of all SPARQL 1.1 Update results" . |
| |
| ## ---- Property declarations ---- |
| |
| :request a rdf:Property ; |
| rdfs:comment "The update query to ask" ; |
| rdfs:domain :UpdateTest ; |
| # rdfs:range ?? ; |
| . |
| |
| :data a rdf:Property ; |
| rdfs:comment "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)" ; |
| rdfs:domain :UpdateTest ; |
| rdfs:range rdfs:Resource ; |
| . |
| |
| :graphData a rdf:Property ; |
| rdfs:comment "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)" ; |
| rdfs:domain :UpdateTest ; |
| rdfs:range rdfs:Resource ; |
| . |
| |
| :graph a rdf:Property . |
| |
| |
| ## ---- Update results ---- |
| |
| :success a :Result; |
| rdfs:comment "test shall pass without failure" . |
| |
| :malformed-update a :Result; |
| rdfs:comment "test failure, cf. http://www.w3.org/TR/sparql11-protocol/#update-fault-messages" . |
| |
| :graph-does-not-exist a :Result; |
| rdfs:comment "test failure, cf. http://www.w3.org/TR/sparql11-protocol/#update-fault-messages" . |
| |
| :graph-already-exists a :Result; |
| rdfs:comment "test failure, cf. http://www.w3.org/TR/sparql11-protocol/#update-fault-messages" . |
| |
| :update-request-refused a :Result; |
| rdfs:comment "test failure, cf. http://www.w3.org/TR/sparql11-protocol/#update-fault-messages" . |