use of org.globalbioticinteractions.util.OpenBiodivClientImpl in project eol-globi-data by jhpoelen.
the class DatasetImporterForPensoftIT method retrieveCitationById3ByDOI.
@Test
public void retrieveCitationById3ByDOI() throws IOException {
final SparqlClient sparqlClientImpl = new OpenBiodivClientImpl(getResourceServiceTest());
String citation = DatasetImporterForPensoft.findCitationByDoi("10.3897/zookeys.875.35748", sparqlClientImpl);
assertThat(citation, is("Marko Prous, Andrew Liston, Katja Kramp, Henri Savina, Hege Vårdal, Andreas Taeger. 2019. The West Palaearctic genera of Nematinae (Hymenoptera, Tenthredinidae). ZooKeys. https://doi.org/10.3897/zookeys.875.35748"));
}
use of org.globalbioticinteractions.util.OpenBiodivClientImpl in project eol-globi-data by jhpoelen.
the class DatasetImporterForPensoftIT method retrieveCitationById2.
@Test
public void retrieveCitationById2() throws IOException {
final SparqlClient sparqlClientImpl = new OpenBiodivClientImpl(getResourceServiceTest());
String citation = DatasetImporterForPensoft.findCitationById("http://openbiodiv.net/D37E8D1A-221B-FFA6-FFE7-4458FFA0FFC2", sparqlClientImpl);
assertThat(citation, is("Dewi Sartiami, Laurence A. Mound. 2013. Identification of the terebrantian thrips (Insecta, Thysanoptera) associated with cultivated plants in Java, Indonesia. ZooKeys. https://doi.org/10.3897/zookeys.306.5455"));
}
use of org.globalbioticinteractions.util.OpenBiodivClientImpl in project eol-globi-data by jhpoelen.
the class DatasetImporterForPensoftIT method retrieveCitationById.
@Test
public void retrieveCitationById() throws IOException {
final SparqlClient sparqlClientImpl = new OpenBiodivClientImpl(getResourceServiceTest());
String citation = DatasetImporterForPensoft.findCitationById("<http://openbiodiv.net/D37E8D1A-221B-FFA6-FFE7-4458FFA0FFC2>", sparqlClientImpl);
assertThat(citation, is("Dewi Sartiami, Laurence A. Mound. 2013. Identification of the terebrantian thrips (Insecta, Thysanoptera) associated with cultivated plants in Java, Indonesia. ZooKeys. https://doi.org/10.3897/zookeys.306.5455"));
}
Aggregations