Closed arnikz closed 3 years ago
Deleting annotations of MeasurementOrFact
type (i.e., examples 4-6) leaves 5 triples over:
img:MMNAT01_AF_NNM001001033_003.jpg rdf:type foaf:Image
img:MMNAT01_AF_NNM001001033_003.jpg rdf:type dcmitype:StillImage
img:MMNAT01_AF_NNM001001033_003.jpg rdf:type dsw:Token
img:MMNAT01_AF_NNM001001033_003.jpg rdf:type dwc:HumanObservation
img:MMNAT01_AF_NNM001001033_003.jpg rdf:type oa:Source
The issue is with SPARQL DELETE query that doesn't handle the img:MMNAT01_AF_NNM001001033_003.jpg
node(s) with more than one parent (BNodes).
Given an
oa:Annotation
instance, only its direct descendant nodes are deleted rather than all nodes of the annotation subgraph.See also #2, #88 and #89.