W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > March 2015

Re: Implementation feasibility

From: Karen Coyle <kcoyle@kcoyle.net>
Date: Mon, 23 Mar 2015 16:44:12 -0700
Message-ID: <5510A54C.2010504@kcoyle.net>
To: public-data-shapes-wg@w3.org


On 3/23/15 5:32 AM, Holger Knublauch wrote:
> On 3/23/2015 19:59, Jose Emilio Labra Gayo wrote:
>> You are the one that is claiming that it can be implemented without
>> SPARQL so you are the one who should prove it.
>
> Done: https://github.com/HolgerKnublauch/shacl-lite
>
> Currently supports sh:allowedValues, sh:hasValue, sh:min/maxCount,
> sh:nodeType, sh:valueShape, and sh:OrConstraint
>
> Of course this needs more testing (which will greatly benefit from test
> cases now).

Some of the DCMI folks developed a test engine that includes some test 
records:

http://purl.org/net/rdfval-demo

Select an engine (those are the tabs across the top), then "2. 
constraints" and at the bottom there are some constraint examples you 
can select. Select "3.data" and you see some data examples for those 
constraints. None of these use SHACL, of course, but I suspect it might 
not be hard to modify them.

If these look at all useful, I am willing to turn out more test records 
of the same type.

kc


And I am sure I have left silly bugs in this short amount of
> time - so far I only spent two hours on this proof-of-concept.
>
> A more useful test would be if someone else than me would implement such
> an engine too, so that we can determine which aspects of the spec
> require clarification for someone who doesn't have my background.
>
> Cheers,
> Holger
>
>
>

-- 
Karen Coyle
kcoyle@kcoyle.net http://kcoyle.net
m: 1-510-435-8234
skype: kcoylenet/+1-510-984-3600
Received on Monday, 23 March 2015 23:44:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:30:18 UTC