IndomitoGallo / semanticturkey

Automatically exported from code.google.com/p/semanticturkey
0 stars 0 forks source link

adding "remove bookmark/annotation" button #60

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The bookmarks taken cannot be removed; there is a functionality in 
RangeAnnotator for removing annotations by selecting a context menu option from 
the highlighted annotation on the page, however it works only for range 
annotations taken with that extension.

The "remove bookmark" functionality I suggest should be put in the page as well 
as being invoked from a button placed beside the list of annotations per 
instance (WebLinks ctx menu on instance list or weblinks list in the resource 
description)

Its behavior shoud be:
invoke a deep-delete on the bookmark instance where deep-delete is:
given bookmark instance x, remove all triples <x,*,*> and <*,*,x> for each 
resource o in triples: <x,*,o> recursively deep-delete o if o is not referenced 
in any triple <*,*,o> (apart from <x,*,o>). This should imply automatically 
deep-deleting o if o is a bnode.

Original issue reported on code.google.com by stell...@info.uniroma2.it on 3 Feb 2011 at 3:11