PREFIX aocat: PREFIX rdf: PREFIX skos: INSERT { GRAPH { ?record aocat:is_part_of . } } WHERE { GRAPH { ?record rdf:type aocat:AO_Individual_Data_Resource. } }; 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: INSERT { GRAPH { ?s aocat:has_title "Title not provided". } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource. MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource. ?s aocat:has_title ?title. } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?record aocat:was_modified ?date. } } WHERE { GRAPH { ?record aocat:is_part_of ?collection. ?collection aocat:was_modified ?date. MINUS { ?record aocat:was_modified ?x. } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?record aocat:was_issued ?date. } } WHERE { GRAPH { ?record aocat:is_part_of ?collection. ?collection aocat:was_issued ?date. MINUS { ?record aocat:was_issued ?x. } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?record aocat:has_contributor ?agent. } } WHERE { GRAPH { ?record aocat:is_part_of ?collection. ?collection aocat:has_contributor ?agent. MINUS { ?record aocat:has_contributor ?x. } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?record aocat:has_responsible ?agent. } } WHERE { GRAPH { ?record aocat:is_part_of ?collection. ?collection aocat:has_responsible ?agent. MINUS { ?record aocat:has_responsible ?x. } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?record aocat:has_owner ?agent. } } WHERE { GRAPH { ?record aocat:is_part_of ?collection. ?collection aocat:has_owner ?agent. MINUS { ?record aocat:has_owner ?x. } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?record aocat:has_publisher ?agent. } } WHERE { GRAPH { ?record aocat:is_part_of ?collection. ?collection aocat:has_publisher ?agent. MINUS { ?record aocat:has_publisher ?x. } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?record aocat:has_access_rights ?ar. } } WHERE { GRAPH { ?record aocat:is_part_of ?collection. ?collection aocat:has_access_rights ?ar. MINUS { ?record aocat:has_access_rights ?x. } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?record aocat:has_access_policy ?ar. } } WHERE { GRAPH { ?record aocat:is_part_of ?collection. ?collection aocat:has_access_policy ?ar. MINUS { ?record aocat:has_access_policy ?x. } } }; 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: PREFIX rdf: PREFIX skos: PREFIX time: 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. GRAPH { ?periodO skos:altLabel ?native_label . ?periodO skos:inScheme . ?periodO time:intervalStartedBy ?intervalStartedBy. ?intervalStartedBy skos:prefLabel ?temporalFrom. ?periodO time:intervalFinishedBy ?intervalFinishedBy. ?intervalFinishedBy skos:prefLabel ?temporalUntil. } } }