PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:was_issued ?created_on . } } USING WHERE { ?s rdf:type . ?s aocat:was_created_on ?created_on . MINUS { ?s aocat:was_issued ?iss . } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:was_modified ?created_on . } } USING WHERE { ?s rdf:type . ?s aocat:was_created_on ?created_on . MINUS { ?s aocat:was_modified ?date } }; PREFIX aocat: PREFIX rdf: 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_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: INSERT { GRAPH { ?s aocat:has_contributor . rdf:type . rdfs:label "Not provided" . aocat:has_name "Not provided" . } } WHERE { GRAPH { ?s rdf:type . MINUS { ?s rdf:type . ?s aocat:has_contributor ?agent . } } }; PREFIX aocat: 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 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 aocat: INSERT { GRAPH { ?temporal aocat:has_period ?nativePeriod . ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } } WHERE { GRAPH { ?temporal aocat:has_native_period ?nativePeriod . ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } }; PREFIX aocat: PREFIX rdfs: PREFIX skos: INSERT { GRAPH { ?nativePeriod skos:prefLabel ?periodLabel . } } WHERE { GRAPH { ?temporal aocat:has_native_period ?nativePeriod . ?nativePeriod rdfs:label ?periodLabel . } };