W3C home > Mailing lists > Public > semantic-web@w3.org > March 2018

Re: Implementation of ShEx 2.0 in java

From: Eric Prud'hommeaux <eric@w3.org>
Date: Thu, 8 Mar 2018 09:02:10 -0500
To: Jérémie Dusart <jeremie.dusart@inria.fr>
Cc: ShEx Public W3C- CG <public-shex@w3.org>, semantic-web@w3.org
Message-ID: <20180308140208.GD2292@w3.org>
* Jérémie Dusart <jeremie.dusart@inria.fr> [2018-03-08 11:26+0100]
> I am pleased to announce the release of a ShEx 2.0 implementation in java.

Congradualations! I bounced this to semantic-web@w3.org so others would see it.


> The implementation is available on github at this address:
> https://github.com/iovka/shex-java
> 
> The implementation supports:
>     - ShExJ parsing and serializing
>     - ShExC parsing

Are you using the ANTLR parser that Harold and Jose use?


>     - ShExR parsing

ooo, how do you do parse ShExR?
(My impl does recognition by validating against ShExR.shex)


>     - checking schema requirement
>     - validation (incremental and refine validation)
> 
> We welcome any feedbackorquestions you may have.

Responding to <https://github.com/iovka/shex-java>:
| On validation, the current implementation, using RDF4J, passes 1033 tests, fails 3 tests and skips 41 tests. The tests that are skipped are the one with at least one of those traits:
| 
| Start
| SemanticAction
| ExternalShape
| ShapeMap
| Greedy

I should remove tests with the "Greed" trait; they're from ages ago when we were considering a different algorithm.

| relativeIRI

Feel free to improve the traits.


| Using Jena, more tests are failed because new label are generated for bnode. The same mechanism is also present in RDF4J, but has been disabled in the tests.

I'm hoping those all have the trait ToldBNode. Can you confirm?
I'd like to know if it's possible to pass some ToldBNode tests by luck.

| On negative structure, the current implementation passes all the tests.
| 
| On negative syntax, the current implementation passes 100 out of the 102 tests.

Feel free to suggest improvements.


> Best Regards,
> Jérémie Dusart

-- 
-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, 8 March 2018 14:02:17 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 8 March 2018 14:02:24 UTC