PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_temporal_coverage ?tcov . } } WHERE { GRAPH { ?s rdf:type . ?s aocat:is_part_of ?coll . ?coll aocat:has_temporal_coverage ?tcov . MINUS { ?s rdf:type . ?s aocat:has_temporal_coverage ?tc . } } }; 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 skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { rdf:type . rdfs:label "THANADOS" . aocat:has_name "THANADOS" . ?s aocat:has_creator . ?s aocat:has_contributor . ?s aocat:has_responsible . ?s aocat:has_owner . ?s aocat:has_publisher . } } WHERE { GRAPH { ?s rdf:type . } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:was_issued "2022" } } WHERE { GRAPH { ?s rdf:type . MINUS{ ?s rdf:type . ?s aocat:was_issued ?smt . } } }; PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_access_rights "Not provided" } } WHERE { GRAPH { ?s rdf:type . MINUS{ ?s rdf:type . ?s aocat:has_access_rights ?smt . } } }; PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_spatial_coverage . rdf:type . rdfs:label "Place not provided" . aocat:has_place_name "Place not provided" . } } WHERE { GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_spatial_coverage ?spatialRegion . ?spatialRegion aocat:has_place_name ?placeName . } } }; 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 rdf: INSERT { GRAPH { ?s aocat:has_creator ?cr . } } WHERE { GRAPH { ?s rdf:type . ?s aocat:is_part_of ?coll . ?coll aocat:has_creator ?cr . MINUS{ ?s rdf:type . ?s aocat:has_creator ?x } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_contributor ?cr . } } WHERE { GRAPH { ?s rdf:type . ?s aocat:is_part_of ?coll . ?coll aocat:has_contributor ?cr . MINUS{ ?s rdf:type . ?s aocat:has_contributor ?x } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_responsible ?cr . } } WHERE { GRAPH { ?s rdf:type . ?s aocat:is_part_of ?coll . ?coll aocat:has_responsible ?cr . MINUS{ ?s rdf:type . ?s aocat:has_responsible ?x } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_owner ?cr . } } WHERE { GRAPH { ?s rdf:type . ?s aocat:is_part_of ?coll . ?coll aocat:has_owner ?cr . MINUS{ ?s rdf:type . ?s aocat:has_owner ?x } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_publisher ?cr . } } WHERE { GRAPH { ?s rdf:type . ?s aocat:is_part_of ?coll . ?coll aocat:has_publisher ?cr . MINUS{ ?s rdf:type . ?s aocat:has_publisher ?x } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?s aocat:was_issued ?cr . } } WHERE { GRAPH { ?s rdf:type . ?s aocat:is_part_of ?coll . ?coll aocat:was_issued ?cr . MINUS{ ?s rdf:type . ?s aocat:was_issued ?x } } }; PREFIX aocat: PREFIX rdf: INSERT { GRAPH { ?s aocat:has_access_rights ?cr . } } WHERE { GRAPH { ?s rdf:type . ?s aocat:is_part_of ?coll . ?coll aocat:has_access_rights ?cr . MINUS{ ?s rdf:type . ?s aocat:has_access_rights ?x } } }; PREFIX skos: PREFIX aocat: INSERT { GRAPH { ?s aocat:has_derived_subject ?aat . } } USING USING WHERE { { ?s aocat:has_native_subject ?native_subject . ?aatmatch owl:sameAs ?vocuri . ?aatmatch skos:exactMatch ?aat . bind (IRI(concat( "https://thanados.net/vocabulary/", ucase(strafter(str(?native_subject),"THANADOS/")))) as ?vocuribuilt) filter(?vocuri=?vocuribuilt) } union { ?s aocat:has_native_subject ?native_subject . ?aatmatch owl:sameAs ?vocuri . ?aatmatch skos:broadMatch ?aat . bind (IRI(concat( "https://thanados.net/vocabulary/", ucase(strafter(str(?native_subject),"THANADOS/")))) as ?vocuribuilt) filter(?vocuri=?vocuribuilt) } union { ?s aocat:has_native_subject ?native_subject . ?aatmatch owl:sameAs ?vocuri . ?aatmatch skos:closeMatch ?aat . bind (IRI(concat( "https://thanados.net/vocabulary/", ucase(strafter(str(?native_subject),"THANADOS/")))) as ?vocuribuilt) filter(?vocuri=?vocuribuilt) } union { ?s aocat:has_native_subject ?native_subject . ?aatmatch owl:sameAs ?vocuri . ?aatmatch skos:narrowMatch ?aat . bind (IRI(concat( "https://thanados.net/vocabulary/", ucase(strafter(str(?native_subject),"THANADOS/")))) as ?vocuribuilt) filter(?vocuri=?vocuribuilt) } }; PREFIX skos: PREFIX aocat: PREFIX time: PREFIX dcterms: PREFIX ariadneplus: INSERT { GRAPH { ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } } USING USING WHERE { ?temporal aocat:has_period ?periodO_URI . ?periodO_URI time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom . ?periodO_URI time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil . }; PREFIX skos: PREFIX aocat: PREFIX time: PREFIX dcterms: PREFIX ariadneplus: INSERT { GRAPH { ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } } USING USING WHERE { ?temporal aocat:has_native_period ?np . ?np skos:prefLabel ?y . ?periodO_URI skos:prefLabel ?l . ?periodO_URI time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom . ?periodO_URI time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil . };