PREFIX aocat: DELETE { aocat:was_modified ?x . } WHERE { aocat:was_modified ?x . }; PREFIX aocat: INSERT DATA { GRAPH { aocat:was_modified "2022-11-08"^^xsd:dateTime . } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:was_issued ?created_on . ?s aocat:was_modified ?created_on . } } USING WHERE { ?s rdf:type aocat:AO_Collection . ?s aocat:was_created_on ?created_on . MINUS { ?s rdf:type aocat:AO_Collection . ?s aocat:was_issued ?issued . } }; PREFIX aocat: PREFIX rdf: PREFIX skos: INSERT { GRAPH { ?s aocat:has_type . rdf:type . skos:prefLabel "collection" } } WHERE { GRAPH { ?s rdf:type . MINUS { ?s rdf:type . ?s aocat:has_type ?t . } } };