Skip to content

Instantly share code, notes, and snippets.

@briesenberg07
Last active August 9, 2024 21:19
Show Gist options
  • Save briesenberg07/6a62b1127a6df57ca2f1fa1d3409bf5e to your computer and use it in GitHub Desktop.
Save briesenberg07/6a62b1127a6df57ca2f1fa1d3409bf5e to your computer and use it in GitHub Desktop.
Reporting on ONS resources with rdf:type values which are classes that don't exist

opaquenamespace.org resources typed with classes that don't exist

See OregonDigital / ControlledVocabularyManager #624 - fix broken rdf:type values

Including below counts for number of resources in ONS which are typed using classes that don't exist, by vocabulary.

Also including a little script which can be run to reproduce the results. It uses Python rdflib to parse published data for each vocab listed at ONS.org into a graph and obtain counts for resources typed as each of five classes which are used widely in the data but do not exist.

Because the nonexistent classes use the SKOS namespace, also including some SKOS reference below.

SKOS reference

Access Restrictions controlled vocabulary

  • No results

Categories for the Description of Works of Art (CDWA)

  • No results

class controlled vocabulary

commonNames controlled vocabulary

Creator controlled vocabulary

Culture controlled vocabulary

  • No results

Department of Land Conservation and Development Subjects

  • No results

genus controlled vocabulary

GeoRSS

  • No results

Local Collection Name

Oregon Digital Rights Statements

  • No results

Oregon State University Academic Units

Oregon State University Buildings

  • No results

Oregon State University Degree Fields

People

phylum controlled vocabulary

publisher controlled vocabulary

Repository controlled vocabulary

Series Name

species controlled vocabulary

stylePeriod controlled vocabulary

Subject and Event controlled vocabularies

Technique controlled vocabulary

  • No results

Here is a sample label

TFDD International River Basins

  • No results

workType controlled vocabulary

  • No results
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment