Skip to content

owl class ComponentProperty is a subclass of rdf:Property #4

@renespeck

Description

@renespeck

Hi, in https://github.com/UKGovLD/publishing-statistical-data/blob/ede5e32affb236e4939b09fc63a27cdfc5d2a833/specs/src/main/vocab/cube.rdf is the following in line 110:

<rdfs:Class rdf:about="http://purl.org/linked-data/cube#ComponentProperty">
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
    <rdfs:label xml:lang="en">Component property (abstract)</rdfs:label>
    <rdfs:subClassOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
    <rdfs:comment xml:lang="en">Abstract super-property of all properties representing dimensions, attributes or measures</rdfs:comment>
    <rdfs:isDefinedBy rdf:resource="http://purl.org/linked-data/cube"/>
  </rdfs:Class>

This line suggests that the owl class ComponentProperty is a subclass of rdf:Property, which is not allowed because classes and properties are distinct concepts.

When I load the file with owlready2, this rises the error:

TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions