PREFIX aocat: PREFIX skos: PREFIX ariadneplus: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?record aocat:has_responsible ?coll_value . ?coll_value rdf:type ?type . ?coll_value rdfs:label ?label . ?coll_value aocat:has_name ?name . } } USING USING WHERE { ?record aocat:is_part_of ?collection . ?collection aocat:has_responsible ?coll_value . ?coll_value rdf:type ?type . ?coll_value rdfs:label ?label . ?coll_value aocat:has_name ?name . MINUS { ?record aocat:has_responsible ?rec_value . } }; 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 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 ariadneplus: INSERT { GRAPH { ?record aocat:was_issued "2023"^^xsd:date } } USING WHERE { ?record aocat:is_part_of ?collection . MINUS { ?record aocat:was_issued ?rec_value . } }; PREFIX aocat: PREFIX skos: PREFIX ariadneplus: INSERT { GRAPH { ?record aocat:was_modified "2023"^^xsd:date } } USING WHERE { ?record aocat:is_part_of ?collection . MINUS { ?record aocat:was_modified ?rec_value . } }; PREFIX aocat: PREFIX skos: PREFIX ariadneplus: INSERT { GRAPH { ?record aocat:has_ARIADNE_subject ?coll_value . ?coll_value skos:prefLabel ?prefLabelValue . } } USING USING WHERE { ?record aocat:is_part_of ?collection . ?collection aocat:has_ARIADNE_subject ?coll_value . ?coll_value skos:prefLabel ?prefLabelValue . MINUS { ?record aocat:has_ARIADNE_subject ?rec_value . } }; 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: 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(concat( "https://ariadne-infrastructure.eu/aocat/Concept/ROAD/", ucase(strafter(str(?native_subject),"ROAD/")))) as ?uppercase_native_subject) filter(?uppercase_native_subject=?aat_native_subject) } union { ?record aocat:has_native_subject ?native_subject . ?aat_native_subject skos:broadMatch ?aat_subject . bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/ROAD/", ucase(strafter(str(?native_subject),"ROAD/")))) as ?uppercase_native_subject) filter(?uppercase_native_subject=?aat_native_subject) } union { ?record aocat:has_native_subject ?native_subject . ?aat_native_subject skos:closeMatch ?aat_subject . bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/ROAD/", ucase(strafter(str(?native_subject),"ROAD/")))) as ?uppercase_native_subject) filter(?uppercase_native_subject=?aat_native_subject) } union { ?record aocat:has_native_subject ?native_subject . ?aat_native_subject skos:narrowMatch ?aat_subject . bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/ROAD/", ucase(strafter(str(?native_subject),"ROAD/")))) as ?uppercase_native_subject) filter(?uppercase_native_subject=?aat_native_subject) } }; 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 { ?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 . } } } };