Skip to content

Commit

Permalink
Adjust output-directory and README
Browse files Browse the repository at this point in the history
  • Loading branch information
Petra Maier committed Nov 21, 2024
1 parent ceecf97 commit 6010563
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ Hinweis: Das git-Repo wurde am 2024-08-28 geklont von https://github.com/hbz/lob

# Erstellen der NDJSON-Files

1. In den Ordner `scripts` wechseln: `cd scripts/`
2. Skript ausführen mit `python3 skos2json.py <inputfile>.ttl` (ggf. auch `python skos2json.py <inputfile>.ttl`)
3. die erzeugten Dateien befinden sich im `Output`-Ordner
1. Skript ausführen mit `python3 scripts/skos2json.py <inputfile>.ttl` (ggf. auch `python scripts/skos2json.py <inputfile>.ttl`)
2. die erzeugten Dateien befinden sich im `output`-Ordner

## Requirements
* python3
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/skos2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# Load file in format ttl
input_file = sys.argv[1]
g.parse("./%s" % input_file, format="ttl")
g.parse(input_file, format="ttl")

# SPARQL query for URI and label of each concept
qres = g.query(
Expand Down

0 comments on commit 6010563

Please sign in to comment.