#First count how many triples are there
PREFIX aocat:
PREFIX ariadneplus:
SELECT * WHERE {
GRAPH {
?resource aocat:has_temporal_coverage ?temporal .
}
GRAPH {
?temporal aocat:has_period ?period .
optional {?temporal aocat:from ?temporalFrom .}
optional {?temporal aocat:until ?temporalUntil .}
}
}
#let's delete them from the periodoplus graph
PREFIX aocat:
WITH
DELETE {
?temporal aocat:has_period ?periodOURI .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
USING
USING
WHERE {
?resource aocat:has_temporal_coverage ?temporal .
?temporal aocat:has_period ?periodOURI .
optional {?temporal aocat:from ?temporalFrom .}
optional {?temporal aocat:until ?temporalUntil .}
}