Re: is there an implementation of Shape Expressions that correctly handles recursive shapes?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think that the Fancy Shape Expressions demo at
www.w3.org/2013/ShEx/FancyShExDemo doesn't accurately implement the
axiomatic semantics. (It's a bit hard to tell, though, because the
axiomatic semantics is rather complicated.)

What I am seeing is that in

PREFIX ex: <http://ex.example/#>
start = <S>
<S> { ex:p1 @<T> , ex:p2 @<T> }
<T> { ( ex:q @<Z> | ex:r @<T> ) }
<Z> { }

PREFIX ex: <http://ex.example/#>
ex:a ex:p1 ex:b .
ex:a ex:p2 ex:c .
ex:b ex:q ex:z .
ex:c ex:q ex:z .
ex:b ex:r ex:c .
ex:c ex:r ex:b .

ex:a doesn't validate against <S>.

In the axiomatization, however, the two conjuncts for <S> have independent
context extensions (at least as far as I can tell), and so permit different
"interpretations" of the loop, which allows both ex:b and ex:c to be
validated as <T>.

peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJVErlhAAoJECjN6+QThfjzVXgH/0X85n/3G+rzgjcghylCCcJB
bD9dnBeACzrH2LPksjcChgathMly5+AGDn2hnXYkqXe89QF83py59ad4K1LtsrVQ
PGsx3SjvRBEVF/oTJUMqR/xojj+GECrvHZqpCK6zyhdN8MiN8WhimK9o8/cBo/gG
XoxHrWBxPECHfS/P4Ch2jZrVzDKODy21rPlezBF6Oq4dDAcbOb6j14XBULm8ogAh
jSmM+Ua9EG+GJU/vTYA7yeg5J8IafyiDWxboqYbISur7RzojNuhdKBv5hOAZ0D8x
z028LyvaOj3saXntwbX99Q3eYMJ39l51Yunw1pEDTUHyzfcRtOrWwMkM1AuM8xI=
=zyOW
-----END PGP SIGNATURE-----

Received on Wednesday, 25 March 2015 13:35:15 UTC