Re: Updates to original test index files and implementation reports

> On Nov 19, 2015, at 11:02 PM, Eric Prud'hommeaux <eric@W3.ORG> wrote:
> 
> (My mail client squirreled this away in a seldom-read public-sparql-dev mbox. Ping me privately if I appear unresponsive.)
> 
> 
> * Gregg Kellogg <gregg@greggkellogg.net> [2015-11-13 12:28-0800]
>> Eric,
>> 
>> This commit [1] contains updates to index files for existing test suite to point readers to the updated versions maintained by the RDF Test Suite Curation CG. To see examples of the updates, see [2] and [3].
>> 
>> * N-Triples test index at http://www.w3.org/2013/N-TriplesTests/
>>  * and implementation report at http://www.w3.org/2013/N-TriplesReports/index.html
>> * N-Quads test index at http://www.w3.org/2013/N-QuadsTests/
>>  * and implementation report at http://www.w3.org/2013/N-QuadsReports/index.html
>> * RDF 1.1 Semantics test index at http://www.w3.org/2013/rdf-mt-tests/
>>  * and implementation report at http://www.w3.org/2013/rdf-mt-reports/index.html
>> * SPARQL 1.1 test index and implementation report
>> * TriG test index at http://www.w3.org/2013/TrigTests/
>>  * and implementation report at http://www.w3.org/2013/TrigReports/index.html
>> * Turtle test index at http://www.w3.org/2013/TurtleTests/
>>  * and implementation report at http://www.w3.org/2013/TurtleReports/index.html
>> * RDF/XML test index at http://www.w3.org/2013/RDFXMLTests/
> 
> I'm trying to remember the protocol here. I should
>  clone <git@github.com:w3c/rdf-tests.git>,
>  cp nquads/index.html http://www.w3.org/2013/N-QuadsTests/
>  cp nquads/reports/index.html http://www.w3.org/2013/N-QuadsReports/index.html
>  ...
>  cp turtle/reports/index.html http://www.w3.org/2013/TurtleReports/index.html
> ?

That would work, or you could just take the raw files from the GitHub repo and copy them.

>> Additionally, the test namespace documents are replicated so that appropriate changes may be made.
>> 
>> * rdftest            <http://www.w3.org/ns/rdftest#>
>> * test-dawg      <http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#>
>> * test-manifest <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#>
>> * test-query     <http://www.w3.org/2001/sw/DataAccess/tests/test-query#>
>> * test-update   <http://www.w3.org/2009/sparql/tests/test-update#>
> 
> assuming actions on this are covered below in [NS]
> 
>> The test suite and implementation report index files should be changed in place to the versions from the commit.
> 
> I think this is my cp statements above.
> 
> [NS]
>> The namespace files should either redirect to their counterparts:
>> 
>> * rdftest -> http://w3c.github.io/rdf-tests/ns/rdftest.ttl
>> * test-dawg -> http://w3c.github.io/rdf-tests/ns/test-dawg.ttl
>> * test-manifest -> http://w3c.github.io/rdf-tests/ns/test-manifest.ttl
>> * test-query -> http://w3c.github.io/rdf-tests/ns/test-query.ttl
>> * test-update -> http://w3c.github.io/rdf-tests/ns/test-update.ttl
>> 
>> Or some mechanism to synchronize changes from the GitHub repo and copy these files in place should be implemented.
> 
> http://www.w3.org/ns/rdftest has HTML, JSON-LD and Turtle variants. Can we conneg those from github.io? (The HTML and Turtle seem important. I have no idea if our mime.types covers .json-ld.)

Sadly, GitHub does not support content negotiation. But, looking at <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest>, for example, I find the following:

curl -I http://www.w3.org/2001/sw/DataAccess/tests/test-manifest
HTTP/1.1 200 OK
Content-Location: test-manifest.n3

curl -I -H 'Accept: text/html' http://www.w3.org/2001/sw/DataAccess/tests/test-manifest
HTTP/1.1 406 Not Acceptable

curl -I -H 'Accept: text/turtle' http://www.w3.org/2001/sw/DataAccess/tests/test-manifest
HTTP/1.1 406 Not Acceptable

So, it seems you’re not doing content negotiation anyway. In any case, always returning the Turtle variation for namespace URLs should be okay, as it returns the appropriate content type, which GitHub does do, at least:

url -I http://w3c.github.io/rdf-tests/ns/test-manifest.ttl
HTTP/1.1 200 OK
Content-Type: text/turtle

If we did want to do content negotiation going forward, it should be done on the W3.org side, forwarding to the appropriate file in GitHub, but we have none such right now.

> What W3C web doc would replicate or redirect to <http://w3c.github.io/rdf-tests/ns/test-dawg.ttl>, ... <http://w3c.github.io/rdf-tests/ns/test-update.ttl> ?

The following:

<http://www.w3.org/ns/rdftest> => http://w3c.github.io/rdf-tests/ns/rdftest.ttl
<http://www.w3.org/2001/sw/DataAccess/tests/test-dawg> => http://w3c.github.io/rdf-tests/ns/test-dawg.ttl
<http://www.w3.org/2001/sw/DataAccess/tests/test-manifest> => http://w3c.github.io/rdf-tests/ns/test-manifest.ttl
<http://www.w3.org/2001/sw/DataAccess/tests/test-query> => http://w3c.github.io/rdf-tests/ns/test-query.ttl
<http://www.w3.org/2009/sparql/tests/test-update> => http://w3c.github.io/rdf-tests/sparql/test-update.n3

Note that the test-update is different from what I reported before, but needs a redirect.

Thanks,

Gregg


>> This will allow work of the CG to continue in the repo and ensure that people looking in the old test locations will find them. (A future request may cover RDFa and JSON-LD as well).
>> 
>> For the RDF Test Suite Curation Community Group,
>> 
>> Gregg Kellogg
>> Chair W3C RDF Test Suite Curation Community Group
>> gregg@greggkellogg.net
>> 
>> [1] https://github.com/w3c/rdf-tests/commit/4003737a4c9f8d18fc9bfbeda88647fc513241b0
>> [2] http://htmlpreview.github.io/?https://github.com/w3c/rdf-tests/blob/4003737a4c9f8d18fc9bfbeda88647fc513241b0/sparql11/index.html
>> [3] http://htmlpreview.github.io/?https://github.com/w3c/rdf-tests/blob/4003737a4c9f8d18fc9bfbeda88647fc513241b0/sparql11/reports/index.html
>> 
> 
> -- 
> -ericP
> 
> office: +1.617.599.3509
> mobile: +33.6.80.80.35.59
> 
> (eric@w3.org)
> Feel free to forward this message to any list for any purpose other than
> email address distribution.
> 
> There are subtle nuances encoded in font variation and clever layout
> which can only be seen by printing this message on high-clay paper.

Received on Friday, 20 November 2015 17:52:55 UTC