PREFIX aocat: PREFIX rdf: PREFIX rdfs: 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 . } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_access_rights "Not provided" . } } WHERE { GRAPH { ?s rdf:type . MINUS { ?s rdf:type . ?s aocat:has_access_rights ?ar . } } }; 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 ariadneplus: INSERT { GRAPH { ?record aocat:has_publisher ?publisher . ?record aocat:has_access_rights ?accessRights . ?record aocat:has_access_policy ?access_policy . ?record aocat:has_ARIADNE_subject ?archeologicalResourceType . } } USING WHERE { ?record aocat:is_part_of ?collection . ?collection aocat:has_publisher ?publisher . ?collection aocat:has_access_rights ?accessRights . ?collection aocat:has_access_policy ?access_policy . ?collection aocat:has_ARIADNE_subject ?archeologicalResourceType . }; 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 rdf: INSERT { GRAPH { ?s aocat:has_ARIADNE_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_ARIADNE_subject ?ariadneSubject . } } }; PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_publisher . 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_publisher ?agent . } } }; PREFIX aocat: 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 ?agent . } } }; 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 skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:was_issued ?coll_issued . ?s aocat:was_modified ?coll_modified . } } USING WHERE { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:is_part_of ?coll . ?coll aocat:was_issued ?coll_issued . ?coll aocat:was_modified ?coll_modified . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:was_issued ?issued . ?s aocat:was_modified ?modified . } }; PREFIX aocat: PREFIX rdf: PREFIX skos: 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 rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_spatial_coverage . rdf:type . rdfs:label "Name not provided" . aocat:has_place_name "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_spatial_coverage ?spatialRegion . ?spatialRegion aocat:has_place_name ?placeName . } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: PREFIX owl: PREFIX ariadneplus: PREFIX time: PREFIX periodo: 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 time:intervalStartedBy / time:hasDateTimeDescription / periodo:earliestYear ?temporalFrom . ?periodO time:intervalFinishedBy / time:hasDateTimeDescription / periodo:latestYear ?temporalUntil . } } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: PREFIX owl: PREFIX ariadneplus: PREFIX time: PREFIX periodo: 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 time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom . ?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil . } } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: PREFIX owl: PREFIX ariadneplus: PREFIX time: PREFIX periodo: 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 time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom . ?periodO time:intervalFinishedBy / time:hasDateTimeDescription / periodo:latestYear ?temporalUntil . } } } }; PREFIX skos: PREFIX aocat: INSERT { GRAPH { ?record aocat:has_derived_subject ?aat_subject . } } USING USING WHERE { { ?record aocat:has_native_subject ?native_subject . ?aat_native_subject skos:exactMatch ?aat_subject . bind (IRI(replace( str(?aat_native_subject), "NARA", "NABUNKEN")) as ?patched_aat_native_subject) filter(?native_subject=?patched_aat_native_subject) } union { ?record aocat:has_native_subject ?native_subject . ?aat_native_subject skos:broadMatch ?aat_subject . bind (IRI(replace( str(?aat_native_subject), "NARA", "NABUNKEN")) as ?patched_aat_native_subject) filter(?native_subject=?patched_aat_native_subject) } union { ?record aocat:has_native_subject ?native_subject . ?aat_native_subject skos:closeMatch ?aat_subject . bind (IRI(replace( str(?aat_native_subject), "NARA", "NABUNKEN")) as ?patched_aat_native_subject) filter(?native_subject=?patched_aat_native_subject) } union { ?record aocat:has_native_subject ?native_subject . ?aat_native_subject skos:narrowMatch ?aat_subject . bind (IRI(replace( str(?aat_native_subject), "NARA", "NABUNKEN")) as ?patched_aat_native_subject) filter(?native_subject=?patched_aat_native_subject) } };