PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { aocat:has_ARIADNE_subject ?archeologicalResourceType . ?archeologicalResourceType skos:prefLabel ?archeologicalResourceTypeName . ?archeologicalResourceType rdfs:label ?archeologicalResourceTypeName . } } WHERE { GRAPH { aocat:has_ARIADNE_subject ?archeologicalResourceType . ?archeologicalResourceType skos:prefLabel ?archeologicalResourceTypeName . } }; PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_spatial_coverage . rdf:type . rdfs:label "Name not provided" . aocat:has_place_name "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_spatial_coverage ?spatialRegion . } } }; 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 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 . MINUS { ?s rdf:type . ?s aocat:has_responsible ?agent . } } }; PREFIX aocat: PREFIX skos: 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 . MINUS { ?s rdf:type . ?s aocat:has_creator ?agent . } } }; PREFIX aocat: PREFIX skos: 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 ?creator . } } }; PREFIX aocat: PREFIX skos: 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 skos: 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 skos: PREFIX ariadneplus: INSERT { GRAPH { ?record aocat:was_issued ?issued . } } USING WHERE { ?record aocat:is_part_of ?collection . ?collection aocat:was_issued ?issued . MINUS{ ?record aocat:was_issued ?issuedRecord . } }; PREFIX aocat: PREFIX skos: PREFIX ariadneplus: INSERT { GRAPH { ?record aocat:was_modified ?created . } } USING WHERE { ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:was_created_on ?created . MINUS{ ?record rdf:type aocat:AO_Individual_Data_Resource . ?record aocat:was_modified ?modified . } }; 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 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 skos: PREFIX aocat: 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 ?lowercase_native_label . ?periodO skos:inScheme . ?periodO time:intervalStartedBy ?intervalStartedBy . ?intervalStartedBy skos:prefLabel ?temporalFrom . ?periodO time:intervalFinishedBy ?intervalFinishedBy . ?intervalFinishedBy skos:prefLabel ?temporalUntil . BIND(ucase(?lowercase_native_label) as ?native_label) } } };