Skip to content

shapePartition like classPartition #114

Description

@JervenBolleman

I would like to annotate that a dataset has elements that are grouped by a named data shape (ShACL, Shex or other).

:MyDataset a void:Dataset;
    void:shapePartition [ void:shape [  a sh:NodeShape ;
                                                                 sh:targetClass foaf:Person ] ];
    void:shapePartition [ void:shape [ a sh:NodeShape ;
                                                                  sh:targetClass foaf:Organization ]];

This would add two new object properties void:shapePartition and void:shape

void:shapePartition a owl:ObjectProperty;
    rdfs:label "shape partition";
    rdfs:comment "A subset of a void:Dataset that contains only the entities of a that conform to certain data shape.";
    rdfs:domain void:Dataset;
    rdfs:range void:Dataset;
    rdfs:subPropertyOf void:subset .

void:shape a owl:ObjectProperty;
    rdfs:label "shape";
    rdfs:comment "The shape describing a set of entities in a Dataset.";
    rdfs:domain void:Dataset;

void:shaclShape a owl:FunctionalProperty ;
   rdfs:label "ShACL shape" ;
   rdfs:comment "A ShACL shape describing a set of entities in a Dataset.";
   rdfs:subPropertyOf void:shape ;
   rdfs:range <http://www.w3.org/ns/shacl#shape> .

void:shexShape a owl:FunctionalProperty ;
   rdfs:label "ShEx shape " ;
   rdfs:comment "A ShEx shape describing a set of entitites in a Dataset" ;
   rdfs:subProeprty of void:shape ;
   rdfs:range <http://www.w3.org/ns/shex#shape> .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions