PREFIX aocat: 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: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_owner . rdf:type . rdfs:label "Not provided" . aocat:has_name "Not provided" . } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_owner ?agent . } } }; PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_responsible . rdf:type . rdfs:label "Not provided" . aocat:has_name "Not provided" . } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_responsible ?agent . } } }; PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_contributor . rdf:type . rdfs:label "Not provided" . aocat:has_name "Not provided" . } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_contributor ?agent . } } }; PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_creator . rdf:type . rdfs:label "Not provided" . aocat:has_name "Not provided" . } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_creator ?agent . } } }; PREFIX aocat: PREFIX skos: PREFIX ariadneplus: INSERT { GRAPH { ?record aocat:has_publisher ?p . ?p aocat:has_name ?pname . } } USING USING WHERE { ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:is_part_of ?coll . ?coll aocat:has_publisher ?p . ?p aocat:has_name ?pname . MINUS{ ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:has_publisher ?pub . } }; PREFIX aocat: PREFIX skos: PREFIX ariadneplus: INSERT { GRAPH { ?p aocat:has_name ?pname . } } USING USING WHERE { ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:is_part_of ?coll . ?coll aocat:has_publisher ?p . ?p aocat:has_name ?pname . }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_native_subject ?ns . } } USING WHERE { ?s aocat:is_about ?about . ?about aocat:has_type ?ns . ?ns rdf:type aocat:AO_Concept . }; 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: PREFIX ariadneplus: INSERT { GRAPH { ?record aocat:was_modified ?coll_mod . } } USING USING WHERE { ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:is_part_of ?coll . ?coll aocat:was_modified ?coll_mod . MINUS{ ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:was_modified ?modified . } }; PREFIX aocat: PREFIX skos: PREFIX ariadneplus: INSERT { GRAPH { ?record aocat:was_issued ?coll_iss . } } USING USING WHERE { ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:is_part_of ?coll . ?coll aocat:was_issued ?coll_iss . MINUS{ ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:was_issued ?issued . } }; PREFIX dcterms: INSERT { GRAPH { ?periodO ?pred ?o . ?o ?pred2 ?o2 . ?o2 ?pred3 ?o3 . } } WHERE { GRAPH { ?periodO dcterms:spatial . ?periodO ?pred ?o . optional { ?o ?pred2 ?o2 . optional { ?o2 ?pred3 ?o3 . } } } }; PREFIX skos: PREFIX aocat: PREFIX time: PREFIX dcterms: 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 . optional { GRAPH { ?periodO skos:altLabel ?native_label . ?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom . ?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil . } } } }; PREFIX aocat: PREFIX skos: INSERT { GRAPH { ?record aocat:has_derived_subject ?aat . } } USING USING WHERE { { ?record aocat:has_native_subject ?native_subject . ?aat_subject skos:closeMatch ?aat . bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/HNM/", ucase(strafter(str(?native_subject),"HNM/")))) as ?uppercase_native_subject) filter(?uppercase_native_subject=?aat_subject) } union { ?record aocat:has_native_subject ?native_subject . ?aat_subject skos:exactMatch ?aat . bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/HNM/", ucase(strafter(str(?native_subject),"HNM/")))) as ?uppercase_native_subject) filter(?uppercase_native_subject=?aat_subject) } union { ?record aocat:has_native_subject ?native_subject . ?aat_subject skos:broadMatch ?aat . bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/HNM/", ucase(strafter(str(?native_subject),"HNM/")))) as ?uppercase_native_subject) filter(?uppercase_native_subject=?aat_subject) } union { ?record aocat:has_native_subject ?native_subject . ?aat_subject skos:narrowMatch ?aat . bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/HNM/", ucase(strafter(str(?native_subject),"HNM/")))) as ?uppercase_native_subject) filter(?uppercase_native_subject=?aat_subject) } };