added creator enrichment for nara
This commit is contained in:
parent
0689ae6b08
commit
8a68c098fb
|
@ -36,6 +36,29 @@ WHERE {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::nara::fieldworkreport> {
|
||||||
|
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
|
||||||
|
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
|
||||||
|
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
|
||||||
|
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::nara::fieldworkreport> {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
MINUS {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
?s aocat:has_creator ?creator .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
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 ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
||||||
|
|
|
@ -275,7 +275,7 @@ public class GraphDbReaderAndESIndexTest {
|
||||||
// @Ignore
|
// @Ignore
|
||||||
public void uploadNaraTest() throws Exception {
|
public void uploadNaraTest() throws Exception {
|
||||||
boolean isRecord = true;
|
boolean isRecord = true;
|
||||||
String recordId = "https://ariadne-infrastructure.eu/aocat/Resource/0D7F5840-CE59-35F4-9810-2094E8778451";
|
String recordId = "https://ariadne-infrastructure.eu/aocat/Resource/07121539-04BD-3896-8E4B-22EEDDD400A8";
|
||||||
String datasource = "nara";
|
String datasource = "nara";
|
||||||
String collectionId = "fieldworkreport";
|
String collectionId = "fieldworkreport";
|
||||||
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
||||||
|
|
Loading…
Reference in New Issue