Source code

Download source archive ↓

src/rdflib/namespace/_QB.py

1from rdflib.namespace import DefinedNamespace, Namespace
2from rdflib.term import URIRef
3
4
5class QB(DefinedNamespace):
6    """
7    Vocabulary for multi-dimensional (e.g. statistical) data publishing
8
9    This vocabulary allows multi-dimensional data, such as statistics, to be published in RDF. It is based on the
10    core information model from SDMX (and thus also DDI).
11
12    Generated from: http://purl.org/linked-data/cube#
13    Date: 2020-05-26 14:20:05.485176
14
15    """
16
17    _fail = True
18
19    # http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
20    attribute: URIRef  # An alternative to qb:componentProperty which makes explicit that the component is a attribute
21    codeList: URIRef  # gives the code list associated with a CodedProperty
22    component: URIRef  # indicates a component specification which is included in the structure of the dataset
23    componentAttachment: URIRef  # Indicates the level at which the component property should be attached, this might an qb:DataSet, qb:Slice or qb:Observation, or a qb:MeasureProperty.
24    componentProperty: URIRef  # indicates a ComponentProperty (i.e. attribute/dimension) expected on a DataSet, or a dimension fixed in a SliceKey
25    componentRequired: URIRef  # Indicates whether a component property is required (true) or optional (false) in the context of a DSD. Only applicable     to components correspond to an attribute. Defaults to false (optional).
26    concept: URIRef  # gives the concept which is being measured or indicated by a ComponentProperty
27    dataSet: URIRef  # indicates the data set of which this observation is a part
28    dimension: URIRef  # An alternative to qb:componentProperty which makes explicit that the component is a dimension
29    hierarchyRoot: URIRef  # Specifies a root of the hierarchy. A hierarchy may have multiple roots but must have at least one.
30    measure: URIRef  # An alternative to qb:componentProperty which makes explicit that the component is a measure
31    measureDimension: URIRef  # An alternative to qb:componentProperty which makes explicit that the component is a measure dimension
32    measureType: URIRef  # Generic measure dimension, the value of this dimension indicates which measure (from the set of measures in the DSD) is being given by the obsValue (or other primary measure)
33    observation: (
34        URIRef  # indicates a observation contained within this slice of the data set
35    )
36    observationGroup: URIRef  # Indicates a group of observations. The domain of this property is left open so that a group may be attached to different resources and need not be restricted to a single DataSet
37    order: URIRef  # indicates a priority order for the components of sets with this structure, used to guide presentations - lower order numbers come before higher numbers, un-numbered components come last
38    parentChildProperty: URIRef  # Specifies a property which relates a parent concept in the hierarchy to a child concept.
39    slice: URIRef  # Indicates a subset of a DataSet defined by fixing a subset of the dimensional values
40    sliceKey: URIRef  # indicates a slice key which is used for slices in this dataset
41    sliceStructure: URIRef  # indicates the sub-key corresponding to this slice
42    structure: URIRef  # indicates the structure to which this data set conforms
43
44    # http://www.w3.org/2000/01/rdf-schema#Class
45    Attachable: URIRef  # Abstract superclass for everything that can have attributes and dimensions
46    AttributeProperty: URIRef  # The class of components which represent attributes of observations in the cube, e.g. unit of measurement
47    CodedProperty: URIRef  # Superclass of all coded ComponentProperties
48    ComponentProperty: URIRef  # Abstract super-property of all properties representing dimensions, attributes or measures
49    ComponentSet: URIRef  # Abstract class of things which reference one or more ComponentProperties
50    ComponentSpecification: URIRef  # Used to define properties of a component (attribute, dimension etc) which are specific to its usage in a DSD.
51    DataSet: URIRef  # Represents a collection of observations, possibly organized into various slices, conforming to some common dimensional structure.
52    DataStructureDefinition: URIRef  # Defines the structure of a DataSet or slice
53    DimensionProperty: (
54        URIRef  # The class of components which represent the dimensions of the cube
55    )
56    HierarchicalCodeList: URIRef  # Represents a generalized hierarchy of concepts which can be used for coding. The hierarchy is defined by one or more roots together with a property which relates concepts in the hierarchy to their child concept .  The same concepts may be members of multiple hierarchies provided that different qb:parentChildProperty values are used for each hierarchy.
57    MeasureProperty: URIRef  # The class of components which represent the measured value of the phenomenon being observed
58    Observation: URIRef  # A single observation in the cube, may have one or more associated measured values
59    ObservationGroup: URIRef  # A, possibly arbitrary, group of observations.
60    Slice: URIRef  # Denotes a subset of a DataSet defined by fixing a subset of the dimensional values, component properties on the Slice
61    SliceKey: URIRef  # Denotes a subset of the component properties of a DataSet which are fixed in the corresponding slices
62
63    _NS = Namespace("http://purl.org/linked-data/cube#")