I have been searching everywhere for a way to delete only duplicate triples, however, I haven't been successfully in finding solution.
For example if I had the following triple store
ex:Bob rdf:type dbo:Person.
ex:Bob rdf:type dbo:Person.
ex:Bob rdf:type dbo:Person.
And I use the following delete query
DELETE {ex:Bob rdf:type dbo:Person.}
All triples will be removed, however, the output I require is below:
ex:Bob rdf:type dbo:Person.
I have tried using select queries with the limit set but this won't work if there exist more than one set of triples within the triplestore.
Thank you for any help provided.