diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ARUP/ordered_sparql_insert_arup-TEST.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ARUP/ordered_sparql_insert_arup-TEST.sparql index 85db177..45ce61a 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ARUP/ordered_sparql_insert_arup-TEST.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ARUP/ordered_sparql_insert_arup-TEST.sparql @@ -1,11 +1,11 @@ PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?s aocat:has_temporal_coverage ?t . } } -USING +USING WHERE { ?s aocat:is_about ?about . ?about aocat:has_time_interval ?t . @@ -14,11 +14,11 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?record aocat:has_temporal_coverage ?temporal_k . } } -USING +USING WHERE { ?record_k aocat:happens_during ?temporal_k . ?record_k aocat:occurs_in ?region. @@ -29,11 +29,11 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?record aocat:has_temporal_coverage ?temporal_k . } } -USING +USING WHERE { ?record_k aocat:happens_during ?temporal_k . ?record_k aocat:occurs_in ?region. @@ -45,11 +45,11 @@ PREFIX aocat: PREFIX rdf: PREFIX crm: INSERT { - GRAPH { + GRAPH { ?record aocat:has_temporal_coverage ?activity_t . } } -USING +USING WHERE { ?activity aocat:happens_during ?activity_t . ?activity aocat:is_subject_of ?document_part . @@ -60,11 +60,11 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?s aocat:has_spatial_coverage ?occursIn . } } -USING +USING WHERE { ?s aocat:is_about ?about . ?about aocat:occurs_in ?occursIn . @@ -73,11 +73,11 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?record aocat:has_spatial_coverage ?spatial . } } -USING +USING WHERE { ?region aocat:is_spatial_region_of ?event . ?region aocat:is_subject_of ?spatial_ref . @@ -88,11 +88,11 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?record aocat:has_spatial_coverage ?spatial . } } -USING +USING WHERE { ?region aocat:is_subject_of ?spatial_ref . ?spatial_ref aocat:has_spatial_coverage ?spatial . @@ -105,11 +105,11 @@ PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:was_issued ?created_on . } } -USING +USING WHERE { ?s aocat:was_created_on ?created_on . MINUS { @@ -122,12 +122,12 @@ PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:was_modified ?created_on . } } -USING +USING WHERE { ?s aocat:was_created_on ?created_on . MINUS { @@ -140,12 +140,12 @@ PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:was_issued ?issued . } } USING -USING +USING WHERE { ?c rdf:type aocat:AO_Collection . ?s aocat:is_part_of ?c . @@ -160,12 +160,12 @@ PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:was_modified ?issued . } } USING -USING +USING WHERE { ?c rdf:type aocat:AO_Collection . ?s aocat:is_part_of ?c . @@ -182,11 +182,11 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?s aocat:has_description ?description . } } -USING +USING WHERE { ?s aocat:is_about ?about . ?about aocat:has_description ?description . @@ -196,7 +196,7 @@ PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:has_temporal_coverage . rdf:type . rdfs:label "Not provided" . @@ -204,7 +204,7 @@ INSERT { } } WHERE { - GRAPH { + GRAPH { ?s rdf:type . MINUS { ?s rdf:type . @@ -218,14 +218,14 @@ PREFIX rdf: PREFIX rdfs: PREFIX skos: INSERT { - GRAPH { + GRAPH { ?s aocat:has_type . rdf:type . skos:prefLabel "collection" } } WHERE { - GRAPH { + GRAPH { ?s rdf:type . MINUS { ?s rdf:type . @@ -237,12 +237,12 @@ INSERT { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?s aocat:has_access_rights "Not provided" . } } WHERE { - GRAPH { + GRAPH { ?s rdf:type . MINUS { ?s rdf:type . @@ -255,13 +255,13 @@ PREFIX aocat: PREFIX skos: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?s aocat:has_ARIADNE_subject . skos:prefLabel "Not provided" . } } WHERE { - GRAPH { + GRAPH { ?s rdf:type . MINUS { ?s rdf:type . @@ -274,7 +274,7 @@ PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:has_publisher . rdf:type . rdfs:label "Not provided" . @@ -282,7 +282,7 @@ INSERT { } } WHERE { - GRAPH { + GRAPH { ?s rdf:type . MINUS { ?s rdf:type . @@ -295,7 +295,7 @@ PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:has_owner . rdf:type . rdfs:label "Not provided" . @@ -303,7 +303,7 @@ INSERT { } } WHERE { - GRAPH { + GRAPH { ?s rdf:type . MINUS { ?s rdf:type . @@ -316,7 +316,7 @@ PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:has_responsible . rdf:type . rdfs:label "Not provided" . @@ -324,7 +324,7 @@ INSERT { } } WHERE { - GRAPH { + GRAPH { ?s rdf:type . MINUS { ?s rdf:type . @@ -337,7 +337,7 @@ PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:has_contributor . rdf:type . rdfs:label "Not provided" . @@ -345,7 +345,7 @@ INSERT { } } WHERE { - GRAPH { + GRAPH { ?s rdf:type . MINUS { ?s rdf:type . @@ -357,7 +357,7 @@ WHERE { PREFIX skos: DELETE WHERE { -GRAPH { +GRAPH { skos:prefLabel ?l . } }; @@ -366,12 +366,12 @@ PREFIX aocat: PREFIX skos: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?isoLangRef skos:prefLabel "cs" . } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s aocat:has_language ?isoLangRef . MINUS { @@ -386,13 +386,13 @@ PREFIX aocat: PREFIX skos: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?s aocat:has_language . skos:prefLabel "und" . } } WHERE { - GRAPH { + GRAPH { ?s rdf:type . MINUS { ?s rdf:type . @@ -405,12 +405,12 @@ PREFIX aocat: PREFIX skos: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?s aocat:has_original_id "Original Id not provided" . } } WHERE { - GRAPH { + GRAPH { ?s rdf:type . MINUS { ?s rdf:type . @@ -422,12 +422,12 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?s aocat:has_title "Title not provided" . } } WHERE { - GRAPH { + GRAPH { ?s rdf:type . MINUS { ?s rdf:type . @@ -439,11 +439,11 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?s aocat:has_native_subject ?ns . } } -USING +USING WHERE { ?s aocat:is_about ?about . ?about aocat:has_type ?ns . @@ -453,11 +453,11 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?record aocat:has_native_subject ?ns . } } -USING +USING WHERE { ?record_k aocat:has_type ?ns . ?ns rdf:type aocat:AO_Concept . @@ -469,11 +469,11 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?record aocat:has_native_subject ?ns . } } -USING +USING WHERE { ?record_k aocat:has_type ?ns . ?ns rdf:type aocat:AO_Concept . @@ -485,11 +485,11 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?record aocat:has_native_subject ?ns . } } -USING +USING WHERE { ?record_k aocat:occured_in_the_presence_of ?activityArea . ?activityArea aocat:has_type ?ns . @@ -503,11 +503,11 @@ PREFIX aocat: PREFIX rdf: PREFIX crm: INSERT { - GRAPH { + GRAPH { ?record aocat:has_native_subject ?ns . } } -USING +USING WHERE { ?activity aocat:has_type ?ns . ?activity aocat:is_subject_of ?document_part . @@ -518,11 +518,11 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?record aocat:has_creator ?creator . } } -USING +USING WHERE { ?record aocat:is_about ?about . ?about rdf:type aocat:AO_Document . @@ -533,13 +533,13 @@ PREFIX aocat: PREFIX rdf: PREFIX skos: INSERT { - GRAPH { + GRAPH { ?s aocat:has_native_subject . skos:prefLabel "Not provided" . } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -552,13 +552,13 @@ PREFIX aocat: PREFIX rdf: PREFIX skos: INSERT { - GRAPH { + GRAPH { ?s aocat:has_language . skos:prefLabel "und" . } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -571,13 +571,13 @@ PREFIX aocat: PREFIX rdf: PREFIX skos: INSERT { - GRAPH { + GRAPH { ?s aocat:has_creator . aocat:has_name "Not provided" . } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -591,12 +591,12 @@ PREFIX aocat: PREFIX rdf: PREFIX skos: INSERT { - GRAPH { + GRAPH { ?s aocat:has_title "Title not provided" . } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -608,12 +608,12 @@ WHERE { PREFIX aocat: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?s aocat:has_access_rights "Not provided" . } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -626,13 +626,13 @@ PREFIX aocat: PREFIX skos: PREFIX rdf: INSERT { - GRAPH { + GRAPH { ?s aocat:has_ARIADNE_subject . skos:prefLabel "Not provided" . } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -645,7 +645,7 @@ PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:has_publisher . rdf:type . rdfs:label "Not provided" . @@ -653,7 +653,7 @@ INSERT { } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -666,7 +666,7 @@ PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:has_owner . rdf:type . rdfs:label "Not provided" . @@ -674,7 +674,7 @@ INSERT { } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -687,7 +687,7 @@ PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:has_responsible . rdf:type . rdfs:label "Not provided" . @@ -695,7 +695,7 @@ INSERT { } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -708,7 +708,7 @@ PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:has_contributor . rdf:type . rdfs:label "Not provided" . @@ -716,7 +716,7 @@ INSERT { } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -730,7 +730,7 @@ PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:has_spatial_coverage . rdf:type . rdfs:label "Name not provided" . @@ -738,7 +738,7 @@ INSERT { } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -753,14 +753,14 @@ PREFIX rdf: PREFIX rdfs: PREFIX skos: INSERT { - GRAPH { + GRAPH { ?s aocat:has_type . rdf:type . skos:prefLabel "provided record" } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -773,7 +773,7 @@ PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:is_part_of . rdf:type . rdfs:label "Not provided" . @@ -781,7 +781,7 @@ INSERT { } } WHERE { - GRAPH { + GRAPH { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { ?s rdf:type aocat:AO_Individual_Data_Resource . @@ -844,7 +844,7 @@ INSERT { } } WHERE { - GRAPH { + GRAPH { ?record aocat:has_native_subject ?ns. GRAPH { { @@ -893,7 +893,7 @@ PREFIX bibo: ?periodO time:intervalFinishedBy ?intervalFinishedBy . ?intervalFinishedBy skos:prefLabel ?temporalUntil . } - GRAPH { + GRAPH { ?temporal aocat:has_native_period ?native_period . ?native_period skos:prefLabel ?periodO_source_label . bind (str(?periodO_source_label) as ?periodO_source_label_str) @@ -905,11 +905,11 @@ PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:was_issued "0000-01-01"^^xsd:date . } } -USING +USING WHERE { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { @@ -922,11 +922,11 @@ PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:was_modified "0000-01-01"^^xsd:date . } } -USING +USING WHERE { ?s rdf:type aocat:AO_Individual_Data_Resource . MINUS { @@ -939,11 +939,11 @@ PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { - GRAPH { + GRAPH { ?s aocat:has_original_id ?label . } } -USING +USING WHERE { ?s rdf:type aocat:AO_Individual_Data_Resource . ?s rdfs:label ?label .