Reputation: 500
I fear this is simple question . . . could someone tell me what the sparql is to delete all of a particular type of resource? Not just an individual triple but an entire set of resources.
thank you
Upvotes: 2
Views: 4523
Reputation: 2611
Sounds like you want to delete all triples of resources having some class. Try this
delete {?s ?p ?o}
where {?s a :ClassToDelete; ?p ?o}
Upvotes: 2