On Mon, Aug 29, 2011 at 9:19 AM, srecko joksimovic
<[email protected]> wrote:
> Hello,
>
> I have uploaded my ontology to /entityhub, using appropriate curl command.
> How I can delete this ontology, and upload new one? If there is no other
> way, could I run maven clean install again?
>
> Best,
> Srecko Joksimovic
>

There is the possibility to delete Entities from the /entithub  by sending

    DELETE /entityhub/entity?id={uri}

for all concepts of the Ontology.

If the new version does only define some new concepts (and does not
remove any), it might also be sufficient to only make an update
request with "?create=true"
However this will first require STANBOL-308 [1] to be implemented
because currently you will get an exception if you try to update an
entity that is not already present in the /entityhub.

best
Rupert Westenthaler


[1] https://issues.apache.org/jira/browse/STANBOL-308


-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to