PREFIX aocat: PREFIX rdf: PREFIX skos: PREFIX rdfs: PREFIX ariadneplus: PREFIX skosxl: PREFIX gvp: 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: PREFIX skos: INSERT { GRAPH { ?s aocat:has_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 . } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { aocat:has_original_id "https://findsampo.fi" . } } WHERE { GRAPH { rdf:type . MINUS { ?s rdf:type . aocat:has_original_id ?id . } } }; PREFIX skos: PREFIX aocat: PREFIX rdfs: INSERT { GRAPH { ?ns skos:prefLabel ?nsLabel . } } WHERE { GRAPH { ?s aocat:has_native_subject ?ns . ?ns rdfs:label ?nsLabel . MINUS { ?ns skos:prefLabel ?l } } }; 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 skos: INSERT { GRAPH { ?record aocat:has_derived_subject ?aat_subject . } } USING WHERE { ?record aocat:has_derived_subject ?aat_subject . }; PREFIX aocat: PREFIX skos: PREFIX skosxl: PREFIX gvp: INSERT { GRAPH { ?aat_subject skos:prefLabel ?label . } } USING USING WHERE { ?record aocat:has_derived_subject ?aat_subject . ?aat_subject rdf:type gvp:Concept . ?aat_subject gvp:prefLabelGVP ?lab . ?lab gvp:term ?label . }; PREFIX aocat: PREFIX rdfs: PREFIX skos: INSERT { GRAPH { ?nativePeriod skos:prefLabel ?label . } } WHERE { GRAPH { ?temporalNative aocat:has_native_period ?nativePeriod . ?nativePeriod rdfs:label ?label . } }; PREFIX aocat: INSERT { GRAPH { ?temporal aocat:has_period ?period . ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } } WHERE { GRAPH { ?temporal aocat:has_native_period ?period . ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } }; PREFIX aocat: PREFIX skos: INSERT { GRAPH { ?period skos:prefLabel ?label . } } WHERE { GRAPH { ?temporal aocat:has_native_period ?period . ?period skos:prefLabel ?label . } };