Merge pull request 'Irish oaipmh exporter' (#443) from irish-oaipmh-exporter into beta
Reviewed-on: #443
This commit is contained in:
commit
da5c1e73a4
|
@ -0,0 +1,187 @@
|
||||||
|
|
||||||
|
package eu.dnetlib.dhp.oa.oaipmh;
|
||||||
|
|
||||||
|
import static eu.dnetlib.dhp.common.SparkSessionSupport.runWithSparkSession;
|
||||||
|
|
||||||
|
import java.io.ByteArrayOutputStream;
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.nio.charset.Charset;
|
||||||
|
import java.sql.Connection;
|
||||||
|
import java.sql.DriverManager;
|
||||||
|
import java.sql.Statement;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Optional;
|
||||||
|
import java.util.Properties;
|
||||||
|
import java.util.zip.GZIPOutputStream;
|
||||||
|
|
||||||
|
import org.apache.commons.io.IOUtils;
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
import org.apache.spark.SparkConf;
|
||||||
|
import org.apache.spark.api.java.function.FilterFunction;
|
||||||
|
import org.apache.spark.api.java.function.MapFunction;
|
||||||
|
import org.apache.spark.sql.Dataset;
|
||||||
|
import org.apache.spark.sql.Encoder;
|
||||||
|
import org.apache.spark.sql.Encoders;
|
||||||
|
import org.apache.spark.sql.SaveMode;
|
||||||
|
import org.dom4j.Document;
|
||||||
|
import org.dom4j.DocumentHelper;
|
||||||
|
import org.dom4j.Node;
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
import eu.dnetlib.dhp.application.ArgumentApplicationParser;
|
||||||
|
import eu.dnetlib.dhp.oa.provision.XmlConverterJob;
|
||||||
|
import eu.dnetlib.dhp.oa.provision.model.SerializableSolrInputDocument;
|
||||||
|
import eu.dnetlib.dhp.oa.provision.model.TupleWrapper;
|
||||||
|
|
||||||
|
public class IrishOaiExporterJob {
|
||||||
|
|
||||||
|
private static final Logger log = LoggerFactory.getLogger(IrishOaiExporterJob.class);
|
||||||
|
|
||||||
|
protected static final int NUM_CONNECTIONS = 20;
|
||||||
|
|
||||||
|
public static final String TMP_OAI_TABLE = "temp_oai_data";
|
||||||
|
|
||||||
|
public static void main(final String[] args) throws Exception {
|
||||||
|
|
||||||
|
final ArgumentApplicationParser parser = new ArgumentApplicationParser(
|
||||||
|
IOUtils
|
||||||
|
.toString(
|
||||||
|
XmlConverterJob.class
|
||||||
|
.getResourceAsStream("/eu/dnetlib/dhp/oa/oaipmh/input_params_irish_oai_exporter.json")));
|
||||||
|
parser.parseArgument(args);
|
||||||
|
|
||||||
|
final Boolean isSparkSessionManaged = Optional
|
||||||
|
.ofNullable(parser.get("isSparkSessionManaged"))
|
||||||
|
.map(Boolean::valueOf)
|
||||||
|
.orElse(Boolean.TRUE);
|
||||||
|
log.info("isSparkSessionManaged: {}", isSparkSessionManaged);
|
||||||
|
|
||||||
|
final String inputPath = parser.get("inputPath");
|
||||||
|
final String dbUrl = parser.get("dbUrl");
|
||||||
|
final String dbUser = parser.get("dbUser");
|
||||||
|
final String dbPwd = parser.get("dbPwd");
|
||||||
|
final int numConnections = Optional
|
||||||
|
.ofNullable(parser.get("numConnections"))
|
||||||
|
.map(Integer::valueOf)
|
||||||
|
.orElse(NUM_CONNECTIONS);
|
||||||
|
|
||||||
|
log.info("inputPath: '{}'", inputPath);
|
||||||
|
log.info("dbUrl: '{}'", dbUrl);
|
||||||
|
log.info("dbUser: '{}'", dbUser);
|
||||||
|
log.info("dbPwd: '{}'", "xxx");
|
||||||
|
log.info("numPartitions: '{}'", numConnections);
|
||||||
|
|
||||||
|
final Properties connectionProperties = new Properties();
|
||||||
|
connectionProperties.put("user", dbUser);
|
||||||
|
connectionProperties.put("password", dbPwd);
|
||||||
|
|
||||||
|
final SparkConf conf = new SparkConf();
|
||||||
|
conf.registerKryoClasses(new Class[] {
|
||||||
|
SerializableSolrInputDocument.class
|
||||||
|
});
|
||||||
|
|
||||||
|
final Encoder<TupleWrapper> encoderTuple = Encoders.bean(TupleWrapper.class);
|
||||||
|
final Encoder<OaiRecordWrapper> encoderOaiRecord = Encoders.bean(OaiRecordWrapper.class);
|
||||||
|
|
||||||
|
final String date = LocalDateTime.now().toString();
|
||||||
|
|
||||||
|
log.info("Creating temporary table...");
|
||||||
|
runWithSparkSession(conf, isSparkSessionManaged, spark -> {
|
||||||
|
|
||||||
|
final Dataset<OaiRecordWrapper> docs = spark
|
||||||
|
.read()
|
||||||
|
.schema(encoderTuple.schema())
|
||||||
|
.json(inputPath)
|
||||||
|
.as(encoderTuple)
|
||||||
|
.map((MapFunction<TupleWrapper, String>) TupleWrapper::getXml, Encoders.STRING())
|
||||||
|
.map((MapFunction<String, OaiRecordWrapper>) r -> asIrishOaiResult(r, date), encoderOaiRecord)
|
||||||
|
.filter((FilterFunction<OaiRecordWrapper>) obj -> (obj != null) && StringUtils.isNotBlank(obj.getId()));
|
||||||
|
|
||||||
|
docs
|
||||||
|
.repartition(numConnections)
|
||||||
|
.write()
|
||||||
|
.mode(SaveMode.Overwrite)
|
||||||
|
.jdbc(dbUrl, TMP_OAI_TABLE, connectionProperties);
|
||||||
|
|
||||||
|
});
|
||||||
|
log.info("Temporary table created.");
|
||||||
|
|
||||||
|
log.info("Updating OAI records...");
|
||||||
|
try (final Connection con = DriverManager.getConnection(dbUrl, dbUser, dbPwd)) {
|
||||||
|
try (final Statement st = con.createStatement()) {
|
||||||
|
final String query = IOUtils
|
||||||
|
.toString(IrishOaiExporterJob.class.getResourceAsStream("oai-finalize.sql"));
|
||||||
|
st.execute(query);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
log.info("DONE.");
|
||||||
|
}
|
||||||
|
|
||||||
|
protected static OaiRecordWrapper asIrishOaiResult(final String xml, final String date) {
|
||||||
|
try {
|
||||||
|
final Document doc = DocumentHelper.parseText(xml);
|
||||||
|
final OaiRecordWrapper r = new OaiRecordWrapper();
|
||||||
|
|
||||||
|
if (isValid(doc)) {
|
||||||
|
r.setId(doc.valueOf("//*[local-name()='objIdentifier']").trim());
|
||||||
|
r.setBody(gzip(doc.selectSingleNode("//*[local-name()='entity']").asXML()));
|
||||||
|
r.setDate(date);
|
||||||
|
r.setSets(new ArrayList<>());
|
||||||
|
}
|
||||||
|
return r;
|
||||||
|
} catch (final Exception e) {
|
||||||
|
log.error("Error parsing record: " + xml, e);
|
||||||
|
throw new RuntimeException("Error parsing record: " + xml, e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected static boolean isValid(final Document doc) {
|
||||||
|
|
||||||
|
final Node n = doc.selectSingleNode("//*[local-name()='entity']/*[local-name()='result']");
|
||||||
|
|
||||||
|
if (n != null) {
|
||||||
|
|
||||||
|
for (final Object o : n.selectNodes(".//*[local-name()='datainfo']/*[local-name()='deletedbyinference']")) {
|
||||||
|
if ("true".equals(((Node) o).getText().trim())) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// verify the main country of the result
|
||||||
|
for (final Object o : n.selectNodes("./*[local-name()='country']")) {
|
||||||
|
if ("IE".equals(((Node) o).valueOf("@classid").trim())) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// verify the countries of the related organizations
|
||||||
|
for (final Object o : n.selectNodes(".//*[local-name()='rel']")) {
|
||||||
|
final String relType = ((Node) o).valueOf("./*[local-name() = 'to']/@type").trim();
|
||||||
|
final String relCountry = ((Node) o).valueOf("./*[local-name() = 'country']/@classid").trim();
|
||||||
|
if ("organization".equals(relType) && "IE".equals(relCountry)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
protected static byte[] gzip(final String str) {
|
||||||
|
if (StringUtils.isBlank(str)) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
|
||||||
|
try (final GZIPOutputStream gzip = new GZIPOutputStream(baos)) {
|
||||||
|
IOUtils.write(str.getBytes(Charset.defaultCharset()), gzip);
|
||||||
|
}
|
||||||
|
return baos.toByteArray();
|
||||||
|
} catch (final IOException e) {
|
||||||
|
throw new RuntimeException("error in gzip", e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,51 @@
|
||||||
|
|
||||||
|
package eu.dnetlib.dhp.oa.oaipmh;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class OaiRecordWrapper implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 8997046455575004880L;
|
||||||
|
|
||||||
|
private String id;
|
||||||
|
private byte[] body;
|
||||||
|
private String date;
|
||||||
|
private List<String> sets;
|
||||||
|
|
||||||
|
public OaiRecordWrapper() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getId() {
|
||||||
|
return this.id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(final String id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public byte[] getBody() {
|
||||||
|
return this.body;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBody(final byte[] body) {
|
||||||
|
this.body = body;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDate() {
|
||||||
|
return this.date;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDate(final String date) {
|
||||||
|
this.date = date;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<String> getSets() {
|
||||||
|
return this.sets;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSets(final List<String> sets) {
|
||||||
|
this.sets = sets;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,32 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"paramName": "i",
|
||||||
|
"paramLongName": "inputPath",
|
||||||
|
"paramDescription": "The path of the input records on HDFS",
|
||||||
|
"paramRequired": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"paramName": "nc",
|
||||||
|
"paramLongName": "numConnections",
|
||||||
|
"paramDescription": "number of connections to the postgres db (for the write operation)",
|
||||||
|
"paramRequired": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"paramName": "du",
|
||||||
|
"paramLongName": "dbUrl",
|
||||||
|
"paramDescription": "the url of the database",
|
||||||
|
"paramRequired": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"paramName": "dusr",
|
||||||
|
"paramLongName": "dbUser",
|
||||||
|
"paramDescription": "the user of the database",
|
||||||
|
"paramRequired": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"paramName": "dpwd",
|
||||||
|
"paramLongName": "dbPwd",
|
||||||
|
"paramDescription": "the password for the user of the database",
|
||||||
|
"paramRequired": true
|
||||||
|
}
|
||||||
|
]
|
|
@ -0,0 +1,12 @@
|
||||||
|
BEGIN;
|
||||||
|
|
||||||
|
DELETE FROM oai_data;
|
||||||
|
|
||||||
|
INSERT INTO oai_data(id, body, date, sets) SELECT
|
||||||
|
id,
|
||||||
|
body,
|
||||||
|
date::timestamp,
|
||||||
|
sets
|
||||||
|
FROM temp_oai_data;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,106 @@
|
||||||
|
<workflow-app name="irish-oaipmh-provision" xmlns="uri:oozie:workflow:0.5">
|
||||||
|
|
||||||
|
<parameters>
|
||||||
|
<property>
|
||||||
|
<name>inputPath</name>
|
||||||
|
<description>The path of the input records on HDFS</description>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>numConnections</name>
|
||||||
|
<description>number of connections to the postgres db (for the write operation)</description>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>dbUrl</name>
|
||||||
|
<description>the url of the database</description>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>dbUser</name>
|
||||||
|
<description>the user of the database</description>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>dbPwd</name>
|
||||||
|
<description>the password for the user of the database</description>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property>
|
||||||
|
<name>sparkDriverMemory</name>
|
||||||
|
<description>memory for driver process</description>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>sparkExecutorMemory</name>
|
||||||
|
<description>memory for individual executor</description>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>sparkExecutorCores</name>
|
||||||
|
<description>number of cores used by single executor</description>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>oozieActionShareLibForSpark2</name>
|
||||||
|
<description>oozie action sharelib for spark 2.*</description>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>spark2ExtraListeners</name>
|
||||||
|
<value>com.cloudera.spark.lineage.NavigatorAppListener</value>
|
||||||
|
<description>spark 2.* extra listeners classname</description>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>spark2SqlQueryExecutionListeners</name>
|
||||||
|
<value>com.cloudera.spark.lineage.NavigatorQueryListener</value>
|
||||||
|
<description>spark 2.* sql query execution listeners classname</description>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>spark2YarnHistoryServerAddress</name>
|
||||||
|
<description>spark 2.* yarn history server address</description>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>spark2EventLogDir</name>
|
||||||
|
<description>spark 2.* event log dir location</description>
|
||||||
|
</property>
|
||||||
|
</parameters>
|
||||||
|
|
||||||
|
<global>
|
||||||
|
<job-tracker>${jobTracker}</job-tracker>
|
||||||
|
<name-node>${nameNode}</name-node>
|
||||||
|
<configuration>
|
||||||
|
<property>
|
||||||
|
<name>oozie.action.sharelib.for.spark</name>
|
||||||
|
<value>${oozieActionShareLibForSpark2}</value>
|
||||||
|
</property>
|
||||||
|
</configuration>
|
||||||
|
</global>
|
||||||
|
|
||||||
|
<start to="oaiphm_provision"/>
|
||||||
|
|
||||||
|
<kill name="Kill">
|
||||||
|
<message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message>
|
||||||
|
</kill>
|
||||||
|
|
||||||
|
<action name="irish_oaiphm_provision">
|
||||||
|
<spark xmlns="uri:oozie:spark-action:0.2">
|
||||||
|
<master>yarn</master>
|
||||||
|
<mode>cluster</mode>
|
||||||
|
<name>Irish OAI-PHM provision</name>
|
||||||
|
<class>eu.dnetlib.dhp.oa.oaipmh.IrishOaiExporterJob</class>
|
||||||
|
<jar>dhp-graph-provision-${projectVersion}.jar</jar>
|
||||||
|
<spark-opts>
|
||||||
|
--executor-cores=${sparkExecutorCores}
|
||||||
|
--executor-memory=${sparkExecutorMemory}
|
||||||
|
--driver-memory=${sparkDriverMemory}
|
||||||
|
--conf spark.extraListeners=${spark2ExtraListeners}
|
||||||
|
--conf spark.sql.queryExecutionListeners=${spark2SqlQueryExecutionListeners}
|
||||||
|
--conf spark.yarn.historyServer.address=${spark2YarnHistoryServerAddress}
|
||||||
|
--conf spark.eventLog.dir=${nameNode}${spark2EventLogDir}
|
||||||
|
--conf spark.sql.shuffle.partitions=8000
|
||||||
|
</spark-opts>
|
||||||
|
<arg>--inputPath</arg><arg>${inputPath}</arg>
|
||||||
|
<arg>--numConnections</arg><arg>${numConnections}</arg>
|
||||||
|
<arg>--dbUrl</arg><arg>${dbUrl}</arg>
|
||||||
|
<arg>--dbUser</arg><arg>${dbUser}</arg>
|
||||||
|
<arg>--dbPwd</arg><arg>${dbPwd}</arg>
|
||||||
|
</spark>
|
||||||
|
<ok to="End"/>
|
||||||
|
<error to="Kill"/>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<end name="End"/>
|
||||||
|
</workflow-app>
|
|
@ -0,0 +1,97 @@
|
||||||
|
|
||||||
|
package eu.dnetlib.dhp.oa.oaipmh;
|
||||||
|
|
||||||
|
import static eu.dnetlib.dhp.common.SparkSessionSupport.runWithSparkSession;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.sql.Connection;
|
||||||
|
import java.sql.DriverManager;
|
||||||
|
import java.sql.Statement;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Properties;
|
||||||
|
|
||||||
|
import org.apache.commons.io.IOUtils;
|
||||||
|
import org.apache.spark.SparkConf;
|
||||||
|
import org.apache.spark.sql.Dataset;
|
||||||
|
import org.apache.spark.sql.Encoders;
|
||||||
|
import org.apache.spark.sql.SaveMode;
|
||||||
|
import org.apache.spark.sql.SparkSession;
|
||||||
|
import org.junit.jupiter.api.AfterAll;
|
||||||
|
import org.junit.jupiter.api.BeforeAll;
|
||||||
|
import org.junit.jupiter.api.Disabled;
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
@Disabled
|
||||||
|
public class DbSerializationTest {
|
||||||
|
|
||||||
|
private static SparkSession spark;
|
||||||
|
|
||||||
|
public static final String dbUrl = "jdbc:postgresql://localhost:5432/db_test";
|
||||||
|
public static final String dbUser = null;
|
||||||
|
public static final String dbPwd = null;
|
||||||
|
|
||||||
|
@BeforeAll
|
||||||
|
public static void beforeAll() throws IOException {
|
||||||
|
|
||||||
|
final SparkConf conf = new SparkConf();
|
||||||
|
conf.setAppName("TEST");
|
||||||
|
conf.setMaster("local[*]");
|
||||||
|
conf.set("spark.driver.host", "localhost");
|
||||||
|
|
||||||
|
spark = SparkSession
|
||||||
|
.builder()
|
||||||
|
.appName("TEST")
|
||||||
|
.config(conf)
|
||||||
|
.getOrCreate();
|
||||||
|
}
|
||||||
|
|
||||||
|
@AfterAll
|
||||||
|
public static void afterAll() throws IOException {
|
||||||
|
spark.stop();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testDatabaseSerialization() throws Exception {
|
||||||
|
final Properties connectionProperties = new Properties();
|
||||||
|
if (dbUser != null) {
|
||||||
|
connectionProperties.put("user", dbUser);
|
||||||
|
}
|
||||||
|
if (dbPwd != null) {
|
||||||
|
connectionProperties.put("password", dbPwd);
|
||||||
|
}
|
||||||
|
|
||||||
|
runWithSparkSession(new SparkConf(), false, spark -> {
|
||||||
|
|
||||||
|
final List<OaiRecordWrapper> list = new ArrayList<>();
|
||||||
|
|
||||||
|
for (int i = 0; i < 10; i++) {
|
||||||
|
final OaiRecordWrapper r = new OaiRecordWrapper();
|
||||||
|
r.setId("record_" + i);
|
||||||
|
r.setBody("jsahdjkahdjahdajad".getBytes());
|
||||||
|
r.setDate(LocalDateTime.now().toString());
|
||||||
|
r.setSets(Arrays.asList());
|
||||||
|
list.add(r);
|
||||||
|
}
|
||||||
|
|
||||||
|
final Dataset<OaiRecordWrapper> docs = spark.createDataset(list, Encoders.bean(OaiRecordWrapper.class));
|
||||||
|
|
||||||
|
docs
|
||||||
|
.write()
|
||||||
|
.mode(SaveMode.Overwrite)
|
||||||
|
.jdbc(dbUrl, IrishOaiExporterJob.TMP_OAI_TABLE, connectionProperties);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
try (final Connection con = DriverManager.getConnection(dbUrl, dbUser, dbPwd)) {
|
||||||
|
try (final Statement st = con.createStatement()) {
|
||||||
|
final String query = IOUtils.toString(getClass().getResourceAsStream("oai-finalize.sql"));
|
||||||
|
st.execute(query);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,88 @@
|
||||||
|
|
||||||
|
package eu.dnetlib.dhp.oa.oaipmh;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertNull;
|
||||||
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
|
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||||
|
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||||
|
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||||
|
|
||||||
|
import java.io.ByteArrayInputStream;
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.nio.charset.Charset;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.util.zip.GZIPInputStream;
|
||||||
|
|
||||||
|
import org.apache.commons.io.IOUtils;
|
||||||
|
import org.dom4j.Document;
|
||||||
|
import org.dom4j.DocumentException;
|
||||||
|
import org.dom4j.io.SAXReader;
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
public class IrishOaiExporterJobTest {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testAsIrishOaiResult() throws Exception {
|
||||||
|
final String xml = IOUtils.toString(getClass().getResourceAsStream("record_IE.xml"));
|
||||||
|
final OaiRecordWrapper res = IrishOaiExporterJob.asIrishOaiResult(xml, LocalDateTime.now().toString());
|
||||||
|
assertNotNull(res.getId());
|
||||||
|
assertNotNull(res.getBody());
|
||||||
|
assertNotNull(res.getSets());
|
||||||
|
assertNotNull(res.getDate());
|
||||||
|
assertEquals("dedup_wf_002::532be02f990b479a1da46d71f1a4c3f0", res.getId());
|
||||||
|
assertTrue(res.getBody().length > 0);
|
||||||
|
assertTrue(res.getSets().isEmpty());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testIsValid_IE() throws DocumentException {
|
||||||
|
final Document doc = new SAXReader().read(getClass().getResourceAsStream("record_IE.xml"));
|
||||||
|
assertTrue(IrishOaiExporterJob.isValid(doc));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testIsValid_invalid_country() throws DocumentException {
|
||||||
|
final Document doc = new SAXReader().read(getClass().getResourceAsStream("record_IT.xml"));
|
||||||
|
assertFalse(IrishOaiExporterJob.isValid(doc));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testIsValid_deleted() throws DocumentException {
|
||||||
|
final Document doc = new SAXReader().read(getClass().getResourceAsStream("record_IE_deleted.xml"));
|
||||||
|
assertFalse(IrishOaiExporterJob.isValid(doc));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testGzip_simple() {
|
||||||
|
final String message = "<test />";
|
||||||
|
final byte[] bytes = IrishOaiExporterJob.gzip(message);
|
||||||
|
assertNotNull(bytes);
|
||||||
|
assertTrue(bytes.length > 0);
|
||||||
|
assertEquals(message, gunzip(bytes));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testGzip_empty() {
|
||||||
|
assertNull(IrishOaiExporterJob.gzip(""));
|
||||||
|
assertNull(IrishOaiExporterJob.gzip(null));
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String gunzip(final byte[] compressed) {
|
||||||
|
if ((compressed == null) || (compressed.length == 0)) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
if (!isCompressed(compressed)) {
|
||||||
|
return new String(compressed);
|
||||||
|
}
|
||||||
|
try (final GZIPInputStream gis = new GZIPInputStream(new ByteArrayInputStream(compressed))) {
|
||||||
|
return IOUtils.toString(gis, Charset.defaultCharset());
|
||||||
|
} catch (final IOException e) {
|
||||||
|
throw new RuntimeException("error in gunzip", e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static boolean isCompressed(final byte[] compressed) {
|
||||||
|
return (compressed[0] == (byte) GZIPInputStream.GZIP_MAGIC)
|
||||||
|
&& (compressed[1] == (byte) (GZIPInputStream.GZIP_MAGIC >> 8));
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,89 @@
|
||||||
|
<record rank="null">
|
||||||
|
<result>
|
||||||
|
<header>
|
||||||
|
<objIdentifier>dedup_wf_002::532be02f990b479a1da46d71f1a4c3f0</objIdentifier>
|
||||||
|
<dateOfCollection>2023-03-31T18:37:45.599Z</dateOfCollection>
|
||||||
|
<dateOfTransformation>2023-03-31T18:45:52.701Z</dateOfTransformation>
|
||||||
|
</header>
|
||||||
|
<metadata>
|
||||||
|
<entity schemaLocation="http://namespace.openaire.eu/oaf https://www.openaire.eu/schema/1.0/oaf-1.0.xsd">
|
||||||
|
<result>
|
||||||
|
<collectedfrom name="Waterford Institute of Technology - Open Access Repository" id="opendoar____::50c1f44e426560f3f2cdcb3e19e39903" />
|
||||||
|
<collectedfrom name="SETU Open Access Repository" id="opendoar____::4daa3db355ef2b0e64b472968cb70f0d" />
|
||||||
|
<originalId>50|od______6005::55a12e2e0fee45ce8005633c6c17fe9f</originalId>
|
||||||
|
<originalId>oai:repository.wit.ie:3029</originalId>
|
||||||
|
<originalId>50|od_______934::e7162a5632264cd622ee7180ca66fdce</originalId>
|
||||||
|
<originalId>oai:generic.eprints.org:3029</originalId>
|
||||||
|
<originalId>50|od_______934::55a12e2e0fee45ce8005633c6c17fe9f</originalId>
|
||||||
|
<measure id="influence" score="3.1177596E-9" class="C5" />
|
||||||
|
<measure id="popularity" score="1.2305752E-9" class="C5" />
|
||||||
|
<measure id="influence_alt" score="0" class="C5" />
|
||||||
|
<measure id="popularity_alt" score="0.0" class="C5" />
|
||||||
|
<measure id="impulse" score="0" class="C5" />
|
||||||
|
<fulltext>http://repository.wit.ie/3029/1/Research%20Day%202015%20-%20Poster%20Tadhg%20Blommerde.pdf</fulltext>
|
||||||
|
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" schemename="dnet:dataCite_title" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">A service innovation capability maturity model for SMEs</title>
|
||||||
|
<bestaccessright classid="OPEN" classname="Open Access" schemeid="dnet:access_modes" schemename="dnet:access_modes" />
|
||||||
|
<creator rank="1" name="Tadhg" surname="Blommerde">Blommerde, Tadhg</creator>
|
||||||
|
<creator rank="2" name="Patrick" surname="Lynch">Lynch, Patrick</creator>
|
||||||
|
<country classid="IE" classname="Ireland" schemeid="dnet:countries" schemename="dnet:countries" />
|
||||||
|
<dateofacceptance>2015-04-28</dateofacceptance>
|
||||||
|
<description>There is general consensus that service innovations are prerequisite to sustained competitive advantage and are an essential mechanism for responding to changes in customer needs and the operating environment of firms (Giannopoulou et al., 2011; Stryja et al., 2013). Services have been described as ubiquitous in their role of generating economic growth and wellbeing and represent over 70% of employment and GDP in developed nations (Janssen et al., 2012; Mustak, 2014). As a consequence, service innovations must be a core ambition of all countries, regions, and firms wishing to remain competitive (van Ark et al., 2003). While acknowledging the importance of once-off innovations, more critical still is the capability to repeatedly introduce and exploit service innovations (Siguaw et al., 2006). This is generally referred to as service innovation capability (SIC) and describes the repeatable routines and behaviours that organisations have in place to transform ideas and knowledge into innovations (Basterretxea and Martínez, 2012). However, despite links between SIC and continuous, sustainable, and consistent service innovations, there is evidence that many organisations struggle with its effective management (Adams et al., 2006; den Hertog et al., 2010). This is often attributed to the lack of formal guidance available and the absence of metrics to determine an organisation’s SIC performance (Hogan et al., 2011; Szczygielski, 2011). Maturity modelling research in this discipline remains at an embryonic stage, thus far presenting only conceptual and opaque discussions that fail to address the necessity for an assessment and strategic management framework (Gryszkiewicz et al., 2013; Hipp and Grupp, 2005). Therefore, the purpose of this ongoing research project is to evaluate the maturity of an organisation’s SIC to inform its effective management and enhancement. To achieve this it dimensionalises the concept into four constituent capabilities, specifically, strategising, customer involvement, knowledge management, and networking (Blommerde and Lynch, 2014). The study then tracks the maturity of these capabilities as they progress through eight evolutionary plateaus towards a fully developed or optimal state. This is accomplished through a capability maturity model that enables organisations to rapidly diagnose key areas of strength and weakness to systematically cultivate behaviours that leverage their untapped innovative potential (Wendler, 2012; Essmann and du Preez, 2010). As a result of the immense knowledge vacuum characteristic of this discipline, it is anticipated that this ongoing research project will make a substantial contribution to both academic understanding and take strides towards filling the void in practical support (Rapaccini et al., 2013). It expands the service innovation literature by detailing key service innovation levers, bolsters the discipline through clear definitions of terminology, provides a powerful explanation of the development of SICs, and operationalises the dynamic capabilities view through a novel self-assessment reference model (Jochem et al., 2011). The next step in the project is the evaluation of the, as yet, conceptual service innovation capability maturity model. Adopting a positivistic philosophical stance, the study proposes the use of structural equation modelling on data gathered through an extensive survey to confirm the model and support theoretical assumptions.</description>
|
||||||
|
<subject classid="keyword" classname="keyword" schemeid="dnet:result_subject" schemename="dnet:result_subject" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">RIKON (Research in Inovation, Knowledge & Organisational Networks)</subject>
|
||||||
|
<language classid="eng" classname="English" schemeid="dnet:languages" schemename="dnet:languages" />
|
||||||
|
<format>application/pdf</format>
|
||||||
|
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" schemename="dnet:result_typologies" />
|
||||||
|
<resourcetype classid="UNKNOWN" classname="UNKNOWN" schemeid="dnet:dataCite_resource" schemename="dnet:dataCite_resource" />
|
||||||
|
<isgreen>false</isgreen>
|
||||||
|
<isindiamondjournal>false</isindiamondjournal>
|
||||||
|
<publiclyfunded>true</publiclyfunded>
|
||||||
|
<context id="eu-conexus" label="European University for Smart Urban Coastal Sustainability" type="community" />
|
||||||
|
<context id="tunet" label="TU-NET" type="community" />
|
||||||
|
<datainfo>
|
||||||
|
<inferred>true</inferred>
|
||||||
|
<deletedbyinference>false</deletedbyinference>
|
||||||
|
<trust>0.8</trust>
|
||||||
|
<inferenceprovenance>dedup-result-decisiontree-v4</inferenceprovenance>
|
||||||
|
<provenanceaction classid="sysimport:dedup" classname="Inferred by OpenAIRE" schemeid="dnet:provenanceActions" schemename="dnet:provenanceActions" />
|
||||||
|
</datainfo>
|
||||||
|
<rels>
|
||||||
|
<rel inferred="true" trust="0.85" inferenceprovenance="propagation" provenanceaction="result:organization:instrepo">
|
||||||
|
<to class="hasAuthorInstitution" scheme="dnet:result_organization_relations" type="organization">openorgs____::54cd984fc7d3b153ec2181f985041f02</to>
|
||||||
|
<country classid="IE" classname="Ireland" schemeid="dnet:countries" schemename="dnet:countries" />
|
||||||
|
<legalshortname>WIT</legalshortname>
|
||||||
|
<legalname>South East Technological University</legalname>
|
||||||
|
</rel>
|
||||||
|
</rels>
|
||||||
|
<children>
|
||||||
|
<result objidentifier="od_______934::e7162a5632264cd622ee7180ca66fdce">
|
||||||
|
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" schemename="dnet:dataCite_title" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">A service innovation capability maturity model for SMEs</title>
|
||||||
|
<dateofacceptance>2015-04-28</dateofacceptance>
|
||||||
|
<collectedfrom name="SETU Open Access Repository" id="opendoar____::4daa3db355ef2b0e64b472968cb70f0d" />
|
||||||
|
</result>
|
||||||
|
<result objidentifier="od______6005::55a12e2e0fee45ce8005633c6c17fe9f">
|
||||||
|
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" schemename="dnet:dataCite_title" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">A service innovation capability maturity model for SMEs</title>
|
||||||
|
<dateofacceptance>2015-04-28</dateofacceptance>
|
||||||
|
<collectedfrom name="Waterford Institute of Technology - Open Access Repository" id="opendoar____::50c1f44e426560f3f2cdcb3e19e39903" />
|
||||||
|
</result>
|
||||||
|
<result objidentifier="od_______934::55a12e2e0fee45ce8005633c6c17fe9f">
|
||||||
|
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" schemename="dnet:dataCite_title" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">A service innovation capability maturity model for SMEs</title>
|
||||||
|
<dateofacceptance>2015-04-28</dateofacceptance>
|
||||||
|
<collectedfrom name="SETU Open Access Repository" id="opendoar____::4daa3db355ef2b0e64b472968cb70f0d" />
|
||||||
|
</result>
|
||||||
|
<instance>
|
||||||
|
<accessright classid="OPEN" classname="Open Access" schemeid="dnet:access_modes" schemename="dnet:access_modes" />
|
||||||
|
<collectedfrom name="SETU Open Access Repository" id="opendoar____::4daa3db355ef2b0e64b472968cb70f0d" />
|
||||||
|
<hostedby name="SETU Open Access Repository" id="opendoar____::4daa3db355ef2b0e64b472968cb70f0d" />
|
||||||
|
<dateofacceptance>2015-04-28</dateofacceptance>
|
||||||
|
<instancetype classid="0004" classname="Conference object" schemeid="dnet:publication_resource" schemename="dnet:publication_resource" />
|
||||||
|
<refereed classid="0002" classname="nonPeerReviewed" schemeid="dnet:review_levels" schemename="dnet:review_levels" />
|
||||||
|
<fulltext>http://repository.wit.ie/3029/1/Research%20Day%202015%20-%20Poster%20Tadhg%20Blommerde.pdf</fulltext>
|
||||||
|
<webresource>
|
||||||
|
<url>http://repository.wit.ie/3029/</url>
|
||||||
|
</webresource>
|
||||||
|
</instance>
|
||||||
|
</children>
|
||||||
|
</result>
|
||||||
|
</entity>
|
||||||
|
</metadata>
|
||||||
|
</result>
|
||||||
|
</record>
|
|
@ -0,0 +1,89 @@
|
||||||
|
<record rank="null">
|
||||||
|
<result>
|
||||||
|
<header>
|
||||||
|
<objIdentifier>dedup_wf_002::532be02f990b479a1da46d71f1a4c3f0</objIdentifier>
|
||||||
|
<dateOfCollection>2023-03-31T18:37:45.599Z</dateOfCollection>
|
||||||
|
<dateOfTransformation>2023-03-31T18:45:52.701Z</dateOfTransformation>
|
||||||
|
</header>
|
||||||
|
<metadata>
|
||||||
|
<entity schemaLocation="http://namespace.openaire.eu/oaf https://www.openaire.eu/schema/1.0/oaf-1.0.xsd">
|
||||||
|
<result>
|
||||||
|
<collectedfrom name="Waterford Institute of Technology - Open Access Repository" id="opendoar____::50c1f44e426560f3f2cdcb3e19e39903" />
|
||||||
|
<collectedfrom name="SETU Open Access Repository" id="opendoar____::4daa3db355ef2b0e64b472968cb70f0d" />
|
||||||
|
<originalId>50|od______6005::55a12e2e0fee45ce8005633c6c17fe9f</originalId>
|
||||||
|
<originalId>oai:repository.wit.ie:3029</originalId>
|
||||||
|
<originalId>50|od_______934::e7162a5632264cd622ee7180ca66fdce</originalId>
|
||||||
|
<originalId>oai:generic.eprints.org:3029</originalId>
|
||||||
|
<originalId>50|od_______934::55a12e2e0fee45ce8005633c6c17fe9f</originalId>
|
||||||
|
<measure id="influence" score="3.1177596E-9" class="C5" />
|
||||||
|
<measure id="popularity" score="1.2305752E-9" class="C5" />
|
||||||
|
<measure id="influence_alt" score="0" class="C5" />
|
||||||
|
<measure id="popularity_alt" score="0.0" class="C5" />
|
||||||
|
<measure id="impulse" score="0" class="C5" />
|
||||||
|
<fulltext>http://repository.wit.ie/3029/1/Research%20Day%202015%20-%20Poster%20Tadhg%20Blommerde.pdf</fulltext>
|
||||||
|
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" schemename="dnet:dataCite_title" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">A service innovation capability maturity model for SMEs</title>
|
||||||
|
<bestaccessright classid="OPEN" classname="Open Access" schemeid="dnet:access_modes" schemename="dnet:access_modes" />
|
||||||
|
<creator rank="1" name="Tadhg" surname="Blommerde">Blommerde, Tadhg</creator>
|
||||||
|
<creator rank="2" name="Patrick" surname="Lynch">Lynch, Patrick</creator>
|
||||||
|
<country classid="IE" classname="Ireland" schemeid="dnet:countries" schemename="dnet:countries" />
|
||||||
|
<dateofacceptance>2015-04-28</dateofacceptance>
|
||||||
|
<description>There is general consensus that service innovations are prerequisite to sustained competitive advantage and are an essential mechanism for responding to changes in customer needs and the operating environment of firms (Giannopoulou et al., 2011; Stryja et al., 2013). Services have been described as ubiquitous in their role of generating economic growth and wellbeing and represent over 70% of employment and GDP in developed nations (Janssen et al., 2012; Mustak, 2014). As a consequence, service innovations must be a core ambition of all countries, regions, and firms wishing to remain competitive (van Ark et al., 2003). While acknowledging the importance of once-off innovations, more critical still is the capability to repeatedly introduce and exploit service innovations (Siguaw et al., 2006). This is generally referred to as service innovation capability (SIC) and describes the repeatable routines and behaviours that organisations have in place to transform ideas and knowledge into innovations (Basterretxea and Martínez, 2012). However, despite links between SIC and continuous, sustainable, and consistent service innovations, there is evidence that many organisations struggle with its effective management (Adams et al., 2006; den Hertog et al., 2010). This is often attributed to the lack of formal guidance available and the absence of metrics to determine an organisation’s SIC performance (Hogan et al., 2011; Szczygielski, 2011). Maturity modelling research in this discipline remains at an embryonic stage, thus far presenting only conceptual and opaque discussions that fail to address the necessity for an assessment and strategic management framework (Gryszkiewicz et al., 2013; Hipp and Grupp, 2005). Therefore, the purpose of this ongoing research project is to evaluate the maturity of an organisation’s SIC to inform its effective management and enhancement. To achieve this it dimensionalises the concept into four constituent capabilities, specifically, strategising, customer involvement, knowledge management, and networking (Blommerde and Lynch, 2014). The study then tracks the maturity of these capabilities as they progress through eight evolutionary plateaus towards a fully developed or optimal state. This is accomplished through a capability maturity model that enables organisations to rapidly diagnose key areas of strength and weakness to systematically cultivate behaviours that leverage their untapped innovative potential (Wendler, 2012; Essmann and du Preez, 2010). As a result of the immense knowledge vacuum characteristic of this discipline, it is anticipated that this ongoing research project will make a substantial contribution to both academic understanding and take strides towards filling the void in practical support (Rapaccini et al., 2013). It expands the service innovation literature by detailing key service innovation levers, bolsters the discipline through clear definitions of terminology, provides a powerful explanation of the development of SICs, and operationalises the dynamic capabilities view through a novel self-assessment reference model (Jochem et al., 2011). The next step in the project is the evaluation of the, as yet, conceptual service innovation capability maturity model. Adopting a positivistic philosophical stance, the study proposes the use of structural equation modelling on data gathered through an extensive survey to confirm the model and support theoretical assumptions.</description>
|
||||||
|
<subject classid="keyword" classname="keyword" schemeid="dnet:result_subject" schemename="dnet:result_subject" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">RIKON (Research in Inovation, Knowledge & Organisational Networks)</subject>
|
||||||
|
<language classid="eng" classname="English" schemeid="dnet:languages" schemename="dnet:languages" />
|
||||||
|
<format>application/pdf</format>
|
||||||
|
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" schemename="dnet:result_typologies" />
|
||||||
|
<resourcetype classid="UNKNOWN" classname="UNKNOWN" schemeid="dnet:dataCite_resource" schemename="dnet:dataCite_resource" />
|
||||||
|
<isgreen>false</isgreen>
|
||||||
|
<isindiamondjournal>false</isindiamondjournal>
|
||||||
|
<publiclyfunded>true</publiclyfunded>
|
||||||
|
<context id="eu-conexus" label="European University for Smart Urban Coastal Sustainability" type="community" />
|
||||||
|
<context id="tunet" label="TU-NET" type="community" />
|
||||||
|
<datainfo>
|
||||||
|
<inferred>true</inferred>
|
||||||
|
<deletedbyinference>true</deletedbyinference>
|
||||||
|
<trust>0.8</trust>
|
||||||
|
<inferenceprovenance>dedup-result-decisiontree-v4</inferenceprovenance>
|
||||||
|
<provenanceaction classid="sysimport:dedup" classname="Inferred by OpenAIRE" schemeid="dnet:provenanceActions" schemename="dnet:provenanceActions" />
|
||||||
|
</datainfo>
|
||||||
|
<rels>
|
||||||
|
<rel inferred="true" trust="0.85" inferenceprovenance="propagation" provenanceaction="result:organization:instrepo">
|
||||||
|
<to class="hasAuthorInstitution" scheme="dnet:result_organization_relations" type="organization">openorgs____::54cd984fc7d3b153ec2181f985041f02</to>
|
||||||
|
<country classid="IE" classname="Ireland" schemeid="dnet:countries" schemename="dnet:countries" />
|
||||||
|
<legalshortname>WIT</legalshortname>
|
||||||
|
<legalname>South East Technological University</legalname>
|
||||||
|
</rel>
|
||||||
|
</rels>
|
||||||
|
<children>
|
||||||
|
<result objidentifier="od_______934::e7162a5632264cd622ee7180ca66fdce">
|
||||||
|
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" schemename="dnet:dataCite_title" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">A service innovation capability maturity model for SMEs</title>
|
||||||
|
<dateofacceptance>2015-04-28</dateofacceptance>
|
||||||
|
<collectedfrom name="SETU Open Access Repository" id="opendoar____::4daa3db355ef2b0e64b472968cb70f0d" />
|
||||||
|
</result>
|
||||||
|
<result objidentifier="od______6005::55a12e2e0fee45ce8005633c6c17fe9f">
|
||||||
|
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" schemename="dnet:dataCite_title" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">A service innovation capability maturity model for SMEs</title>
|
||||||
|
<dateofacceptance>2015-04-28</dateofacceptance>
|
||||||
|
<collectedfrom name="Waterford Institute of Technology - Open Access Repository" id="opendoar____::50c1f44e426560f3f2cdcb3e19e39903" />
|
||||||
|
</result>
|
||||||
|
<result objidentifier="od_______934::55a12e2e0fee45ce8005633c6c17fe9f">
|
||||||
|
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" schemename="dnet:dataCite_title" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">A service innovation capability maturity model for SMEs</title>
|
||||||
|
<dateofacceptance>2015-04-28</dateofacceptance>
|
||||||
|
<collectedfrom name="SETU Open Access Repository" id="opendoar____::4daa3db355ef2b0e64b472968cb70f0d" />
|
||||||
|
</result>
|
||||||
|
<instance>
|
||||||
|
<accessright classid="OPEN" classname="Open Access" schemeid="dnet:access_modes" schemename="dnet:access_modes" />
|
||||||
|
<collectedfrom name="SETU Open Access Repository" id="opendoar____::4daa3db355ef2b0e64b472968cb70f0d" />
|
||||||
|
<hostedby name="SETU Open Access Repository" id="opendoar____::4daa3db355ef2b0e64b472968cb70f0d" />
|
||||||
|
<dateofacceptance>2015-04-28</dateofacceptance>
|
||||||
|
<instancetype classid="0004" classname="Conference object" schemeid="dnet:publication_resource" schemename="dnet:publication_resource" />
|
||||||
|
<refereed classid="0002" classname="nonPeerReviewed" schemeid="dnet:review_levels" schemename="dnet:review_levels" />
|
||||||
|
<fulltext>http://repository.wit.ie/3029/1/Research%20Day%202015%20-%20Poster%20Tadhg%20Blommerde.pdf</fulltext>
|
||||||
|
<webresource>
|
||||||
|
<url>http://repository.wit.ie/3029/</url>
|
||||||
|
</webresource>
|
||||||
|
</instance>
|
||||||
|
</children>
|
||||||
|
</result>
|
||||||
|
</entity>
|
||||||
|
</metadata>
|
||||||
|
</result>
|
||||||
|
</record>
|
|
@ -0,0 +1,66 @@
|
||||||
|
<record rank="null">
|
||||||
|
<result>
|
||||||
|
<header>
|
||||||
|
<objIdentifier>od_______310::02365c51a0ed7cbb54b2bbc7c0426d1b</objIdentifier>
|
||||||
|
<dateOfCollection>2024-04-06T06:05:16+0000</dateOfCollection>
|
||||||
|
<dateOfTransformation>2024-04-06T06:56:01.776Z</dateOfTransformation>
|
||||||
|
</header>
|
||||||
|
<metadata>
|
||||||
|
<entity schemaLocation="http://namespace.openaire.eu/oaf https://www.openaire.eu/schema/1.0/oaf-1.0.xsd">
|
||||||
|
<result>
|
||||||
|
<collectedfrom name="Flore (Florence Research Repository)" id="opendoar____::06eb61b839a0cefee4967c67ccb099dc" />
|
||||||
|
<originalId>50|od_______310::02365c51a0ed7cbb54b2bbc7c0426d1b</originalId>
|
||||||
|
<originalId>oai:flore.unifi.it:2158/608965</originalId>
|
||||||
|
<pid classid="handle" classname="Handle" schemeid="dnet:pid_types" schemename="dnet:pid_types" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">2158/608965</pid>
|
||||||
|
<measure id="influence" score="3.1177596E-9" class="C5" />
|
||||||
|
<measure id="popularity" score="7.6231693E-10" class="C5" />
|
||||||
|
<measure id="influence_alt" score="0" class="C5" />
|
||||||
|
<measure id="popularity_alt" score="0.0" class="C5" />
|
||||||
|
<measure id="impulse" score="0" class="C5" />
|
||||||
|
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" schemename="dnet:dataCite_title" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">Estorsione (art. 629)</title>
|
||||||
|
<bestaccessright classid="UNKNOWN" classname="not available" schemeid="dnet:access_modes" schemename="dnet:access_modes" />
|
||||||
|
<creator rank="1" name="Francesco" surname="Macri" orcid_pending="0000-0001-7658-6173">MACRI', FRANCESCO</creator>
|
||||||
|
<country classid="IT" classname="Italy" schemeid="dnet:countries" schemename="dnet:countries" />
|
||||||
|
<dateofacceptance>2011-01-01</dateofacceptance>
|
||||||
|
<language classid="und" classname="Undetermined" schemeid="dnet:languages" schemename="dnet:languages" />
|
||||||
|
<relevantdate classid="Accepted" classname="Accepted" schemeid="dnet:dataCite_date" schemename="dnet:dataCite_date" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">2011-01-01</relevantdate>
|
||||||
|
<relevantdate classid="issued" classname="issued" schemeid="dnet:dataCite_date" schemename="dnet:dataCite_date" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">2011-01-01</relevantdate>
|
||||||
|
<relevantdate classid="available" classname="available" schemeid="dnet:dataCite_date" schemename="dnet:dataCite_date" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">2015-04-28</relevantdate>
|
||||||
|
<publisher>UTET</publisher>
|
||||||
|
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" schemename="dnet:result_typologies" />
|
||||||
|
<resourcetype classid="book part" classname="book part" schemeid="dnet:dataCite_resource" schemename="dnet:dataCite_resource" />
|
||||||
|
<datainfo>
|
||||||
|
<inferred>false</inferred>
|
||||||
|
<deletedbyinference>false</deletedbyinference>
|
||||||
|
<trust>0.9</trust>
|
||||||
|
<inferenceprovenance>null</inferenceprovenance>
|
||||||
|
<provenanceaction classid="sysimport:crosswalk:repository" classname="Harvested" schemeid="dnet:provenanceActions" schemename="dnet:provenanceActions" />
|
||||||
|
</datainfo>
|
||||||
|
<rels>
|
||||||
|
<rel inferred="true" trust="0.85" inferenceprovenance="propagation" provenanceaction="result:organization:instrepo">
|
||||||
|
<to class="hasAuthorInstitution" scheme="dnet:result_organization_relations" type="organization">openorgs____::41406edad82942e9e0b29317b8a847e2</to>
|
||||||
|
<legalshortname>University of Florence</legalshortname>
|
||||||
|
<country classid="IT" classname="Italy" schemeid="dnet:countries" schemename="dnet:countries" />
|
||||||
|
<legalname>University of Florence</legalname>
|
||||||
|
</rel>
|
||||||
|
</rels>
|
||||||
|
<children>
|
||||||
|
<instance>
|
||||||
|
<accessright classid="UNKNOWN" classname="not available" schemeid="dnet:access_modes" schemename="dnet:access_modes" />
|
||||||
|
<collectedfrom name="Flore (Florence Research Repository)" id="opendoar____::06eb61b839a0cefee4967c67ccb099dc" />
|
||||||
|
<hostedby name="Flore (Florence Research Repository)" id="opendoar____::06eb61b839a0cefee4967c67ccb099dc" />
|
||||||
|
<dateofacceptance>2011-01-01</dateofacceptance>
|
||||||
|
<instancetype classid="0013" classname="Part of book or chapter of book" schemeid="dnet:publication_resource" schemename="dnet:publication_resource" />
|
||||||
|
<pid classid="handle" classname="Handle" schemeid="dnet:pid_types" schemename="dnet:pid_types" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">2158/608965</pid>
|
||||||
|
<alternateidentifier classid="urn" classname="urn" schemeid="dnet:pid_types" schemename="dnet:pid_types" inferred="false" provenanceaction="sysimport:crosswalk:repository" trust="0.9">http://hdl.handle.net/2158/608965</alternateidentifier>
|
||||||
|
<refereed classid="0002" classname="nonPeerReviewed" schemeid="dnet:review_levels" schemename="dnet:review_levels" />
|
||||||
|
<webresource>
|
||||||
|
<url>https://hdl.handle.net/2158/608965</url>
|
||||||
|
</webresource>
|
||||||
|
</instance>
|
||||||
|
</children>
|
||||||
|
</result>
|
||||||
|
</entity>
|
||||||
|
</metadata>
|
||||||
|
</result>
|
||||||
|
</record>
|
Loading…
Reference in New Issue