PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: 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 . } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:was_issued "2022-01-24"^^xsd:dateTime . ?s aocat:was_modified "2022-01-24"^^xsd:dateTime . } } USING WHERE { ?s rdf:type . MINUS { ?s rdf:type . ?s aocat:was_issued ?issued . ?s aocat:was_modified ?modified . } }; PREFIX aocat: 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 . MINUS { ?s rdf:type . ?s aocat:has_owner ?agent . } } }; PREFIX aocat: 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 . MINUS { ?s rdf:type . ?s aocat:has_responsible ?agent . } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?s aocat:was_modified "Not provided" . } } WHERE { GRAPH { ?s rdf:type . MINUS { ?s rdf:type . ?s aocat:was_modified ?d . } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?s aocat:was_issued "Not provided" . } } WHERE { GRAPH { ?s rdf:type . MINUS { ?s rdf:type . ?s aocat:was_issued ?d . } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_language . skos:prefLabel "und" . } } WHERE { GRAPH { ?s rdf:type . MINUS { ?s rdf:type . ?s aocat:has_language ?ns . } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_original_id "CENIEH_CIR" . } } WHERE { GRAPH { ?s rdf:type . MINUS { ?s rdf:type . ?s aocat:has_original_id ?tc . } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_creator . rdf:type . rdfs:label "Not provided" . aocat:has_name "Not provided" . } } WHERE { GRAPH { ?s rdf:type . MINUS { ?s rdf:type . ?s aocat:has_creator ?agent . } } }; PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_temporal_coverage . rdf:type . rdfs:label "Not provided" . } } WHERE { GRAPH { ?s rdf:type . MINUS { ?s rdf:type . ?s aocat:has_temporal_coverage ?tc . } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_access_rights "Not provided" . } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_access_rights ?ar . } } }; PREFIX aocat: PREFIX skos: PREFIX ariadneplus: INSERT { GRAPH { ?record aocat:has_ARIADNE_subject ?archeologicalResourceType . ?record aocat:has_owner ?owner . ?record aocat:has_responsible ?legalResponsible . ?record aocat:has_contributor ?contributor . } } USING WHERE { ?record aocat:is_part_of ?collection . ?collection aocat:has_ARIADNE_subject ?archeologicalResourceType . ?collection aocat:has_owner ?owner . ?collection aocat:has_responsible ?legalResponsible . ?collection aocat:has_contributor ?contributor . }; PREFIX aocat: PREFIX skos: 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 dcterms: INSERT { GRAPH { ?temporal aocat:has_period ?periodO . ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } } WHERE { GRAPH { ?record aocat:has_temporal_coverage ?temporal . ?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 / time:hasDateTimeDescription / time:year ?temporalFrom . ?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil . } } } };