W3C home > Mailing lists > Public > public-rdf-shapes@w3.org > April 2015

Re: Two dialects: ShEx with a SPARQL/SPIN-friendly subset?

From: Holger Knublauch <holger@topquadrant.com>
Date: Thu, 30 Apr 2015 08:21:40 +1000
Message-ID: <55415974.4000205@topquadrant.com>
To: public-rdf-shapes@w3.org
Hi David,

the two dialects that the WG is currently discussing are

a) SHACL Core (or Lite) - a high-level vocabulary for common things like 
cardinality and value types (similar to Resource Shapes or ShEx)

b) SHACL (Full) - the Core vocabulary plus the ability to fall back to 
complex queries and macros (likely based on SPARQL)

The spec draft at [1] calls these Core and Advanced features, and is 
structured to allow readers who are not interested in SPARQL to stop 
after the Core bits.

Is this what you suggest? I am puzzled by your statement that ShEx is 
more expressive than SPARQL - what do you mean by that?

Thanks
Holger

[1] https://w3c.github.io/data-shapes/shacl/


On 4/30/15 12:15 AM, David Booth wrote:
> It seems like there are two major camps in the RDF Shapes WG: (a) 
> those who want a SPARQL/SPIN-friendly language; and (b) those who want 
> a more expressive and concise language like ShEx.  Has the WG 
> considered standardizing a language with two standard dialects, such 
> as was done with OWL?
>
> It seems to me that if there is a significant number of people who 
> would (continue to) use ShEx -- either because of its additional 
> expressivity or its conciseness -- even if the Shapes WG decided to 
> standardize a more limited and verbose SPARQL/SPIN-like language, then 
> that is clear evidence that a ShEx-like language *should* be 
> standardized, perhaps in *addition* to standardizing a 
> SPARQL/SPIN-friendly subset of ShEx, as a standard dialect.
>
> David Booth
>
Received on Wednesday, 29 April 2015 22:22:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:41 UTC