Re: Schema.org related SHACL shapes

James,
Doug Fils (cc'ed) and others have done experimental work on test driven
model development using SHACL as definition and validation for automated
processes related to schema.org
for example:
https://github.com/geoschemas-org/geoshapes
Adrian

On Thu, May 21, 2020 at 5:52 PM Dan Brickley <danbri@google.com> wrote:

>
>
> On Thu, 21 May 2020, 02:57 Holger Knublauch, <holger@topquadrant.com>
> wrote:
>
>>
>> On 21/05/2020 03:20, James Hudson wrote:
>>
>> Hello,
>>
>> Dan B.,
>>
>> While I am disappointed that no one has already done my work for me :-),
>> what you have confirmed (I think) is that it is work worth doing and there
>> are no known red flags against considering developing SHACL Shapes which
>> would validate schema.org data instances.
>>
>> If anyone can point me to specific work that have experimented with
>> creating SHACL Shapes which validate schema.org data instances, I would
>> be interested. I will keep looking.
>>
>> Based on the breadth and extent of schema.org, it would seem to be a lot
>> of work for complete validation.
>>
>>
>> Alasdair,
>>
>> I looked at your site, but did not see any SHACL Shapes related to
>> schema.org classes or properties. I assume you are using them underneath
>> somewhere...? Can they be shared?
>>
>>
>> Gregory, Thomas,
>>
>> Thank you for pointing me at http://datashapes.org/schema. Unless I am
>> mistaken, it ( http://datashapes.org/schema.ttl ) seems that is about
>> validating schema.org classes and properties itself and not data
>> instances.
>>
>> No, that SHACL file is actually for instances. It is generated from the
>> original RDFa definition of the schema.org classes and properties and
>> interprets the specified ranges as sh:datatype and sh:class constraints. So
>> you *can* use it as a shapes graph when validating instances.
>>
>> And yes, it's not entirely up to date - if anyone needs the very latest
>> version I could re-run the generator (which is also bundled with TBC in
>> case anyone has that).
>>
> Maybe we got set something up using GitHub Actions to trigger after new
> schema.org releases?
>
> Dan
>
> Holger
>>
>>
>>
>> Although, their "example file" (
>> http://datashapes.org/schemashacl.shapes.ttl ) is what I am looking for,
>> but it only covers one class. Still, there will be things in there that I
>> can use.
>>
>> It does provide some nice examples for how to do certain things in SHACL.
>>
>>
>> Umut, Elias,
>>
>> Thank you for pointing me at semantify.it. I will have to take a closer
>> look, but it does not appear to have what I am looking for this time, which
>> is literally a SHACL Shape which can validate
>> https://schema.org/Invoice#Invoice-gen-367 , for example -- and beyond
>> that, SHACL Shapes which could validate data instances of all of the
>> schema.org classes and properties. Incomplete solutions would be of
>> value.
>>
>>
>> Regards,
>> James
>>
>>
>>
>>

-- 

Dr Adrian Burton ,

Director,

Data Policy and Services

Australian Research Data Commons

T: +61 2 6125 6659 |M: +61 404 016 407| E: adrian.burton@ardc.edu.au | W:
ardc.edu.au <http://www.ardc.edu.au/>




<https://twitter.com/ands_nectar_rds>
<https://www.youtube.com/user/andsdata>
ARDC acknowledges the Traditional Owners of the lands
that we live and work on across Australia and pays its respect
to Elders past and present.
Please consider the environment before printing this e-mail.

Received on Thursday, 21 May 2020 12:11:33 UTC