- From: Eric Prud'hommeaux <eric@w3.org>
- Date: Thu, 19 Jan 2017 06:15:04 -0500
- To: "RDF.js" <public-rdfjs@w3.org>
Hi all, The Shape Expressions has a pretty conventional JSON representation (ShExJ) which is described in JSON-Grammar language. The typing captures disjunction, co-occurance, lists, maps and cardinality constraints. e.g. a ShEx EachOf has a list of two or more tripleExpressions and a optional min and max properties EachOf { expressions:[tripleExpr{2,}] min:INTEGER? max:(INTEGER|"*")? } see https://github.com/shexSpec/shexTest/blob/master/doc/ShExJ.jsg#L27 There's some discussion of using this in a clinical data standard (FHIR) and it's already being used for ShExJ. It's currently defined by one implementation. It would be nice to document a rigorous semantics for JSG. Anyone intrested or know someone who'd be interested? [project README](https://github.com/ericprud/jsg/blob/master/README.md) [JSG intro in ShEx spec](https://shexspec.github.io/spec/#notation) [JSG for ShExJ](https://github.com/shexSpec/shexTest/blob/master/doc/ShExJ.jsg) [JSG for ShExV](https://github.com/shexSpec/shexTest/blob/master/doc/ShExV.jsg) [JSG for SPARQL.js](https://github.com/ericprud/jsg/blob/master/test/SPARQL.jsg) -- -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 Thursday, 19 January 2017 11:15:13 UTC