Skip to content

Commit

Permalink
fix #2: prevent syntax errors in anno.ttl through blank node renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
KonradHoeffner committed Nov 28, 2023
1 parent 5d8df4d commit ebc125c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/combine
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ ROOT=`( cd "$SCRIPT_PATH/.." && pwd )`
DIST=$ROOT/dist
mkdir -p $ROOT/dist
rapper -i rdfxml $ROOT/annodc.owl -o ntriples > /tmp/annodc.nt
rapper -i rdfxml $ROOT/annods.owl -o ntriples > /tmp/annods.nt
# prevent errors through overlapping blank node identifiers
rapper -i rdfxml $ROOT/annods.owl -o ntriples | sed "s/genid/schmenid/g"> /tmp/annods.nt
# workaround for spaces in URIs
cat $SCRIPT_PATH/prefix.ttl /tmp/annodc.nt /tmp/annods.nt \
| sed "s/\\\u0020/%20/g" \
Expand Down

0 comments on commit ebc125c

Please sign in to comment.