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 rdf: PREFIX rdfs: PREFIX skos: INSERT { GRAPH { ?s aocat:has_type . rdf:type . skos:prefLabel "provided record" } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_type ?t . } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_language . skos:prefLabel "und" . } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_language ?ns . } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_native_subject . skos:prefLabel "Not provided" . } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_native_subject ?ns . } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_creator . rdf:type . rdfs:label "Not provided" . aocat:has_name "Not provided" . } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_creator ?creator . } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_contributor . rdf:type . rdfs:label "Not provided" . aocat:has_name "Not provided" . } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_contributor ?contributor . } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_responsible . rdf:type . rdfs:label "Not provided" . aocat:has_name "Not provided" . } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_responsible ?resp . } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_owner . rdf:type . rdfs:label "Not provided" . aocat:has_name "Not provided" . } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_owner ?own . } } }; PREFIX aocat: PREFIX skos: PREFIX ariadneplus: INSERT { GRAPH { ?record aocat:was_modified ?coll_mod . } } USING USING WHERE { ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:is_part_of ?coll . ?coll aocat:was_modified ?coll_mod . MINUS{ ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:was_modified ?modified . } }; PREFIX aocat: PREFIX skos: PREFIX ariadneplus: INSERT { GRAPH { ?record aocat:was_issued ?coll_iss . } } USING USING WHERE { ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:is_part_of ?coll . ?coll aocat:was_issued ?coll_iss . MINUS{ ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:was_issued ?issued . } }; PREFIX skos: PREFIX aocat: INSERT { GRAPH { ?record aocat:has_derived_subject ?aat . } } USING USING WHERE { { ?record aocat:has_native_subject ?native_subject . ?native_subject skos:exactMatch ?aat . } union { ?record aocat:has_native_subject ?native_subject . ?native_subject skos:broadMatch ?aat . } union { ?record aocat:has_native_subject ?native_subject . ?native_subject skos:closeMatch ?aat . } union { ?record aocat:has_native_subject ?native_subject . ?native_subject skos:narrowMatch ?aat . } }; PREFIX skos: PREFIX aocat: PREFIX time: PREFIX ariadneplus: INSERT { GRAPH { ?temporal aocat:has_period ?periodO . ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } } WHERE { GRAPH { ?temporal aocat:has_native_period ?native_period . ?native_period skos:prefLabel ?native_label . optional { GRAPH { ?periodO skos:altLabel ?native_label . ?periodO skos:inScheme . ?periodO time:intervalStartedBy ?intervalStartedBy . ?intervalStartedBy skos:prefLabel ?temporalFrom . ?periodO time:intervalFinishedBy ?intervalFinishedBy . ?intervalFinishedBy skos:prefLabel ?temporalUntil . } } } }; PREFIX aocat: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_landing_page ?lpResource . ?lpResource rdfs:label ?url } } WHERE { GRAPH { ?s aocat:has_original_id ?url . MINUS { ?s aocat:has_landing_page ?x . } BIND (IRI(?url) as ?lpResource) } }