the_good_pony
the_good_pony

Reputation: 500

How to delete using sparql

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

Answers (1)

Vladimir Alexiev
Vladimir Alexiev

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

Related Questions