Compare commits
No commits in common. "44fb0bb3c16e53401fa8ef7e96515b84413ef092" and "a26c1cde244da8ebd57bdb30f08702ec100e75ef" have entirely different histories.
44fb0bb3c1
...
a26c1cde24
|
@ -143,40 +143,17 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|||
?derivedSubject skos:prefLabel ?label .
|
||||
};
|
||||
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX time: <http://www.w3.org/2006/time#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp::periodoplus> {
|
||||
?temporal aocat:has_period ?native_period .
|
||||
?temporal aocat:from ?from .
|
||||
?temporal aocat:until ?until .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
|
||||
?temporal aocat:has_native_period ?native_period .
|
||||
?native_period rdfs:label|skos:prefLabel ?native_label .
|
||||
?temporal aocat:from ?from .
|
||||
?temporal aocat:until ?until .
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX time: <http://www.w3.org/2006/time#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp::periodo> {
|
||||
?native_period skos:prefLabel ?native_label .
|
||||
}
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp::periodoplus> {
|
||||
?temporal aocat:has_period ?periodO .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
|
||||
?temporal aocat:has_native_period ?native_period .
|
||||
?native_period rdfs:label|skos:prefLabel ?native_label .
|
||||
?temporal aocat:from ?from .
|
||||
?temporal aocat:until ?until .
|
||||
}
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
|
||||
?temporal aocat:has_period ?periodO .
|
||||
}
|
||||
};
|
|
@ -418,15 +418,6 @@ public class GraphDbReaderAndESIndexTest {
|
|||
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void uploadINPTest() throws Exception {
|
||||
boolean isRecord = true;
|
||||
String recordId = "https://ariadne-infrastructure.eu/aocat/Resource/INPRAN/99C2A8A2-32A0-344D-9F41-FD8E7B2C21E3";
|
||||
String datasource = "inp";
|
||||
String collectionId = "sites";
|
||||
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
||||
}
|
||||
|
||||
private void readAndIndexTest(boolean isRecord, String recordId, String datasource, String collectionId) throws Exception {
|
||||
final ClassPathResource resource = new ClassPathResource("application.properties");
|
||||
Properties appProps = new Properties();
|
||||
|
|
Loading…
Reference in New Issue