W3C home > Mailing lists > Public > public-rdf-shapes@w3.org > February 2014

RE: order of semantic actions

From: Dam, Jesse van <jesse.vandam@wur.nl>
Date: Tue, 18 Feb 2014 12:14:55 +0000
To: Eric Prud'hommeaux <eric@w3.org>, "public-rdf-shapes@w3.org" <public-rdf-shapes@w3.org>
Message-ID: <63CF398D7F09744BA51193F17F5252AB1F2FC8@SCOMP0936.wurnet.nl>

I looked at erics evalution logic, the associated javascript was very usefull for me. After thinking about it and combining it with the discussion of last week and the things that were not clear for me did I put together a pseudo code for matching RDF subject against Shapes. For this pseudo code did I also create a simplified version that is based on characters. Like as done by Eric. However i changed the behavior to be completely independent of the character order, because triples in RDF are also unordered. 
I put the full description here(https://www.w3.org/2001/sw/wiki/ValidationPseudoCode) on the wiki. Please look at the NODE and DISCUSSION points.

I think it would be nice if you look at so we can discuss about as this form the basis of SHEX. Let me know if something is not clear. If you like it then we can update erics example/test javascript, which allows us to define and test the basic processing/matching of shapes expressions against RDF subjects.

Jesse van Dam

Van: Eric Prud'hommeaux [ericw3c@gmail.com] namens Eric Prud'hommeaux [eric@w3.org]
Verzonden: zondag 16 februari 2014 17:44
Aan: public-rdf-shapes@w3.org
Onderwerp: order of semantic actions

I put together a little demo of ShEx as regular expressions. Clicking either of the [test] buttons shows the semantic actions performed for various tests.

office: +1.617.599.3509
mobile: +

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 Tuesday, 18 February 2014 12:15:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:57:32 UTC