W3C home > Mailing lists > Public > public-socialweb@w3.org > October 2014

Re: first examples from AS2.0 draft available as Turtle!

From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
Date: Sun, 19 Oct 2014 21:58:11 +0200
Message-ID: <544417D3.8050605@wwelves.org>
To: public-socialweb@w3.org
On 10/17/2014 09:07 AM, ☮ elf Pavlik ☮ wrote:
> howdy,
> last night i made few more commits to automated testing of RDF we get
> from examples in the spec. now you can also see first 3 examples from
> latest draft as turtle:
> https://github.com/elf-pavlik/w3c-socialwg-activitystreams/commit/dd458da475f9c9c6c9c66f382c3ea1b52f6ddae4
> during next week, i plan to get all of examples from the draft as turtle
> and finish automation which checks for expected RDF in examples parsed
> with JSON-LD context from the repository (will set it up on
> https://travis-ci.org/ )
> https://github.com/jasnell/w3c-socialwg-activitystreams/pull/32
> https://github.com/jasnell/w3c-socialwg-activitystreams/issues/17

now 7 examples in turtle already in use for testing

i use jsonld.js RDF Graph Normalization via rdf-interfaces/rdf-ext to
compare JSON-LD in examples with Turtle in test fixtures

2 more steps to get all examples tested
* add id="example-XX" to all examples for easy selecting
* sanitize examples which use <b></b> to highlight code

so far it all merges clean on master and then 7 tests pass, for
sanitizing i still don't need to touch spec itself but for selecting -
adding precise id attributes could save me getting to creative on
picking DOM elements :)
Received on Sunday, 19 October 2014 20:00:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:26:13 UTC