I was amazed to find out that there is no way to remove/delete imported vocabularies.

I didn't know that importing was an action with permanent non-recoverable consequences.

Comments

scor’s picture

Title: Removing imported vocabularies » Allow for imported vocabularies and namespaces removal
Component: Evoc » RDF UI

Let's add a functionality to reset the mappings or empty them altogether in RDF UI. So people who want to start from scratch can do so easily using RDF UI.

Manual work around until this issue gets fixed:
- Uninstall evoc
- empty/TRUNCATE the tables rdf_mapping and rdfx_namespaces
- clear your caches (admin/config/development/performance or run drush cc all)

Anonymous’s picture

scor, are you still on board to deprecate Evoc completely? I thought that's what we had decided to do. If so, I think that we should just focus on that and forget about vocabulary removal. This would mean changing the install function to not insert these tables in the first place and then adding an uninstall function that removes them.

We should still allow for namespace removal.

scor’s picture

yes, I'm for evoc removal.

Quarantine’s picture

Subscribing.

cybernostra’s picture

Hello

First of all, thank you very much for the work you do for the module package and the intelligence to link Drupal and open data as it is dominant ! KUDOS ! Merci :)

#1 I confirm the recipe for deleting namespace, working as charm after a mistake i made in writing the same predicates twice between (confusing) schema and DBpedia Prefix

- Uninstall evoc
- empty/TRUNCATE the tables rdf_mapping and rdfx_namespaces
- run drush cc all

klonos’s picture

Is this issue here about also editing/updating imported vocabs too or only removing/purging them?

Anonymous’s picture

Status: Active » Closed (won't fix)

The issue to deprecate and remove evoc has a patch that should cover this which will remove all vocabulary management that Evoc does. As such, I'm marking this wontfix.