Skip to content

Commit

Permalink
Account for language in label for SPARQL 1.2 manifest and name SPARQL…
Browse files Browse the repository at this point in the history
… 1.1 tests as being 1.1. not 1.0.
  • Loading branch information
gkellogg committed Dec 15, 2023
1 parent 527fbf5 commit 65c54a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sparql/sparql11/template.haml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
%p{property: "rdfs:comment"}
= Array(man['comment']).join(' ').gsub(/\s+/m, ' ').strip.gsub(/(MUST|SHOULD|MAY)/, '<em class="rfc2119">\\1</em>')
:markdown
This page describes W3C SPARQL Working Group's SPARQL1.0 test suite.
This page describes W3C SPARQL Working Group's SPARQL1.1 test suite.
### Contributing Tests
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.
Expand Down
7 changes: 4 additions & 3 deletions sparql/sparql12/template.haml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
dd code {display: inline;}
footer {text-align: center;}
%title
= man['label']
= man['label'].is_a?(Hash) ? man['label']['@value'] : man['label']
:css
em.rfc2119 {
text-transform: lowercase;
Expand All @@ -51,15 +51,16 @@
%p
%a{href: "http://www.w3.org/"}
%img{src: "http://www.w3.org/Icons/w3c_home", alt: "W3C", height: 48, width: 72}
%h1{property: "rdfs:label"}<= man['label']
%h1{property: "rdfs:label"}<= man['label'].is_a?(Hash) ? man['label']['@value'] : man['label']
:markdown
[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.
%hr{title: "Separator for header"}
%div
%h2{id: "abstract"}="Abstract"
%p{property: "rdfs:comment"}
= Array(man['comment']).join(' ').gsub(/\s+/m, ' ').strip.gsub(/(MUST|SHOULD|MAY)/, '<em class="rfc2119">\\1</em>')
:markdown
#{Array(man['comment']).join(' ').gsub(/\s+/m, ' ').strip.gsub(/(MUST|SHOULD|MAY)/, '<em class="rfc2119">\\1</em>')}
:markdown
This page describes SPARQL 1.2 test suite of the W3C RDF-star Working Group.
Expand Down

0 comments on commit 65c54a2

Please sign in to comment.