further propagation for arup document and site
This commit is contained in:
parent
84993ffaba
commit
510161b3df
|
@ -26,6 +26,21 @@ WHERE {
|
||||||
?record aocat:is_about ?event .
|
?record aocat:is_about ?event .
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
||||||
|
?record aocat:has_temporal_coverage ?temporal_k .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
||||||
|
WHERE {
|
||||||
|
?record_k aocat:happens_at ?temporal_k .
|
||||||
|
?record_k aocat:occurs_in ?region.
|
||||||
|
?region aocat:is_space_region_of ?site .
|
||||||
|
?record aocat:is_about ?site .
|
||||||
|
};
|
||||||
|
|
||||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
|
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
|
||||||
|
@ -70,6 +85,21 @@ WHERE {
|
||||||
?record aocat:is_about ?event .
|
?record aocat:is_about ?event .
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
||||||
|
?record aocat:has_spatial_coverage ?spatial .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
||||||
|
WHERE {
|
||||||
|
?region aocat:is_subject_of ?spatial_ref .
|
||||||
|
?spatial_ref aocat:has_spatial_coverage ?spatial .
|
||||||
|
?region aocat:is_space_region_of ?site .
|
||||||
|
?record aocat:is_about ?site .
|
||||||
|
};
|
||||||
|
|
||||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
@ -474,6 +504,23 @@ WHERE {
|
||||||
?record aocat:is_about ?site .
|
?record aocat:is_about ?site .
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
||||||
|
?record aocat:has_native_subject ?ns .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
||||||
|
WHERE {
|
||||||
|
?record_k aocat:occured_in_the_presence_of ?activityArea .
|
||||||
|
?activityArea aocat:has_type ?ns .
|
||||||
|
?ns rdf:type aocat:AO_Concept .
|
||||||
|
?record_k aocat:occurs_in ?region.
|
||||||
|
?region aocat:is_space_region_of ?site .
|
||||||
|
?record aocat:is_about ?site .
|
||||||
|
};
|
||||||
|
|
||||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
|
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
|
||||||
|
|
|
@ -42,6 +42,7 @@ public class GraphDbReaderAndESIndexTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore
|
||||||
public void uploadAMCRDocumentTest() throws Exception {
|
public void uploadAMCRDocumentTest() throws Exception {
|
||||||
boolean isRecord = true;
|
boolean isRecord = true;
|
||||||
String recordId = "https://ariadne-infrastructure.eu/aocat/Collection/AMCR/FC59581D-DC3A-31DA-922A-98DE764F3D76";
|
String recordId = "https://ariadne-infrastructure.eu/aocat/Collection/AMCR/FC59581D-DC3A-31DA-922A-98DE764F3D76";
|
||||||
|
@ -50,6 +51,15 @@ public class GraphDbReaderAndESIndexTest {
|
||||||
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void uploadAMCRSiteTest() throws Exception {
|
||||||
|
boolean isRecord = true;
|
||||||
|
String recordId = "https://ariadne-infrastructure.eu/aocat/Resource/AMCR/3C7EC936-A7CA-3720-B3DC-413A25754FD4";
|
||||||
|
String datasource = "amcr";
|
||||||
|
String collectionId = "oai";
|
||||||
|
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore
|
@Ignore
|
||||||
public void uploadADSRecordTest() throws Exception {
|
public void uploadADSRecordTest() throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue