earl-report 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +99 -0
- data/VERSION +1 -0
- data/bin/earl-report +68 -0
- data/lib/earl_report.rb +424 -0
- data/spec/earl_report_spec.rb +373 -0
- data/spec/spec_helper.rb +19 -0
- data/spec/test-files/doap.ttl +33 -0
- data/spec/test-files/foaf.ttl +4 -0
- data/spec/test-files/manifest.ttl +26 -0
- data/spec/test-files/report-complete.ttl +48 -0
- data/spec/test-files/report-no-doap.ttl +23 -0
- data/spec/test-files/report-no-foaf.ttl +45 -0
- data/spec/test-files/results.html +229 -0
- data/spec/test-files/results.jsonld +130 -0
- data/spec/test-files/results.ttl +45 -0
- data/spec/test-files/test-00.out +1 -0
- data/spec/test-files/test-00.ttl +2 -0
- metadata +125 -0
@@ -0,0 +1,48 @@
|
|
1
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
2
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
3
|
+
@prefix dc: <http://purl.org/dc/terms/> .
|
4
|
+
@prefix earl: <http://www.w3.org/ns/earl#> .
|
5
|
+
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
|
6
|
+
@prefix doap: <http://usefulinc.com/ns/doap#> .
|
7
|
+
@prefix ex: <http://example.org/> .
|
8
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
9
|
+
|
10
|
+
<http://rubygems.org/gems/rdf-turtle> a doap:Project, earl:TestSubject, earl:Software ;
|
11
|
+
doap:name "RDF::Turtle" ;
|
12
|
+
doap:homepage <http://ruby-rdf.github.com/rdf-turtle> ;
|
13
|
+
doap:license <http://creativecommons.org/licenses/publicdomain/> ;
|
14
|
+
doap:shortdesc "Turtle reader/writer for Ruby."@en ;
|
15
|
+
doap:description "RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite."@en ;
|
16
|
+
doap:created "2011-08-29"^^xsd:date;
|
17
|
+
doap:programming-language "Ruby" ;
|
18
|
+
doap:implements <http://www.w3.org/TR/turtle/> ;
|
19
|
+
doap:category <http://dbpedia.org/resource/Resource_Description_Framework>,
|
20
|
+
<http://dbpedia.org/resource/Ruby_(programming_language)> ;
|
21
|
+
doap:download-page <http://rubygems.org/gems/rdf-turtle> ;
|
22
|
+
doap:mailing-list <http://lists.w3.org/Archives/Public/public-rdf-ruby/> ;
|
23
|
+
doap:bug-database <http://github.com/ruby-rdf/rdf-turtle/issues> ;
|
24
|
+
doap:blog <http://greggkellogg.net/> ;
|
25
|
+
doap:developer <http://greggkellogg.net/foaf#me> ;
|
26
|
+
doap:maintainer <http://greggkellogg.net/foaf#me> ;
|
27
|
+
doap:documenter <http://greggkellogg.net/foaf#me> ;
|
28
|
+
foaf:maker <http://greggkellogg.net/foaf#me> ;
|
29
|
+
dc:title "RDF::Turtle" ;
|
30
|
+
dc:description "RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite."@en ;
|
31
|
+
dc:date "2011-08-29"^^xsd:date;
|
32
|
+
dc:creator <http://greggkellogg.net/foaf#me>;
|
33
|
+
dc:isPartOf <http://rubygems.org/gems/rdf> .
|
34
|
+
|
35
|
+
<http://greggkellogg.net/foaf#me> a foaf:Person, earl:Assertor;
|
36
|
+
foaf:name "Gregg Kellogg";
|
37
|
+
foaf:title "Implementor";
|
38
|
+
foaf:homepage <http://greggkellogg.net/> .
|
39
|
+
|
40
|
+
[ a earl:Assertion;
|
41
|
+
earl:assertedBy <http://greggkellogg.net/foaf#me>;
|
42
|
+
earl:subject <http://rubygems.org/gems/rdf-turtle>;
|
43
|
+
earl:test <http://example/manifest.ttl#testeval00>;
|
44
|
+
earl:result [
|
45
|
+
a earl:TestResult;
|
46
|
+
earl:outcome earl:passed;
|
47
|
+
dc:date "2012-11-06T19:23:29-08:00"^^xsd:dateTime];
|
48
|
+
earl:mode earl:automatic ] .
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
2
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
3
|
+
@prefix dc: <http://purl.org/dc/terms/> .
|
4
|
+
@prefix earl: <http://www.w3.org/ns/earl#> .
|
5
|
+
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
|
6
|
+
@prefix doap: <http://usefulinc.com/ns/doap#> .
|
7
|
+
@prefix ex: <http://example.org/> .
|
8
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
9
|
+
|
10
|
+
<http://greggkellogg.net/foaf#me> a foaf:Person, earl:Assertor;
|
11
|
+
foaf:name "Gregg Kellogg";
|
12
|
+
foaf:title "Implementor";
|
13
|
+
foaf:homepage <http://greggkellogg.net/> .
|
14
|
+
|
15
|
+
[ a earl:Assertion;
|
16
|
+
earl:assertedBy <http://greggkellogg.net/foaf#me>;
|
17
|
+
earl:subject <http://rubygems.org/gems/rdf-turtle>;
|
18
|
+
earl:test <http://example/manifest.ttl#testeval00>;
|
19
|
+
earl:result [
|
20
|
+
a earl:TestResult;
|
21
|
+
earl:outcome earl:passed;
|
22
|
+
dc:date "2012-11-06T19:23:29-08:00"^^xsd:dateTime];
|
23
|
+
earl:mode earl:automatic ] .
|
@@ -0,0 +1,45 @@
|
|
1
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
2
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
3
|
+
@prefix dc: <http://purl.org/dc/terms/> .
|
4
|
+
@prefix earl: <http://www.w3.org/ns/earl#> .
|
5
|
+
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
|
6
|
+
@prefix doap: <http://usefulinc.com/ns/doap#> .
|
7
|
+
@prefix ex: <http://example.org/> .
|
8
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
9
|
+
|
10
|
+
<http://rubygems.org/gems/rdf-turtle> a doap:Project, earl:TestSubject, earl:Software ;
|
11
|
+
doap:name "RDF::Turtle" ;
|
12
|
+
doap:homepage <http://ruby-rdf.github.com/rdf-turtle> ;
|
13
|
+
doap:license <http://creativecommons.org/licenses/publicdomain/> ;
|
14
|
+
doap:shortdesc "Turtle reader/writer for Ruby."@en ;
|
15
|
+
doap:description "RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite."@en ;
|
16
|
+
doap:created "2011-08-29"^^xsd:date;
|
17
|
+
doap:programming-language "Ruby" ;
|
18
|
+
doap:implements <http://www.w3.org/TR/turtle/> ;
|
19
|
+
doap:category <http://dbpedia.org/resource/Resource_Description_Framework>,
|
20
|
+
<http://dbpedia.org/resource/Ruby_(programming_language)> ;
|
21
|
+
doap:download-page <http://rubygems.org/gems/rdf-turtle> ;
|
22
|
+
doap:mailing-list <http://lists.w3.org/Archives/Public/public-rdf-ruby/> ;
|
23
|
+
doap:bug-database <http://github.com/ruby-rdf/rdf-turtle/issues> ;
|
24
|
+
doap:blog <http://greggkellogg.net/> ;
|
25
|
+
doap:developer <http://greggkellogg.net/foaf#me> ;
|
26
|
+
doap:maintainer <http://greggkellogg.net/foaf#me> ;
|
27
|
+
doap:documenter <http://greggkellogg.net/foaf#me> ;
|
28
|
+
foaf:maker <http://greggkellogg.net/foaf#me> ;
|
29
|
+
dc:title "RDF::Turtle" ;
|
30
|
+
dc:description "RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite."@en ;
|
31
|
+
dc:date "2011-08-29"^^xsd:date;
|
32
|
+
dc:creator <http://greggkellogg.net/foaf#me>
|
33
|
+
dc:isPartOf <http://rubygems.org/gems/rdf> .
|
34
|
+
|
35
|
+
<http://greggkellogg.net/foaf#me> a earl:Assertor .
|
36
|
+
|
37
|
+
[ a earl:Assertion;
|
38
|
+
earl:assertedBy <http://greggkellogg.net/foaf#me>;
|
39
|
+
earl:subject <http://rubygems.org/gems/rdf-turtle>;
|
40
|
+
earl:test <http://example/manifest.ttl#testeval00>;
|
41
|
+
earl:result [
|
42
|
+
a earl:TestResult;
|
43
|
+
earl:outcome earl:passed;
|
44
|
+
dc:date "2012-11-06T19:23:29-08:00"^^xsd:dateTime];
|
45
|
+
earl:mode earl:automatic ] .
|
@@ -0,0 +1,229 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang='en'>
|
3
|
+
<head>
|
4
|
+
<meta content='text/html;charset=utf-8' http-equiv='Content-Type' />
|
5
|
+
<title property='doap:name'>Turtle Test Results</title>
|
6
|
+
<link href='' property='doap:homepage' />
|
7
|
+
<script class='remove' src='http://www.w3.org/Tools/respec/respec-w3c-common' type='text/javascript'></script>
|
8
|
+
<script type='text/javascript'>
|
9
|
+
//<![CDATA[
|
10
|
+
var respecConfig = {
|
11
|
+
// specification status (e.g. WD, LCWD, NOTE, etc.). If in doubt use ED.
|
12
|
+
specStatus: "unofficial",
|
13
|
+
copyrightStart: "2010",
|
14
|
+
doRDFa: "1.1",
|
15
|
+
|
16
|
+
// the specification's short name, as in http://www.w3.org/TR/short-name/
|
17
|
+
shortName: "{{shortName}}",
|
18
|
+
subtitle: "{{subtitle}}",
|
19
|
+
// if you wish the publication date to be other than today, set this
|
20
|
+
publishDate: "2012/11/16",
|
21
|
+
|
22
|
+
// if there is a previously published draft, uncomment this and set its YYYY-MM-DD date
|
23
|
+
// and its maturity status
|
24
|
+
//previousPublishDate: "2011-10-23",
|
25
|
+
//previousMaturity: "ED",
|
26
|
+
//previousDiffURI: "http://json-ld.org/spec/ED/json-ld-syntax/20111023/index.html",
|
27
|
+
//diffTool: "http://www.aptest.com/standards/htmldiff/htmldiff.pl",
|
28
|
+
|
29
|
+
// if there a publicly available Editor's Draft, this is the link
|
30
|
+
//edDraftURI: "",
|
31
|
+
|
32
|
+
// if this is a LCWD, uncomment and set the end of its review period
|
33
|
+
// lcEnd: "2009-08-05",
|
34
|
+
|
35
|
+
// if you want to have extra CSS, append them to this list
|
36
|
+
// it is recommended that the respec.css stylesheet be kept
|
37
|
+
extraCSS: [
|
38
|
+
"http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css"
|
39
|
+
],
|
40
|
+
|
41
|
+
// editors, add as many as you like
|
42
|
+
// only "name" is required
|
43
|
+
editors: ["{{editors}}"],
|
44
|
+
|
45
|
+
// authors, add as many as you like.
|
46
|
+
// This is optional, uncomment if you have authors as well as editors.
|
47
|
+
// only "name" is required. Same format as editors.
|
48
|
+
authors: [
|
49
|
+
],
|
50
|
+
|
51
|
+
// name of the WG
|
52
|
+
wg: "{{wg}}",
|
53
|
+
|
54
|
+
// URI of the public WG page
|
55
|
+
wgURI: "{{wgURI}}",
|
56
|
+
|
57
|
+
// name (with the @w3c.org) of the public mailing to which comments are due
|
58
|
+
wgPublicList: "{{wgPublicList}}",
|
59
|
+
|
60
|
+
// URI of the patent status for this WG, for Rec-track documents
|
61
|
+
// !!!! IMPORTANT !!!!
|
62
|
+
// This is important for Rec-track documents, do not copy a patent URI from a random
|
63
|
+
// document unless you know what you're doing. If in doubt ask your friendly neighbourhood
|
64
|
+
// Team Contact.
|
65
|
+
wgPatentURI: "{{wgPatentURI}}",
|
66
|
+
//alternateFormats: [ {uri: "diff-20120112.html", label: "diff to previous version"} ],
|
67
|
+
};
|
68
|
+
//]]>
|
69
|
+
</script>
|
70
|
+
<style type='text/css'>
|
71
|
+
/*<![CDATA[*/
|
72
|
+
span[property='dc:description'] { display: none; }
|
73
|
+
td.PASS { color: green; }
|
74
|
+
td.FAIL { color: red; }
|
75
|
+
table.report {
|
76
|
+
border-width: 1px;
|
77
|
+
border-spacing: 2px;
|
78
|
+
border-style: outset;
|
79
|
+
border-color: gray;
|
80
|
+
border-collapse: separate;
|
81
|
+
background-color: white;
|
82
|
+
}
|
83
|
+
table.report th {
|
84
|
+
border-width: 1px;
|
85
|
+
padding: 1px;
|
86
|
+
border-style: inset;
|
87
|
+
border-color: gray;
|
88
|
+
background-color: white;
|
89
|
+
-moz-border-radius: ;
|
90
|
+
}
|
91
|
+
table.report td {
|
92
|
+
border-width: 1px;
|
93
|
+
padding: 1px;
|
94
|
+
border-style: inset;
|
95
|
+
border-color: gray;
|
96
|
+
background-color: white;
|
97
|
+
-moz-border-radius: ;
|
98
|
+
}
|
99
|
+
pre.example.inputDoc, pre.example.resultDoc { margin-left: 0;}
|
100
|
+
pre.example.inputDoc::before { content: "Input Document";}
|
101
|
+
pre.example.sparqlResults::before { content: "Result Document";}
|
102
|
+
/*]]>*/
|
103
|
+
</style>
|
104
|
+
</head>
|
105
|
+
<body prefix='earl: http://www.w3.org/ns/earl# doap: http://usefulinc.com/ns/doap#'>
|
106
|
+
<section about='' id='abstract' typeof='["earl:Software", "doap:Project"]'>
|
107
|
+
<p>
|
108
|
+
This document report processor conformance for and related specifications
|
109
|
+
[[TURTLE]]
|
110
|
+
according to the requirements of the Evaluation and Report Language (EARL) 1.0 Schema [[EARL10-SCHEMA]].
|
111
|
+
</p>
|
112
|
+
<p>
|
113
|
+
This document describes
|
114
|
+
<span property='doap:name'>Turtle Test Results</span>
|
115
|
+
.
|
116
|
+
</p>
|
117
|
+
<p>
|
118
|
+
This report is also available in alternate formats:
|
119
|
+
<a href='earl.ttl'>
|
120
|
+
Turtle
|
121
|
+
</a>
|
122
|
+
<a href='earl.jsonld'>
|
123
|
+
JSON-LD
|
124
|
+
</a>
|
125
|
+
</p>
|
126
|
+
</section>
|
127
|
+
<section id='sodt'></section>
|
128
|
+
<section>
|
129
|
+
<h2>
|
130
|
+
Results
|
131
|
+
</h2>
|
132
|
+
<table class='report'>
|
133
|
+
<tr>
|
134
|
+
<th>
|
135
|
+
Test
|
136
|
+
</th>
|
137
|
+
<th>
|
138
|
+
<a href='http://rubygems.org/gems/rdf-turtle'>RDF::Turtle</a>
|
139
|
+
</th>
|
140
|
+
</tr>
|
141
|
+
<tr resource='http://example/manifest.ttl#testeval00' typeof='earl:TestCriterion earl:TestCase'>
|
142
|
+
<td>
|
143
|
+
<a href='#test_testeval00'>testeval00</a>
|
144
|
+
<span property='dc:title'>subm-test-00</span>
|
145
|
+
<span property='dc:description'>Blank subject</span>
|
146
|
+
</td>
|
147
|
+
<td class='PASS' typeof='earl:Assertion'>
|
148
|
+
<link href='http://greggkellogg.net/foaf#me' property='earl:assertedBy' />
|
149
|
+
<link href='http://example/manifest.ttl#testeval00' property='earl:test' />
|
150
|
+
<link href='http://rubygems.org/gems/rdf-turtle' property='earl:subject' />
|
151
|
+
<link href='earl:automatic' property='earl:mode' />
|
152
|
+
<span property='earl:result' resource='earl:passed' typeof='earl:TestResult'>
|
153
|
+
PASS
|
154
|
+
</span>
|
155
|
+
</td>
|
156
|
+
</tr>
|
157
|
+
<tr resource='_:g70231313888100' typeof='earl:TestCriterion earl:TestCase'>
|
158
|
+
<td>
|
159
|
+
<a href='#test_g70231313888100'>g70231313888100</a>
|
160
|
+
<span property='dc:title'>subm-test-01</span>
|
161
|
+
<span property='dc:description'>@prefix and qnames</span>
|
162
|
+
</td>
|
163
|
+
</tr>
|
164
|
+
</table>
|
165
|
+
</section>
|
166
|
+
<section class='appendix'>
|
167
|
+
<h2>
|
168
|
+
Test Subjects
|
169
|
+
</h2>
|
170
|
+
<p>
|
171
|
+
This report was tested using the following test subjects:
|
172
|
+
</p>
|
173
|
+
<dl>
|
174
|
+
<dt about='http://rubygems.org/gems/rdf-turtle' property='doap:name'>RDF::Turtle</dt>
|
175
|
+
<dd about='http://rubygems.org/gems/rdf-turtle' typeof='earl:TestSubject doap:Project'>
|
176
|
+
<dl>
|
177
|
+
<dt>Description</dt>
|
178
|
+
<dd property='doap:description'>RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite.</dd>
|
179
|
+
<dt>Programming Language</dt>
|
180
|
+
<dd property='doap:programming-language'>Ruby</dd>
|
181
|
+
<dt>Developer</dt>
|
182
|
+
<dd property='doap:developer' resource='http://greggkellogg.net/foaf#me' typeof='foaf:Person'>
|
183
|
+
<a href='http://greggkellogg.net/foaf#me'>
|
184
|
+
<span property='foaf:name'>Gregg Kellogg</span>
|
185
|
+
</a>
|
186
|
+
</dd>
|
187
|
+
<dt>Home Page</dt>
|
188
|
+
<dd property='doap:homepage'>
|
189
|
+
<a href='http://ruby-rdf.github.com/rdf-turtle'>http://ruby-rdf.github.com/rdf-turtle</a>
|
190
|
+
</dd>
|
191
|
+
</dl>
|
192
|
+
</dd>
|
193
|
+
</dl>
|
194
|
+
</section>
|
195
|
+
<section class='appendix'>
|
196
|
+
<h2>
|
197
|
+
Test Definitions
|
198
|
+
</h2>
|
199
|
+
<dl>
|
200
|
+
<dt about='_:g70231313888100' id='test_g70231313888100' typeof='earl:TestCriterion earl:TestCase'>
|
201
|
+
Test
|
202
|
+
<span property='dc:title'>subm-test-01</span>
|
203
|
+
</dt>
|
204
|
+
<dd>
|
205
|
+
<p property='dc:description'>@prefix and qnames</p>
|
206
|
+
<dl>
|
207
|
+
<dt>
|
208
|
+
<pre class='example actionDoc' property='mf:action' resource='http://example/test-01.ttl'>http://example/test-01.ttl not loaded</pre>
|
209
|
+
<pre class='example resultDoc' property='mf:result' resource='http://example/test-01.out'>test['testResult'] not loaded</pre>
|
210
|
+
</dt>
|
211
|
+
</dl>
|
212
|
+
</dd>
|
213
|
+
<dt about='http://example/manifest.ttl#testeval00' id='test_testeval00' typeof='earl:TestCriterion earl:TestCase'>
|
214
|
+
Test
|
215
|
+
<span property='dc:title'>subm-test-00</span>
|
216
|
+
</dt>
|
217
|
+
<dd>
|
218
|
+
<p property='dc:description'>Blank subject</p>
|
219
|
+
<dl>
|
220
|
+
<dt>
|
221
|
+
<pre class='example actionDoc' property='mf:action' resource='http://example/test-00.ttl'>http://example/test-00.ttl not loaded</pre>
|
222
|
+
<pre class='example resultDoc' property='mf:result' resource='http://example/test-00.out'>test['testResult'] not loaded</pre>
|
223
|
+
</dt>
|
224
|
+
</dl>
|
225
|
+
</dd>
|
226
|
+
</dl>
|
227
|
+
</section>
|
228
|
+
</body>
|
229
|
+
</html>
|
@@ -0,0 +1,130 @@
|
|
1
|
+
{
|
2
|
+
"@context": {
|
3
|
+
"dc": "http://purl.org/dc/terms/",
|
4
|
+
"doap": "http://usefulinc.com/ns/doap#",
|
5
|
+
"earl": "http://www.w3.org/ns/earl#",
|
6
|
+
"mf": "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#",
|
7
|
+
"foaf": "http://xmlns.com/foaf/0.1/",
|
8
|
+
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
9
|
+
"assertedBy": {
|
10
|
+
"@id": "earl:assertedBy",
|
11
|
+
"@type": "@id"
|
12
|
+
},
|
13
|
+
"bibRef": {
|
14
|
+
"@id": "dc: bibliographicCitation"
|
15
|
+
},
|
16
|
+
"description": {
|
17
|
+
"@id": "dc:description"
|
18
|
+
},
|
19
|
+
"developer": {
|
20
|
+
"@id": "doap:developer",
|
21
|
+
"@type": "@id"
|
22
|
+
},
|
23
|
+
"homepage": {
|
24
|
+
"@id": "doap:homepage",
|
25
|
+
"@type": "@id"
|
26
|
+
},
|
27
|
+
"doap_desc": {
|
28
|
+
"@id": "doap:description"
|
29
|
+
},
|
30
|
+
"language": {
|
31
|
+
"@id": "doap:programming-language"
|
32
|
+
},
|
33
|
+
"testAction": {
|
34
|
+
"@id": "mf:action",
|
35
|
+
"@type": "@id"
|
36
|
+
},
|
37
|
+
"testResult": {
|
38
|
+
"@id": "mf:result",
|
39
|
+
"@type": "@id"
|
40
|
+
},
|
41
|
+
"label": {
|
42
|
+
"@id": "rdfs:label"
|
43
|
+
},
|
44
|
+
"mode": {
|
45
|
+
"@id": "earl:mode",
|
46
|
+
"@type": "@id"
|
47
|
+
},
|
48
|
+
"name": {
|
49
|
+
"@id": "doap:name"
|
50
|
+
},
|
51
|
+
"outcome": {
|
52
|
+
"@id": "earl:outcome",
|
53
|
+
"@type": "@id"
|
54
|
+
},
|
55
|
+
"result": {
|
56
|
+
"@id": "earl:result"
|
57
|
+
},
|
58
|
+
"subject": {
|
59
|
+
"@id": "earl:subject",
|
60
|
+
"@type": "@id"
|
61
|
+
},
|
62
|
+
"test": {
|
63
|
+
"@id": "earl:test",
|
64
|
+
"@type": "@id"
|
65
|
+
},
|
66
|
+
"title": {
|
67
|
+
"@id": "dc:title"
|
68
|
+
}
|
69
|
+
},
|
70
|
+
"@id": "",
|
71
|
+
"@type": [
|
72
|
+
"earl:Software",
|
73
|
+
"doap:Project"
|
74
|
+
],
|
75
|
+
"name": "Turtle Test Results",
|
76
|
+
"bibRef": "[[TURTLE]]",
|
77
|
+
"testSubjects": [
|
78
|
+
{
|
79
|
+
"@id": "http://rubygems.org/gems/rdf-turtle",
|
80
|
+
"@type": [
|
81
|
+
"earl:TestSubject",
|
82
|
+
"doap:Project"
|
83
|
+
],
|
84
|
+
"name": "RDF::Turtle",
|
85
|
+
"developer": {
|
86
|
+
"@id": "http://greggkellogg.net/foaf#me",
|
87
|
+
"@type": "foaf:Person",
|
88
|
+
"foaf:name": "Gregg Kellogg"
|
89
|
+
},
|
90
|
+
"doap_desc": "RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite.",
|
91
|
+
"homepage": "http://ruby-rdf.github.com/rdf-turtle",
|
92
|
+
"language": "Ruby"
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"tests": [
|
96
|
+
{
|
97
|
+
"@id": "http://example/manifest.ttl#testeval00",
|
98
|
+
"@type": [
|
99
|
+
"earl:TestCriterion",
|
100
|
+
"earl:TestCase"
|
101
|
+
],
|
102
|
+
"title": "subm-test-00",
|
103
|
+
"description": "Blank subject",
|
104
|
+
"testAction": "http://example/test-00.ttl",
|
105
|
+
"testResult": "http://example/test-00.out",
|
106
|
+
"http://rubygems.org/gems/rdf-turtle": {
|
107
|
+
"@type": "earl:Assertion",
|
108
|
+
"assertedBy": "http://greggkellogg.net/foaf#me",
|
109
|
+
"test": "http://example/manifest.ttl#testeval00",
|
110
|
+
"mode": "earl:automatic",
|
111
|
+
"subject": "http://rubygems.org/gems/rdf-turtle",
|
112
|
+
"result": {
|
113
|
+
"@type": "earl:TestResult",
|
114
|
+
"outcome": "earl:passed"
|
115
|
+
}
|
116
|
+
}
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"@id": "_:g70231313888100",
|
120
|
+
"@type": [
|
121
|
+
"earl:TestCriterion",
|
122
|
+
"earl:TestCase"
|
123
|
+
],
|
124
|
+
"title": "subm-test-01",
|
125
|
+
"description": "@prefix and qnames",
|
126
|
+
"testAction": "http://example/test-01.ttl",
|
127
|
+
"testResult": "http://example/test-01.out"
|
128
|
+
}
|
129
|
+
]
|
130
|
+
}
|