Closed palexander closed 11 years ago
Note to myself: The bug here is Query.model_to_triples
it is not finding all attributes to be deleted.
It seems that the delete does not remove all the attributes if the object is not fully loaded. I have added:
self.load unless self.loaded?
First line in Resource.delete
It appears as though some triples are left behind after object delete, at least in the case of OntologySubmission. In ontologies_linked_data, run:
Query 4store: select * {?s ?p ?o}
We would expect related objects to be left in the store (IE SubmissionStatus, User, etc), but these are normal attribute triples.