Skip to content

Commit

Permalink
Add base namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
maipet committed Jul 8, 2024
1 parent c0e8f49 commit f77a99b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion create_faechersystematik_ttl.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
dict_3rd_level = df_3rd_level.to_dict("records")

g = Graph()

base = Namespace('https://w3id.org/kim/hochschulfaechersystematik/')
vann = Namespace('http://purl.org/vocab/vann/')
dct = Namespace('http://purl.org/dc/terms/')
owl = Namespace('http://www.w3.org/2002/07/owl#')
skos = Namespace('http://www.w3.org/2004/02/skos/core#')
schema = Namespace('https://schema.org/')
g.bind("schema", schema)
g = Graph(base=base)

#conceptScheme
g.add((URIRef('scheme'), RDF['type'], skos['ConceptScheme']))
Expand Down
3 changes: 2 additions & 1 deletion hochschulfaechersystematik.ttl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@base <https://w3id.org/kim/hochschulfaechersystematik/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix schema: <https://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
Expand Down Expand Up @@ -2100,6 +2101,6 @@
dcterms:issued "2019-12-11" ;
dcterms:publisher <https://oerworldmap.org/resource/urn:uuid:fd06253e-fe67-4910-b923-51db9d27e59f> ;
dcterms:title "Destatis-Systematik der Fächergruppen, Studienbereiche und Studienfächer"@de ;
vann:preferredNamespaceUri <https://w3id.org/kim/hochschulfaechersystematik/> ;
vann:preferredNamespaceUri <> ;
schema:isBasedOn <http://bartoc.org/node/18919> .

0 comments on commit f77a99b

Please sign in to comment.