PREFIX skos: PREFIX aocat: 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 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 skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:was_issued ?created_on . } } USING WHERE { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:was_created_on ?created_on . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:was_issued ?issued . } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:was_modified ?created_on . } } USING WHERE { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:was_created_on ?created_on . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:was_modified ?issued . } }; 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:has_ARIADNE_subject ?coll_value . } } USING WHERE { ?record aocat:is_part_of ?collection . ?collection aocat:has_ARIADNE_subject ?coll_value . MINUS { ?record aocat:has_ARIADNE_subject ?rec_value . } }; PREFIX aocat: INSERT { GRAPH { ?record aocat:has_derived_subject ?aat . } } USING WHERE { ?record aocat:has_derived_subject ?aat . }; PREFIX aocat: PREFIX skos: INSERT { GRAPH { ?derivedSubject skos:prefLabel ?label . } } USING WHERE { ?record aocat:has_derived_subject ?derivedSubject . ?derivedSubject skos:prefLabel ?label . }; PREFIX skos: PREFIX aocat: PREFIX time: PREFIX rdfs: INSERT { GRAPH { ?temporal aocat:has_period ?native_period . ?temporal aocat:from ?from . ?temporal aocat:until ?until . } } WHERE { GRAPH { ?temporal aocat:has_native_period ?native_period . ?native_period rdfs:label|skos:prefLabel ?native_label . ?temporal aocat:from ?from . ?temporal aocat:until ?until . } }; PREFIX skos: PREFIX aocat: PREFIX time: PREFIX rdfs: INSERT { GRAPH { ?native_period skos:prefLabel ?native_label . } } WHERE { GRAPH { ?temporal aocat:has_native_period ?native_period . ?native_period rdfs:label|skos:prefLabel ?native_label . ?temporal aocat:from ?from . ?temporal aocat:until ?until . } };