- From: Konrad Abicht <abicht@informatik.uni-leipzig.de>
- Date: Mon, 28 Aug 2017 10:13:01 +0200
- To: public-shacl@w3.org
Hi Vladimir, thanks for trying this SHACL service. I tried it your way, but could not find any problems. At https://schreckl.inspirito.de/ you can see a fourth entry, which represents the "SHACL shapes for RDF Data Cube". I entered "SHACL shapes for RDF Data Cube" as title and description and used the raw RDF file "https://www.w3.org/2011/gld/validator/datacube.shapes.ttl" for the SHACL files field. It finished with a success message. Can you give me more information, so that i can reproduce the error(s)? >> srekl:ShapeInfo > > Hmmm, is this really necessary? > > TQ's has set an example for using owl:Ontology to "package" shapes, e.g. see https://github.com/w3c/shacl/blob/master/shapes/datacube.shapes.ttl. > It also uses the standard owl:imports mechanism to bring in dependencies (e.g. RDFS subclasses or function/shape libraries). > However, I think that also an rdfs:isDefinedBy link should be added to every shape, pointing back to the ontology. Using ShapeInfo was just a simple vehicle to group up meta data about a collection of shapes. Using owl:Ontology and owl:imports would transform: > :AdultShapeInfo > rdf:type srekl:ShapeInfo ; > dc11:title "Defines an adult person (foaf:Person)" ; > dc11:description "This rule describes a foaf:Person, which is considered an adult." ; > dc11:creator <https://github.com/k00ni> ; > srekl:shacl-file <https://raw.githubusercontent.com/schreckl/rules/master/rules/adult-person/adult-person.ttl#> . into > :AdultShapeInfo > owl:Ontology ; > dc11:title "Defines an adult person (foaf:Person)" ; > dc11:description "This rule describes a foaf:Person, which is considered an adult." ; > dc11:creator <https://github.com/k00ni> ; > owl:imports <https://raw.githubusercontent.com/schreckl/rules/master/rules/adult-person/adult-person.ttl#> . , doesn't it? I kinda like it. Any remarks here? Will see, if i can implement that soon. -- Mit freundlichem Gruß / Kinda regards Konrad Abicht Leipzig University Institute of Computer Science AKSW Group http://aksw.org/KonradAbicht.html
Received on Monday, 28 August 2017 08:13:26 UTC