- From: Peter F. Patel-Schneider <pfpschneider@gmail.com>
- Date: Wed, 18 Feb 2015 20:14:13 -0800
- To: Jose Emilio Labra Gayo <jelabra@gmail.com>
- CC: RDF Data Shapes Working Group <public-data-shapes-wg@w3.org>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/18/2015 07:46 PM, Jose Emilio Labra Gayo wrote: > On Thu, Feb 19, 2015 at 2:30 AM, Peter F. Patel-Schneider > <pfpschneider@gmail.com <mailto:pfpschneider@gmail.com>> wrote: > > I've been looking again at Shape Expressions and have come up with some > cases that may not be defined well. > > > Consider the following simple RDF graph > > @prefix ex: <http://ex.com/> . ex:a ex:p ex:b . ex:b ex:p ex:a . > > and the following simple shape expressions > > PREFIX ex: <http://ex.com/> <R> { ex:p @<R> } > > >> In this case, from my point of view, both ex:a, and ex:b conform to >> shape <R> Why? Isn't it just as reasonable to say that they both don't conform to <R>? Where in the definition of Shape Expressions is this supported? > <S> { ( ex:p @<S> | ex:p @<T> ) } <T> { ( ex:p @<S> | ex:p @<T> ) } > > >> In this case, there are some alternatives. If you start by node ex:a, >> then the system can match with the following typing > >> ex:a -> <S>, ex:b -> <S> But then ex:a should belong to <T>! It matches the requirements for belonging to <T>, doesn't it? >> or > >> ex:a -> <S>, ex:b -> <S>, <T> But then ex:a should not belong to <S>! It doesn't match the requirements for belonging to <T>, doesn't it? >> or > >> ex:a -> <S>, ex:b -> <S>, <T> Isn't this the same as your previous solution? I guess you meant to say that ex:a was in both <S> and <T>. But then ex:a shouldn't be in either <s> or <T>. > What are the results of rule evaluation 1/ as they should be, 2/ > according to Shape Expressions 1.0 Definition, 3/ according to other > definitions for Shape Expressions, and 4/ from implementations? > > >> I tested it in RDFShape and the result was: > >> http://bit.ly/1vjlxX9 > >> Best regards, Labra > > > > peter > > > > > -- Saludos, Labra -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJU5WMVAAoJECjN6+QThfjzqWEH/RJKXcoBmBsi5h6WS+x+8oz3 7gY5dgBZlUkbDD/0FUEzGl/LQ4scs9JnI7tqjrEFMFKHAA3DlMNFhqRWVPudVUST DsaM1xo6sxRRv1QQWYVN661ow+D6MQ1wQF19aFPmhT+yOZIjKC+yq8fXmXfOA7v7 tuw7RycHA0F1dGhd9XuEDQAp71sVzGF/S79477O5pm5mrtUuQydUCksiloi1fxi8 qiorPIUn/YNfNNEvVFaYQHjT7GoyPPiHRzwVvHKvsb2qhaeur9sksILAFANoOff5 VkDlkkvdNEm07Yrw6FXpOh3dOj1U6NqVh1vCMDlPxz1VlquLQjSWqR8mzPNBrtI= =vd8L -----END PGP SIGNATURE-----
Received on Thursday, 19 February 2015 04:14:46 UTC