Mercurial > repos > greg > greg_sparql
comparison sparql-7785ad38967f/sparql/sparql/test/dawg/test-dawg.n3 @ 0:46996d3b1cfb default tip
Uploaded
author | greg |
---|---|
date | Tue, 13 Mar 2012 16:29:09 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:46996d3b1cfb |
---|---|
1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
2 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
3 @prefix dc: <http://purl.org/dc/elements/1.1/> . | |
4 @prefix owl: <http://www.w3.org/2002/07/owl#> . | |
5 @prefix dawgt: <http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#> . | |
6 @prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> . | |
7 | |
8 # RDF Core tests | |
9 @prefix rct: <http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#> . | |
10 | |
11 dawgt: rdfs:comment "Vocabulary for DAWG test cases" ; | |
12 dc:creator "Andy Seaborne" ; | |
13 dc:subject "" ; | |
14 dc:publisher "W3C RDF Data Access Working Group" ; | |
15 dc:title "Vocabulary for DAWG test cases" ; | |
16 dc:description "Vocabulary for DAWG test cases" ; | |
17 dc:date "2004-07" ; | |
18 dc:format "RDF" ; | |
19 dc:identifier dawgt: ; | |
20 . | |
21 | |
22 | |
23 ## ---- Classes ---- | |
24 | |
25 dawgt:ResultForm rdf:type rdfs:Class ; | |
26 rdfs:comment "Super class of all result forms" ; | |
27 . | |
28 | |
29 dawgt:Status rdf:type rdfs:Class ; | |
30 rdfs:comment "Super class of all test status classes" ; | |
31 . | |
32 | |
33 ## ---- Properties ---- | |
34 | |
35 # Could be a subPropertyOf rdf:type | |
36 # or could just use rdf:type. | |
37 dawgt:resultForm rdf:type rdf:Property ; | |
38 rdfs:range dawgt:ResultForm ; | |
39 rdfs:isDefinedBy dawgt: ; | |
40 . | |
41 | |
42 #dawgt:status rdf:type rdf:Property ; | |
43 # rdfs:range dawgt:Status ; | |
44 # rdfs:isDefinedBy dawgt: ; | |
45 # rdfs:label "Status" ; | |
46 # . | |
47 | |
48 dawgt:approval rdf:type rdf:Property ; | |
49 rdfs:range dawgt:Status ; | |
50 rdfs:isDefinedBy dawgt: ; | |
51 rdfs:comment "The approval status of the test with respect to the working group." ; | |
52 rdfs:label "Approval" ; | |
53 . | |
54 | |
55 dawgt:approvedBy rdf:type rdf:Property ; | |
56 rdfs:comment "Contains a reference to the minutes of the RDF Data Access Working Group where the test case status was last changed." ; | |
57 rdfs:label "Approval" ; | |
58 owl:sameAs rct:approval ; | |
59 . | |
60 | |
61 dawgt:description rdf:type rdf:Property ; | |
62 rdfs:comment "A human-readable summary of the test case."; | |
63 rdfs:label "Description" ; | |
64 owl:sameAs rct:description ; | |
65 . | |
66 | |
67 dawgt:issue rdf:type rdf:Property ; | |
68 rdfs:comment "Contains a pointer to the associated issue on the RDF Data Access Working Group Tracking document."; | |
69 owl:sameAs rct:issue ; | |
70 rdfs:label "Issue" . | |
71 | |
72 dawgt:warning rdf:type rdf:Property; | |
73 rdfs:comment "Indicates that while the test should pass, it may generate a warning."; | |
74 owl:sameAs rct:warning ; | |
75 rdfs:label "Warning" . | |
76 | |
77 ## ---- Defined terms ---- | |
78 | |
79 ## ---- Test statuses | |
80 | |
81 dawgt:NotClassified rdfs:subClassOf dawgt:Status ; | |
82 rdfs:comment "Class of tests that have not been classified" ; | |
83 rdfs:label "NotClassified" . | |
84 | |
85 dawgt:Approved rdfs:subClassOf dawgt:Status ; | |
86 rdfs:comment "Class of tests that are Approved" ; | |
87 rdfs:label "Approved" . | |
88 | |
89 dawgt:Rejected rdfs:subClassOf dawgt:Status ; | |
90 rdfs:comment "Class of tests that are Rejected" ; | |
91 rdfs:label "Rejected" . | |
92 | |
93 dawgt:Obsoleted rdfs:subClassOf dawgt:Status ; | |
94 rdfs:comment "Class of tests that are Obsolete" ; | |
95 rdfs:label "Obsoleted" . | |
96 | |
97 dawgt:Withdrawn rdfs:subClassOf dawgt:Status ; | |
98 rdfs:comment "Class of tests that have been Withdrawn" ; | |
99 rdfs:label "Withdrawn" . | |
100 | |
101 | |
102 ## ---- Result forms | |
103 ## The result may still be encoded in RDF - classifying it helps | |
104 ## check for expected form. | |
105 | |
106 dawgt:ResultSet rdfs:subClassOf dawgt:ResultForm ; | |
107 rdfs:comment "Class of result expected to be from a SELECT query" ; | |
108 rdfs:label "Result Set" . | |
109 | |
110 dawgt:ResultGraph rdfs:subClassOf dawgt:ResultForm ; | |
111 rdfs:comment "Class of result expected to be a graph" ; | |
112 rdfs:label "Graph Result" . | |
113 | |
114 dawgt:ResultBoolean rdfs:subClassOf dawgt:ResultForm ; | |
115 rdfs:comment "Class of result expected to be a boolean" ; | |
116 rdfs:label "Boolean Result" . |