Skip to content

Commit dc1f8f0

Browse files
committed
Remove empty sparql entailment-olds/RDF/RDFS directories.
1 parent 781045f commit dc1f8f0

File tree

91 files changed

+25937
-25083
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+25937
-25083
lines changed

Rakefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ task index: MANIFESTS.
1414

1515
desc "Build JSON-LD manifests"
1616
task manifests_jsonld: MANIFESTS.
17-
map {|m| m.sub('.ttl', '.jsonld')}.
18-
select {|m| File.exist?(m)}
17+
map {|m| m.sub('.ttl', '.jsonld')}
1918

2019
MANIFESTS.each do |ttl|
2120
jsonld = ttl.sub('.ttl', '.jsonld')
@@ -43,7 +42,12 @@ MANIFESTS.each do |ttl|
4342
man = ::JSON.load(File.read(jsonld))
4443

4544
File.open(html, "w") do |f|
46-
f.write Haml::Engine.new(temp, :format => :html5).render(self, man: man)
45+
f.write Haml::Engine.new(temp, format: :html5).
46+
render(self,
47+
man: man,
48+
ttl: ttl.split('/').last,
49+
jsonld: jsonld.split('/').last
50+
)
4751
end
4852
end
4953
end

nquads/index.html

Lines changed: 1847 additions & 1819 deletions
Large diffs are not rendered by default.

nquads/template.haml

Lines changed: 67 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
%link{rel: "stylesheet", type: "text/css", href: "https://www.w3.org/StyleSheets/TR/base"}
77
:css
88
body: {bacground-image: none;}
9+
dl.editor>dd {
10+
margin: 0 0 0 40px;
11+
}
912
dl.test-detail {
1013
padding: 0.5em;
1114
}
@@ -49,63 +52,81 @@
4952
%a{href: "http://www.w3.org/"}
5053
%img{src: "http://www.w3.org/Icons/w3c_home", alt: "W3C", height: 48, width: 72}
5154
%h1{property: "rdfs:label"}<= man['label']
52-
%p{property: "rdfs:comment"}
53-
= Array(man['comment']).join(' ').gsub(/\s+/m, ' ').strip.gsub(/(MUST|SHOULD|MAY)/, '<em class="rfc2119">\\1</em>')
55+
%dl.editor
56+
%dt="Document Editor"
57+
%dd
58+
%a{href: "mailto:[email protected]"}
59+
Eric Prud'hommeaux
60+
– W3C
61+
%dd
62+
%a{href: "mailto:[email protected]"}
63+
Gregg Kellogg
64+
– Kellogg Associates
5465
:markdown
55-
This page describes W3C RDF Working Group's N-Quads test suite. This test suite contains two kinds of tests:
66+
[Copyright](http://www.w3.org/Consortium/Legal/ipr-notice#Copyright) © 2010 [<acronym title="World Wide Web Consortium">W3C</acronym>](http://www.w3.org/)<sup>®</sup> ([<acronym title="Massachusetts Institute of Technology">MIT</acronym>](http://www.csail.mit.edu/), [<acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym>](http://www.ercim.org/), [Keio](http://www.keio.ac.jp/)), All Rights Reserved. W3C [liability](http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer), [trademark](http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks), and [document use](http://www.w3.org/Consortium/Legal/copyright-documents) rules apply.
67+
%hr{title: "Separator for header"}
68+
%div
69+
%h2{id: "abstract"}="Abstract"
70+
%p{property: "rdfs:comment"}
71+
= Array(man['comment']).join(' ').gsub(/\s+/m, ' ').strip.gsub(/(MUST|SHOULD|MAY)/, '<em class="rfc2119">\\1</em>')
72+
:markdown
73+
This page describes W3C RDF Working Group's N-Quads test suite. This test suite contains two kinds of tests:
5674
57-
* Positive syntax (`rdft:TestNQuadsPositiveSyntax`) - an input N-Quads file with no syntax errors.
58-
* Negative syntax (rdft:TestNQuadsNegativeSyntax) - an input N-Quads file with at least one syntax error.
75+
* Positive syntax (`rdft:TestNQuadsPositiveSyntax`) - an input N-Quads file with no syntax errors.
76+
* Negative syntax (rdft:TestNQuadsNegativeSyntax) - an input N-Quads file with at least one syntax error.
5977
60-
These tests are also described in [JSON-LD](manifest.jsonld) and [Turtle](manifest.ttl) format in this directory for convenience. All tests have a name (`mf:name`) and an input (`mf:action`).
78+
These tests are also described in [JSON-LD](manifest.jsonld) and [Turtle](manifest.ttl) format in this directory for convenience. All tests have a name (`mf:name`) and an input (`mf:action`).
6179
62-
* An implementation passes a positive syntax test if it parses the
63-
input.
64-
* An implementation passes a negative syntax test if it fails to parse
65-
the input.
80+
* An implementation passes a positive syntax test if it parses the
81+
input.
82+
* An implementation passes a negative syntax test if it fails to parse
83+
the input.
6684
67-
The home of the test suite is <http://www.w3.org/2013/N-QuadsTests/>.
85+
The home of the test suite is <http://www.w3.org/2013/N-QuadsTests/>.
6886
69-
Tests can be run from the web or by downloading either a [tarball](TESTS.tar.gz) or [zip file](TESTS.zip).
87+
Tests can be run from the web or by downloading either a [tarball](TESTS.tar.gz) or [zip file](TESTS.zip).
7088
71-
See <http://www.w3.org/2011/rdf-wg/wiki/RDF_Test_Suites> for more details.
89+
See <http://www.w3.org/2011/rdf-wg/wiki/RDF_Test_Suites> for more details.
7290
73-
## Contributing Tests
74-
The test manifests and entries are built automatically from [manifest.ttl](manifest.ttl) using a Rake task. Tests may be contributed via pull request to [https://github.com/w3c/rdf-tests](https://github.com/w3c/rdf-tests) with suitable changes to the [manifest.ttl](manifest.ttl) and referenced files.
91+
### Contributing Tests
92+
The test manifests and entries are built automatically from [manifest.ttl](manifest.ttl) using a Rake task. Tests may be contributed via pull request to [https://github.com/w3c/rdf-tests](https://github.com/w3c/rdf-tests) with suitable changes to the [manifest.ttl](manifest.ttl) and referenced files.
7593
76-
## Distribution
77-
Distributed under both the [W3C Test Suite License](http://www.w3.org/Consortium/Legal/2008/04-testsuite-license) and the [W3C 3-clause BSD License](http://www.w3.org/Consortium/Legal/2008/03-bsd-license). To contribute to a W3C Test Suite, see the [policies and contribution forms](http://www.w3.org/2004/10/27-testcases).
94+
### Distribution
95+
Distributed under both the [W3C Test Suite License](http://www.w3.org/Consortium/Legal/2008/04-testsuite-license) and the [W3C 3-clause BSD License](http://www.w3.org/Consortium/Legal/2008/03-bsd-license). To contribute to a W3C Test Suite, see the [policies and contribution forms](http://www.w3.org/2004/10/27-testcases).
7896
79-
## Disclaimer
80-
UNDER BOTH MUTUALLY EXCLUSIVE LICENSES, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
81-
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.
97+
### Disclaimer
98+
UNDER BOTH MUTUALLY EXCLUSIVE LICENSES, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
99+
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.
82100
83-
%dl.test-description
84-
- man['entries'].each do |test|
85-
%dt{id: test['@id']}
86-
%a.testlink{href: "##{test['@id']}"}
87-
= "#{test['@id']}:"
88-
%span{about: test['@id'], property: "mf:name"}<~test['name']
89-
%dd{property: "mf:entry", inlist: true, resource: test['@id'], typeof: test['@type']}
90-
%div{property: "rdfs:comment"}
91-
:markdown
92-
#{Array(test['comment']).join(' ').gsub(/\s+/m, ' ').strip.gsub(/(MUST|SHOULD|MAY)/, '<em class="rfc2119">\\1</em>')}
93-
- if test['type'] =~ /Negative/
94-
%p.error
95-
Negative Test
96-
%dl.test-detail
97-
%dt="type"
98-
%dd<~test['@type']
99-
%dt="approval"
100-
%dd{property: "mf:approval", resource: test['approval']}<~test['approval']
101-
- if test['action']
102-
%dt="action"
103-
%dd
104-
%a{property: "mf:action", href: test['action']}<~test['action']
105-
- if test['result']
106-
%dt="result"
107-
%dd
108-
%a{property: "mf:result", href: test['result']}<~test['result']
101+
%div
102+
%h2
103+
Test Descriptions
104+
%dl.test-description
105+
- man['entries'].each do |test|
106+
%dt{id: test['@id']}
107+
%a.testlink{href: "##{test['@id']}"}
108+
= "#{test['@id']}:"
109+
%span{about: test['@id'], property: "mf:name"}<~test['name']
110+
%dd{property: "mf:entry", inlist: true, resource: test['@id'], typeof: test['@type']}
111+
%div{property: "rdfs:comment"}
112+
:markdown
113+
#{Array(test['comment']).join(' ').gsub(/\s+/m, ' ').strip.gsub(/(MUST|SHOULD|MAY)/, '<em class="rfc2119">\\1</em>')}
114+
- if test['type'] =~ /Negative/
115+
%p.error
116+
Negative Test
117+
%dl.test-detail
118+
%dt="type"
119+
%dd<~test['@type']
120+
%dt="approval"
121+
%dd{property: "mf:approval", resource: test['approval']}<~test['approval']
122+
- if test['action']
123+
%dt="action"
124+
%dd
125+
%a{property: "mf:action", href: test['action']}<~test['action']
126+
- if test['result']
127+
%dt="result"
128+
%dd
129+
%a{property: "mf:result", href: test['result']}<~test['result']
109130

110131
%footer
111132
:markdown

0 commit comments

Comments
 (0)