removed sourceurl and anchorOf with for i in locqualityissue-nif-10.ttl
locqualityissue-nif-11.ttl
locqualityissue-nif-1.ttl
locqualityissue-nif-2.ttl
locqualityissue-nif-3.ttl
locqualityissue-nif-4.ttl
locqualityissue-nif-5.ttl
locqualityissue-nif-6.ttl
locqualityissue-nif-7.ttl
locqualityissue-nif-8.ttl
locqualityissue-nif-9.ttl ; do   sed -i 's/nif:sourceUrl.*//;s/nif:anchorOf.*//;s|@prefix its: <http://www.w3.org/2005/11/its> .||' locqualityissue-nif-9.ttl ; done
renamed nif:convertedFrom/nif:wasConvertedFrom with for i in locqualityissue-nif-10.ttl
locqualityissue-nif-11.ttl
locqualityissue-nif-1.ttl
locqualityissue-nif-2.ttl
locqualityissue-nif-3.ttl
locqualityissue-nif-4.ttl
locqualityissue-nif-5.ttl
locqualityissue-nif-6.ttl
locqualityissue-nif-7.ttl
locqualityissue-nif-8.ttl
locqualityissue-nif-9.ttl ; do   sed -i  's/nif:convertedFrom/nif:wasConvertedFrom/' locqualityissue-nif-9.ttl ; done
added begin and end index with for i in locqualityissue-nif-10.ttl
locqualityissue-nif-11.ttl
locqualityissue-nif-1.ttl
locqualityissue-nif-2.ttl
locqualityissue-nif-3.ttl
locqualityissue-nif-4.ttl
locqualityissue-nif-5.ttl
locqualityissue-nif-6.ttl
locqualityissue-nif-7.ttl
locqualityissue-nif-8.ttl
locqualityissue-nif-9.ttl ; do   rapper -g locqualityissue-nif-9.ttl -o turtle | sed 's|^<http://example.com/exampledoc.html#char=\([0-9]*\),\([0-9]*\)>|<http://example.com/exampledoc.html#char=\1,\2>  nif:beginIndex 1 ; nif:endIndex 2 ; |' | rapper -i turtle -o turtle -I - - file >! /tmp/test/locqualityissue-nif-9.ttl ; cp /tmp/test/locqualityissue-nif-9.ttl locqualityissue-nif-9.ttl ; done