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 . } }; PREFIX aocat: INSERT { GRAPH { ?record aocat:was_issued ?x . } } USING USING WHERE { ?record aocat:is_part_of ?collection . ?collection aocat:was_issued ?x . MINUS{ ?record aocat:was_issued ?date } }; PREFIX aocat: INSERT { GRAPH { ?record aocat:was_modified ?x . } } USING USING WHERE { ?record aocat:is_part_of ?collection . ?collection aocat:was_modified ?x . MINUS{ ?record aocat:was_modified ?date } }; PREFIX aocat: INSERT { GRAPH { ?record aocat:has_access_rights ?x . } } USING USING WHERE { ?record aocat:is_part_of ?collection . ?collection aocat:has_access_rights ?x . MINUS{ ?record aocat:has_access_rights ?ar } }; PREFIX aocat: PREFIX skos: PREFIX time: INSERT { GRAPH { ?temporal aocat:has_period ?aat . ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } } USING USING WHERE { ?temporal aocat:has_native_period ?nativePeriod . ?nativePeriod skos:prefLabel ?nativeLabel . ?aat skos:inScheme . ?aat skos:altLabel ?nativeLabel . ?aat time:intervalStartedBy ?intervalStartedBy . ?intervalStartedBy time:hasDateTimeDescription ?sdesc . ?sdesc time:year ?temporalFrom . ?aat time:intervalFinishedBy ?intervalFinishedBy . ?intervalFinishedBy time:hasDateTimeDescription ?fdesc . ?fdesc time:year ?temporalUntil }; 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/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) 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/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) 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/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) 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/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) as ?uppercase_native_subject) filter(?uppercase_native_subject=?aat_native_subject) } };