Skip to content

Commit

Permalink
added new known namespace prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wmelder committed Jan 15, 2025
1 parent 115d43b commit 49a4e4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/util/ld_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
SKOS_NS = "http://www.w3.org/2004/02/skos/core#"
DCTERMS_NS = "http://purl.org/dc/terms/"
DISCOGS = "https://api.discogs.com/artists/"
MUZIEKWEB = "https://data.muziekweb.nl/Link/"
MUZIEKSCHATTEN = "https://data.muziekschatten.nl/som/"


def generate_lod_resource_uri(
Expand Down Expand Up @@ -166,6 +168,8 @@ def get_lod_resource_from_rdf_store(
g.bind("skos", SKOS_NS)
g.bind("dcterms", DCTERMS_NS)
g.bind("discogs", DISCOGS)
g.bind("muziekweb", MUZIEKWEB)
g.bind("som", MUZIEKSCHATTEN)

return g
except ConnectionError as e:
Expand Down

0 comments on commit 49a4e4b

Please sign in to comment.