-
Notifications
You must be signed in to change notification settings - Fork 4
Deleting Terms
Deleting terms should be done with extreme caution, especially if it's likely that a URI has been used. But if Deprecation is not an option, and if there is some other encoding error or duplicate entries, it can be done.
Log in to the CVM server, find the corresponding .nt file. Remove it from Git and commit. Push the changes to GitHub.
Visit the Blazegraph Workbench, select the 'Query' tab, confirm that you have the exact URI you want to delete:
SELECT * WHERE {
<http://opaquenamespace.org/ns/osuAcademicUnits/TALPtSDu> ?p ?o .
}
Change to the 'Update' tab, then enter this DELETE command, changing the sparql subject. This will delete all predicates with that subject.
DELETE WHERE {
<http://opaquenamespace.org/ns/osuAcademicUnits/TALPtSDu> ?p ?o
};
Log in to the CVM server, go to /shared/public/ns
then find the cached views and formats.
- Remove Vocabulary level files, example:
osuAcademicUnits.html
,osuAcademicUnits.jsonld
,osuAcademicUnits.nt
- Remove Term files, example:
osuAcademicUnits/TALPtSDu.html
,osuAcademicUnits/TALPtSDu.jsonld
,osuAcademicUnits/TALPtSDu.nt
Then these will return when requested with updated statements from Blazegraph.