Re: [dxwg] property profileOfTransitive

We may wish to provide a tool that looks up through a profile's hierarchy and finds any ancestors' Resource Descriptors with role of *Full Constraints* in a particular format/spec (e.g. SHACL in an RDF format) and then applies all of them to an instance wishing to validate compliance to the profile. This then would be the full test of conformance to a profile "and all it's profileOf ancestors" and would avoid the requirement for profiles to be "flat". A simple SPARQL query to find any such assets and then a graph merge on all SHACL Resource Descriptor artifacts and execution of them, for which we can use [pySHACL](https://github.com/RDFLib/pySHACL).

We may think of validating GeoDCAT-AP instances in this way using DCAT, DCAT-AP & GeoDCAT-AP validators. We may have to fudge things by removing any flattened content within the inheriting profiles for purposes of demonstration.

-- 
GitHub Notification of comment by nicholascar
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/486#issuecomment-435231789 using your GitHub account

Received on Friday, 2 November 2018 00:29:03 UTC