Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
saumier committed Apr 3, 2024
1 parent c05d0c6 commit 65b79b8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
# artsdata-planet-scenepro
Dataflow for ScenePro

To edit mapping:

1. Run docker-compose up
2. Open localhost:7333 to run Open Refine workbench
3. Open the existing project
4. Click "Edit RDF Mapping"
5. When done making changes save RDF Mapping
6. Clean up the history (tab undo/redo) to keep only the steps needed.
6. Export > Export project configurations into Github /ontorefine/config.json


Note: This brought the lines from 16.5k down to 1.1K

Steps:
* docker run -p 7333:7333 ontotext/refine:1.2.0
* docker exec -u root -it 91a8db6f94dc /bin/sh -c "apk update && apk add curl util-linux coreutils"
* curl entities.json and config.json
* /opt/ontorefine/dist/bin/ontorefine-cli transform entities.json -u http://localhost:7333 --configurations config.json
--no-clean -f json >> scenepro-entities.ttl

0 comments on commit 65b79b8

Please sign in to comment.