void
Theme
Text size
GitHub Menu

Class in Vocabulary of Interlinked Datasets (VoID)

ClassBasedPartition

The slice of a dataset about the members of one class, written inside that dataset, most often to give counts for it.

URI: void_linkml:ClassBasedPartition

 classDiagram
    class ClassBasedPartition
    click ClassBasedPartition href "../../classes/ClassBasedPartition/"
      ClassBasedPartition : class
        
      ClassBasedPartition : classes
        
      ClassBasedPartition : distinctObjects
        
      ClassBasedPartition : distinctSubjects
        
      ClassBasedPartition : documents
        
      ClassBasedPartition : entities
        
      ClassBasedPartition : properties
        
      ClassBasedPartition : propertyPartition
        
          
    
        
        
        ClassBasedPartition --> "*" PropertyBasedPartition : propertyPartition
        click PropertyBasedPartition href "../../classes/PropertyBasedPartition/"
    

        
      ClassBasedPartition : triples
        
      

Class Properties#

PropertyValue
Class URIvoid_linkml:ClassBasedPartition

Slots#

NameCardinality and RangeDescriptionInheritance
class1
Uriorcurie
The class whose instances a class partition describes, named by its IRI, such…direct
triples0..1
Integer
How many triples the dataset holds; for a linkset, how many linksdirect
entities0..1
Integer
How many entities, resources with an IRI, the dataset describesdirect
classes0..1
Integer
How many distinct classes the dataset’s rdf:type triples namedirect
properties0..1
Integer
How many distinct properties the dataset’s triples use as predicatesdirect
distinctSubjects0..1
Integer
How many distinct IRIs and blank nodes the dataset’s triples have as subjectsdirect
distinctObjects0..1
Integer
How many distinct IRIs, blank nodes and literals the dataset’s triples have a…direct
documents0..1
Integer
How many RDF documents together carry the dataset, for example RDFa web pagesdirect
propertyPartition*
PropertyBasedPartition
The dataset’s slice for one property, given inside itdirect

Usages#

used byused intypeused
DatasetclassPartitionrangeClassBasedPartition
LinksetclassPartitionrangeClassBasedPartition

Comments#

  • VoID gives a partition no class of its own: it is a dataset, usually a blank node. This schema writes it as a value inside its dataset, so it has no IRI, and its class lives in this schema’s own namespace. The name follows VoID’s phrase for it and differs from the classPartition slot’s by more than case, so that their pages are two files on a filesystem that ignores case.

Identifier and Mapping Information#

Annotations#

propertyvalue
note_section4.5

Schema Source#

Mappings#

Mapping TypeMapped Value
selfvoid_linkml:ClassBasedPartition
nativevoid_linkml:ClassBasedPartition
broadvoid:Dataset

LinkML Source#

Direct#

YAML
name: ClassBasedPartition
annotations:
  note_section:
    tag: note_section
    value: '4.5'
description: The slice of a dataset about the members of one class, written inside
  that dataset, most often to give counts for it.
comments:
- 'VoID gives a partition no class of its own: it is a dataset, usually a blank node.
  This schema writes it as a value inside its dataset, so it has no IRI, and its class
  lives in this schema''s own namespace. The name follows VoID''s phrase for it and
  differs from the classPartition slot''s by more than case, so that their pages are
  two files on a filesystem that ignores case.'
from_schema: https://w3id.org/lmodel/void
broad_mappings:
- void:Dataset
slots:
- class
- triples
- entities
- classes
- properties
- distinctSubjects
- distinctObjects
- documents
- propertyPartition
slot_usage:
  class:
    name: class
    required: true
class_uri: void_linkml:ClassBasedPartition

Induced#

YAML
name: ClassBasedPartition
annotations:
  note_section:
    tag: note_section
    value: '4.5'
description: The slice of a dataset about the members of one class, written inside
  that dataset, most often to give counts for it.
comments:
- 'VoID gives a partition no class of its own: it is a dataset, usually a blank node.
  This schema writes it as a value inside its dataset, so it has no IRI, and its class
  lives in this schema''s own namespace. The name follows VoID''s phrase for it and
  differs from the classPartition slot''s by more than case, so that their pages are
  two files on a filesystem that ignores case.'
from_schema: https://w3id.org/lmodel/void
broad_mappings:
- void:Dataset
slot_usage:
  class:
    name: class
    required: true
attributes:
  class:
    name: class
    annotations:
      note_section:
        tag: note_section
        value: '4.5'
    description: The class whose instances a class partition describes, named by its
      IRI, such as foaf:Person.
    from_schema: https://w3id.org/lmodel/void
    rank: 1000
    slot_uri: void:class
    owner: ClassBasedPartition
    domain_of:
    - ClassBasedPartition
    range: uriorcurie
    required: true
    pattern: ^[A-Za-z_][A-Za-z0-9_.+-]*:[^\s]+$
  triples:
    name: triples
    annotations:
      note_section:
        tag: note_section
        value: '4.6'
    description: How many triples the dataset holds; for a linkset, how many links.
    from_schema: https://w3id.org/lmodel/void
    rank: 1000
    slot_uri: void:triples
    owner: ClassBasedPartition
    domain_of:
    - Dataset
    - ClassBasedPartition
    - PropertyBasedPartition
    range: integer
    minimum_value: 0
  entities:
    name: entities
    annotations:
      note_section:
        tag: note_section
        value: '4.6'
    description: How many entities, resources with an IRI, the dataset describes.
    from_schema: https://w3id.org/lmodel/void
    rank: 1000
    slot_uri: void:entities
    owner: ClassBasedPartition
    domain_of:
    - Dataset
    - ClassBasedPartition
    - PropertyBasedPartition
    range: integer
    minimum_value: 0
  classes:
    name: classes
    annotations:
      note_section:
        tag: note_section
        value: '4.6'
    description: How many distinct classes the dataset's rdf:type triples name.
    from_schema: https://w3id.org/lmodel/void
    rank: 1000
    slot_uri: void:classes
    owner: ClassBasedPartition
    domain_of:
    - Dataset
    - ClassBasedPartition
    - PropertyBasedPartition
    range: integer
    minimum_value: 0
  properties:
    name: properties
    annotations:
      note_section:
        tag: note_section
        value: '4.6'
    description: How many distinct properties the dataset's triples use as predicates.
    from_schema: https://w3id.org/lmodel/void
    rank: 1000
    slot_uri: void:properties
    owner: ClassBasedPartition
    domain_of:
    - Dataset
    - ClassBasedPartition
    - PropertyBasedPartition
    range: integer
    minimum_value: 0
  distinctSubjects:
    name: distinctSubjects
    annotations:
      note_section:
        tag: note_section
        value: '4.6'
    description: How many distinct IRIs and blank nodes the dataset's triples have
      as subjects.
    from_schema: https://w3id.org/lmodel/void
    rank: 1000
    slot_uri: void:distinctSubjects
    owner: ClassBasedPartition
    domain_of:
    - Dataset
    - ClassBasedPartition
    - PropertyBasedPartition
    range: integer
    minimum_value: 0
  distinctObjects:
    name: distinctObjects
    annotations:
      note_section:
        tag: note_section
        value: '4.6'
    description: How many distinct IRIs, blank nodes and literals the dataset's triples
      have as objects.
    from_schema: https://w3id.org/lmodel/void
    rank: 1000
    slot_uri: void:distinctObjects
    owner: ClassBasedPartition
    domain_of:
    - Dataset
    - ClassBasedPartition
    - PropertyBasedPartition
    range: integer
    minimum_value: 0
  documents:
    name: documents
    annotations:
      note_section:
        tag: note_section
        value: '4.6'
    description: How many RDF documents together carry the dataset, for example RDFa
      web pages.
    comments:
    - Use it where the triples are hard to count; triples and entities say more where
      they can be given.
    from_schema: https://w3id.org/lmodel/void
    rank: 1000
    slot_uri: void:documents
    owner: ClassBasedPartition
    domain_of:
    - Dataset
    - ClassBasedPartition
    - PropertyBasedPartition
    range: integer
    minimum_value: 0
  propertyPartition:
    name: propertyPartition
    annotations:
      note_section:
        tag: note_section
        value: '4.5'
    description: The dataset's slice for one property, given inside it.
    comments:
    - VoID makes it a narrower subset; here it is a value, so it does not inherit
      subset's range.
    from_schema: https://w3id.org/lmodel/void
    rank: 1000
    slot_uri: void:propertyPartition
    owner: ClassBasedPartition
    domain_of:
    - Dataset
    - ClassBasedPartition
    range: PropertyBasedPartition
    multivalued: true
    inlined: true
    inlined_as_list: true
class_uri: void_linkml:ClassBasedPartition