Skip to content

invalid typing of ONS predicates #12

@briesenberg07

Description

@briesenberg07

See also OregonDigital/ControlledVocabularyManager#624 re: invalid typing of other ONS resources

Querying ONS predicates [1], 74 have the following triple:

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
<http://opaquenamespace.org/ns/some_ons_predicate> rdf:type rdf:predicate.

rdf:type has rdfs:range rdfs:Class, but rdf:predicate is not an instance of an rdfs:Class, it is an instance of rdf:property, and is meant for use in reifying triples as detailed in RDF/XML Syntax Specification (Revised) > 7.3 Reification Rules and elsewhere (see also W3C wiki > RdfReification).

Most or all ONS properties should be typed as rdf:Property, maybe with some typed as subclasses (although I'm not really sure any of the other modelling for ONS properties supports this). At present 16 are typed correctly as rdf:Property, seems many need fixing.

[1] https://gist.github.com/briesenberg07/b4df8184d4247917b545e96e547ff9dc

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