Revision 50779
Added by Claudio Atzori almost 7 years ago
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/deploy.info | ||
---|---|---|
1 |
{"type_source": "SVN", "goal": "package -U source:jar", "url": "http://svn-public.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-openaireplus-workflows/trunk/", "deploy_repository": "dnet45-snapshots", "version": "4", "mail": "sandro.labruzzo@isti.cnr.it,michele.artini@isti.cnr.it, claudio.atzori@isti.cnr.it, alessia.bardi@isti.cnr.it", "deploy_repository_url": "http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-snapshots", "name": "dnet-openaireplus-workflows"} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/java/eu/dnetlib/msro/openaireplus/utils/CleaningXsltFunctionTest.java | ||
---|---|---|
1 |
package eu.dnetlib.msro.openaireplus.utils; |
|
2 |
|
|
3 |
import org.junit.Assert; |
|
4 |
import org.junit.Test; |
|
5 |
|
|
6 |
/** |
|
7 |
* Created by sandro on 11/28/16. |
|
8 |
*/ |
|
9 |
public class CleaningXsltFunctionTest { |
|
10 |
|
|
11 |
@Test |
|
12 |
public void testCyrillic() { |
|
13 |
|
|
14 |
final String inputString = "Издательский Дом \"Медицина и Просв"; |
|
15 |
final String cleanedString = CleaningXsltFunctions.clean(inputString); |
|
16 |
System.out.println(cleanedString); |
|
17 |
|
|
18 |
Assert.assertNotNull(cleanedString); |
|
19 |
|
|
20 |
} |
|
21 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/java/eu/dnetlib/msro/openaireplus/api/OpenAIRESubmitterUtilsTest.java | ||
---|---|---|
1 |
package eu.dnetlib.msro.openaireplus.api; |
|
2 |
|
|
3 |
import java.util.Map; |
|
4 |
import java.util.Map.Entry; |
|
5 |
|
|
6 |
import org.junit.Test; |
|
7 |
|
|
8 |
/** |
|
9 |
* Created by Alessia Bardi on 26/05/2017. |
|
10 |
* |
|
11 |
* @author Alessia Bardi |
|
12 |
*/ |
|
13 |
public class OpenAIRESubmitterUtilsTest { |
|
14 |
|
|
15 |
private OpenAIRESubmitterUtils utils = new OpenAIRESubmitterUtils(); |
|
16 |
|
|
17 |
final String fullProject = "info:eu-repo/grantAgreement/EC/FP7/244909/EU/Making Capabilities Work/WorkAble"; |
|
18 |
final String minimalProject = "info:eu-repo/grantAgreement/EC/FP7/244909///WorkAble"; |
|
19 |
final String onlyId = "info:eu-repo/grantAgreement/EC/FP7/244909/"; |
|
20 |
final String onlyTitle = "info:eu-repo/grantAgreement/EC/FP7/244909/EU/Making Capabilities Work"; |
|
21 |
|
|
22 |
@Test |
|
23 |
public void testCalculateProjectInfoFull() { |
|
24 |
final Map<String, String> project = utils.calculateProjectInfo(fullProject); |
|
25 |
print(project); |
|
26 |
} |
|
27 |
|
|
28 |
@Test |
|
29 |
public void testCalculateProjectInfoOnlyId() { |
|
30 |
final Map<String, String> project = utils.calculateProjectInfo(onlyId); |
|
31 |
print(project); |
|
32 |
} |
|
33 |
|
|
34 |
@Test |
|
35 |
public void testCalculateProjectInfoMinimalAcro() { |
|
36 |
final Map<String, String> project = utils.calculateProjectInfo(minimalProject); |
|
37 |
print(project); |
|
38 |
} |
|
39 |
|
|
40 |
@Test |
|
41 |
public void testCalculateProjectInfoOnlyTitle() { |
|
42 |
final Map<String, String> project = utils.calculateProjectInfo(onlyTitle); |
|
43 |
print(project); |
|
44 |
} |
|
45 |
|
|
46 |
private void print(final Map<String, String> map) { |
|
47 |
for (final Entry e : map.entrySet()) { |
|
48 |
System.out.println(e.getKey() + " = " + e.getValue()); |
|
49 |
} |
|
50 |
} |
|
51 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/java/eu/dnetlib/msro/openaireplus/api/objects/ResultEntryTest.java | ||
---|---|---|
1 |
package eu.dnetlib.msro.openaireplus.api.objects; |
|
2 |
|
|
3 |
import java.io.InputStreamReader; |
|
4 |
import java.io.StringReader; |
|
5 |
import java.util.ArrayList; |
|
6 |
import java.util.Arrays; |
|
7 |
import java.util.Properties; |
|
8 |
|
|
9 |
import com.google.gson.Gson; |
|
10 |
import eu.dnetlib.enabling.is.lookup.rmi.ISLookUpService; |
|
11 |
import eu.dnetlib.msro.rmi.MSROException; |
|
12 |
import org.apache.commons.lang3.StringEscapeUtils; |
|
13 |
import org.apache.velocity.app.VelocityEngine; |
|
14 |
import org.dom4j.Document; |
|
15 |
import org.dom4j.io.OutputFormat; |
|
16 |
import org.dom4j.io.SAXReader; |
|
17 |
import org.dom4j.io.XMLWriter; |
|
18 |
import org.junit.Before; |
|
19 |
import org.junit.Test; |
|
20 |
import org.junit.runner.RunWith; |
|
21 |
import org.mockito.Mock; |
|
22 |
import org.mockito.invocation.InvocationOnMock; |
|
23 |
import org.mockito.runners.MockitoJUnitRunner; |
|
24 |
import org.mockito.stubbing.Answer; |
|
25 |
|
|
26 |
import static org.mockito.Matchers.anyString; |
|
27 |
import static org.mockito.Mockito.when; |
|
28 |
|
|
29 |
/** |
|
30 |
* Created by michele on 14/12/15. |
|
31 |
*/ |
|
32 |
@RunWith(MockitoJUnitRunner.class) |
|
33 |
public class ResultEntryTest { |
|
34 |
|
|
35 |
private VelocityEngine ve; |
|
36 |
|
|
37 |
@Mock |
|
38 |
private ISLookUpService lookUpService; |
|
39 |
|
|
40 |
@Before |
|
41 |
public void setUp() throws Exception { |
|
42 |
|
|
43 |
final Properties props = new Properties(); |
|
44 |
props.setProperty("resource.loader", "class"); |
|
45 |
props.setProperty("class.resource.loader.class", "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader"); |
|
46 |
props.setProperty("runtime.log.logsystem.class", "org.apache.velocity.runtime.log.Log4JLogChute"); |
|
47 |
ve = new VelocityEngine(); |
|
48 |
ve.init(props); |
|
49 |
|
|
50 |
when(lookUpService.quickSearchProfile(anyString())).thenAnswer(new Answer<Object>() { |
|
51 |
|
|
52 |
@Override |
|
53 |
public Object answer(final InvocationOnMock invocation) throws Throwable { |
|
54 |
final String query = invocation.getArguments()[0].toString(); |
|
55 |
if (query.contains("dnet:result_typologies")) { |
|
56 |
return Arrays.asList("publication @@@ publication", "dataset @@@ dataset"); |
|
57 |
} else if (query.contains("dnet:access_modes")) { |
|
58 |
return Arrays.asList("OPEN @@@ Open Access"); |
|
59 |
} else if (query.contains("dnet:publication_resource")) { |
|
60 |
return Arrays.asList("0001 @@@ Journal Article"); |
|
61 |
} else if (query.contains("dnet:pid_types")) { |
|
62 |
return Arrays.asList("oai @@@ Open Archive Initiative", "doi @@@ Digital object identifier"); |
|
63 |
} else if (query.contains("dnet:languages")) { |
|
64 |
return Arrays.asList("ita @@@ Italian"); |
|
65 |
} else if (query.contains("ContextDSResourceType")) { |
|
66 |
return Arrays.asList( |
|
67 |
"egi::classification::natsc::math::stats @@@ Statistics and Probability", |
|
68 |
"egi::classification::natsc::math::pure @@@ Pure Mathematics", |
|
69 |
"egi::classification::natsc::math @@@ Mathematics", |
|
70 |
"egi::classification::natsc @@@ Natural Sciences", |
|
71 |
"egi::classification @@@ EGI classification scheme", |
|
72 |
"egi @@@ EGI"); |
|
73 |
} else { |
|
74 |
return new ArrayList<String>(); |
|
75 |
} |
|
76 |
} |
|
77 |
}); |
|
78 |
|
|
79 |
when(lookUpService.getResourceProfileByQuery(anyString())).thenAnswer(new Answer<Object>() { |
|
80 |
|
|
81 |
@Override |
|
82 |
public Object answer(final InvocationOnMock invocation) throws Throwable { |
|
83 |
return "REPO NAME @@@ repo________"; |
|
84 |
} |
|
85 |
}); |
|
86 |
} |
|
87 |
|
|
88 |
@Test |
|
89 |
public void testAsIndexRecord() throws Exception { |
|
90 |
final ResultEntry pub = new ResultEntry(); |
|
91 |
pub.setOriginalId("ORIG_ID_1234"); |
|
92 |
pub.setTitle("TEST TITLE <test>"); |
|
93 |
pub.getAuthors().add("Michele Artini"); |
|
94 |
pub.getAuthors().add("Claudio Atzori"); |
|
95 |
pub.getAuthors().add("Alessia Bardi"); |
|
96 |
pub.setPublisher("Test publisher"); |
|
97 |
pub.setDescription("DESCRIPTION & DESCRIPTION & DESCRIPTION & DESCRIPTION & DESCRIPTION & DESCRIPTION & DESCRIPTION "); |
|
98 |
pub.setLanguage("ita"); |
|
99 |
pub.setLicenseCode("OPEN"); |
|
100 |
pub.setResourceType("0001"); |
|
101 |
pub.setUrl("http://test.it/a=1&b=2"); |
|
102 |
pub.getPids().add(new PidEntry("doi", "10.000/xyz-123")); |
|
103 |
pub.getPids().add(new PidEntry("oai", "oai:1234")); |
|
104 |
pub.setCollectedFromId("test________::zenodo"); |
|
105 |
pub.setHostedById("test________::UNKNOWN"); |
|
106 |
pub.getLinksToProjects().add("info:eu-repo/grantAgreement/EC/FP7/283595/EU//OpenAIREplus"); |
|
107 |
pub.getLinksToProjects().add("info:eu-repo/grantAgreement/EC/FP7/244909/EU/Making Capabilities Work/WorkAble"); |
|
108 |
pub.getContexts().add("egi::classification::natsc::math::pure"); |
|
109 |
pub.getContexts().add("egi::classification::natsc::math::stats"); |
|
110 |
final String xml = pub.asOafRecord(ve, lookUpService, "http://oaf/oaf.xsd"); |
|
111 |
|
|
112 |
final Document doc = (new SAXReader()).read(new StringReader(xml)); |
|
113 |
|
|
114 |
final OutputFormat format = OutputFormat.createPrettyPrint(); |
|
115 |
|
|
116 |
final XMLWriter writer = new XMLWriter(System.out, format); |
|
117 |
|
|
118 |
writer.write(doc); |
|
119 |
|
|
120 |
/* writer.close(); */ |
|
121 |
|
|
122 |
} |
|
123 |
|
|
124 |
@Test |
|
125 |
public void testAsIndexRecord_json() throws Exception { |
|
126 |
testAsIndexRecord_json("test_record.json"); |
|
127 |
|
|
128 |
} |
|
129 |
|
|
130 |
@Test |
|
131 |
public void testAsIndexRecord_json_with_greek_chars() throws Exception { |
|
132 |
|
|
133 |
testAsIndexRecord_json("test_record_with_greek_chars.json"); |
|
134 |
|
|
135 |
} |
|
136 |
|
|
137 |
@Test |
|
138 |
public void testAsIndexRecord_openaireId() throws Exception { |
|
139 |
|
|
140 |
testAsIndexRecord_json("test_record_openaireId.json"); |
|
141 |
|
|
142 |
} |
|
143 |
|
|
144 |
@Test(expected = MSROException.class) |
|
145 |
public void testAsIndexRecord_wrongOpenaireId() throws Exception { |
|
146 |
|
|
147 |
testAsIndexRecord_json("test_record_wrong_openaireId.json"); |
|
148 |
|
|
149 |
} |
|
150 |
|
|
151 |
@Test |
|
152 |
public void testAsIndexRecord_json_zenodo() throws Exception { |
|
153 |
|
|
154 |
testAsIndexRecord_json("test_zenodo.json"); |
|
155 |
|
|
156 |
} |
|
157 |
|
|
158 |
private void testAsIndexRecord_json(final String filename) throws Exception { |
|
159 |
final ResultEntry pub = |
|
160 |
(new Gson()).fromJson(new InputStreamReader(getClass().getResourceAsStream(filename)), ResultEntry.class); |
|
161 |
|
|
162 |
final String xml = pub.asOafRecord(ve, lookUpService, "http://oaf/oaf.xsd"); |
|
163 |
System.out.println(xml); |
|
164 |
|
|
165 |
final Document doc = (new SAXReader()).read(new StringReader(xml)); |
|
166 |
|
|
167 |
final OutputFormat format = OutputFormat.createPrettyPrint(); |
|
168 |
|
|
169 |
final XMLWriter writer = new XMLWriter(System.out, format); |
|
170 |
|
|
171 |
writer.write(doc); |
|
172 |
|
|
173 |
/* writer.close(); */ |
|
174 |
} |
|
175 |
|
|
176 |
@Test |
|
177 |
public void testEscapeUnicode(){ |
|
178 |
String unicodeTxt = "i.e. closed curves of the form $t\ud835\udfc4 [0,2\u03c0] \u21a6 (\\cos t)u + (\\sin t)v$ for suitable orthogonal vectors $u$"; |
|
179 |
System.out.println(StringEscapeUtils.escapeXml11(unicodeTxt)); |
|
180 |
} |
|
181 |
|
|
182 |
|
|
183 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/java/eu/dnetlib/msro/openaireplus/workflows/repohi/xslt/FWFTest.java | ||
---|---|---|
1 |
package eu.dnetlib.msro.openaireplus.workflows.repohi.xslt; |
|
2 |
|
|
3 |
import eu.dnetlib.miscutils.functional.xml.ApplyXslt; |
|
4 |
import org.apache.commons.io.IOUtils; |
|
5 |
import org.junit.Test; |
|
6 |
|
|
7 |
/** |
|
8 |
* Created by miriam on 05/05/2017. |
|
9 |
*/ |
|
10 |
public class FWFTest { |
|
11 |
|
|
12 |
@Test |
|
13 |
public void testApplyXslt() throws Exception { |
|
14 |
ApplyXslt xslt = new ApplyXslt(IOUtils.toString(getClass().getResourceAsStream("/eu/dnetlib/msro/openaireplus/workflows/repo-hi/xslt/fwf_2_db.xsl"))); |
|
15 |
|
|
16 |
String xml = IOUtils.toString(getClass().getResourceAsStream("/eu/dnetlib/msro/openaireplus/workflows/repo-hi/xslt/test-record.xml")); |
|
17 |
System.out.println(xslt.evaluate(xml)); |
|
18 |
|
|
19 |
} |
|
20 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/java/eu/dnetlib/msro/openaireplus/workflows/index/OpenaireLayoutToRecordStylesheetTest.java | ||
---|---|---|
1 |
package eu.dnetlib.msro.openaireplus.workflows.index; |
|
2 |
|
|
3 |
import java.io.IOException; |
|
4 |
import java.io.InputStream; |
|
5 |
import java.io.StringReader; |
|
6 |
import java.io.StringWriter; |
|
7 |
import javax.xml.stream.XMLStreamException; |
|
8 |
import javax.xml.transform.Transformer; |
|
9 |
import javax.xml.transform.TransformerException; |
|
10 |
import javax.xml.transform.TransformerFactory; |
|
11 |
import javax.xml.transform.stream.StreamResult; |
|
12 |
import javax.xml.transform.stream.StreamSource; |
|
13 |
|
|
14 |
import eu.dnetlib.enabling.is.lookup.rmi.ISLookUpException; |
|
15 |
import eu.dnetlib.functionality.index.solr.feed.StreamingInputDocumentFactory; |
|
16 |
import eu.dnetlib.miscutils.datetime.DateUtils; |
|
17 |
import eu.dnetlib.miscutils.functional.xml.ApplyXslt; |
|
18 |
import eu.dnetlib.miscutils.functional.xml.IndentXmlString; |
|
19 |
import org.apache.commons.io.IOUtils; |
|
20 |
import org.apache.solr.common.SolrInputDocument; |
|
21 |
import org.junit.Test; |
|
22 |
import org.springframework.core.io.ClassPathResource; |
|
23 |
|
|
24 |
import static org.junit.Assert.assertFalse; |
|
25 |
import static org.junit.Assert.assertNotNull; |
|
26 |
|
|
27 |
public class OpenaireLayoutToRecordStylesheetTest { |
|
28 |
|
|
29 |
private static final String OPENAIRE_LAYOUT_TO_RECORD_STYLESHEET_XSL = "/eu/dnetlib/msro/openaireplus/workflows/index/openaireLayoutToRecordStylesheet.xsl"; |
|
30 |
|
|
31 |
private static final String MDFORMAT_FIELDS = "/eu/dnetlib/msro/openaireplus/workflows/index/fields.xml"; |
|
32 |
|
|
33 |
private static final String OAF_RECORD = "/eu/dnetlib/msro/openaireplus/workflows/index/oafRecord.xml"; |
|
34 |
|
|
35 |
@Test |
|
36 |
public void test1() throws ISLookUpException, IOException, TransformerException, XMLStreamException { |
|
37 |
String xsl = prepareXslt("DMF"); |
|
38 |
assertNotNull(xsl); |
|
39 |
assertFalse(xsl.isEmpty()); |
|
40 |
|
|
41 |
System.out.println(xsl); |
|
42 |
|
|
43 |
ApplyXslt xslt = new ApplyXslt(xsl); |
|
44 |
|
|
45 |
String indexRecord = xslt.evaluate(readFromClasspath(OAF_RECORD)); |
|
46 |
|
|
47 |
assertNotNull(indexRecord); |
|
48 |
assertFalse(indexRecord.isEmpty()); |
|
49 |
|
|
50 |
System.out.println(IndentXmlString.apply(indexRecord)); |
|
51 |
|
|
52 |
StreamingInputDocumentFactory factory = new StreamingInputDocumentFactory(); |
|
53 |
|
|
54 |
SolrInputDocument doc = factory.parseDocument(DateUtils.now_ISO8601(), indexRecord, "dsId", "dnetResult"); |
|
55 |
assertNotNull(doc); |
|
56 |
assertFalse(doc.isEmpty()); |
|
57 |
|
|
58 |
// System.out.println(doc); |
|
59 |
|
|
60 |
} |
|
61 |
|
|
62 |
protected String prepareXslt(final String format) throws ISLookUpException, IOException, TransformerException { |
|
63 |
|
|
64 |
final TransformerFactory factory = TransformerFactory.newInstance(); |
|
65 |
|
|
66 |
final Transformer layoutTransformer = factory.newTransformer(streamSource(OPENAIRE_LAYOUT_TO_RECORD_STYLESHEET_XSL)); |
|
67 |
|
|
68 |
final StreamResult layoutToXsltXslt = new StreamResult(new StringWriter()); |
|
69 |
|
|
70 |
layoutTransformer.setParameter("format", format); |
|
71 |
layoutTransformer.transform(streamSource(MDFORMAT_FIELDS), layoutToXsltXslt); |
|
72 |
|
|
73 |
return layoutToXsltXslt.getWriter().toString(); |
|
74 |
} |
|
75 |
|
|
76 |
private StreamSource streamSource(final String s) throws IOException { |
|
77 |
return new StreamSource(new StringReader(readFromClasspath(s))); |
|
78 |
} |
|
79 |
|
|
80 |
private String readFromClasspath(final String s) throws IOException { |
|
81 |
ClassPathResource resource = new ClassPathResource(s); |
|
82 |
InputStream inputStream = resource.getInputStream(); |
|
83 |
return IOUtils.toString(inputStream); |
|
84 |
} |
|
85 |
|
|
86 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/java/eu/dnetlib/msro/openaireplus/workflows/nodes/hostedby/PatchHostedByTest.java | ||
---|---|---|
1 |
package eu.dnetlib.msro.openaireplus.workflows.nodes.hostedby; |
|
2 |
|
|
3 |
import java.io.IOException; |
|
4 |
import java.lang.annotation.Documented; |
|
5 |
import java.nio.charset.StandardCharsets; |
|
6 |
import java.util.HashMap; |
|
7 |
|
|
8 |
import junit.framework.Assert; |
|
9 |
import org.apache.commons.io.IOUtils; |
|
10 |
import org.dom4j.Document; |
|
11 |
import org.dom4j.DocumentException; |
|
12 |
import org.dom4j.io.SAXReader; |
|
13 |
import org.junit.Test; |
|
14 |
import org.springframework.core.io.ClassPathResource; |
|
15 |
import org.springframework.core.io.Resource; |
|
16 |
|
|
17 |
public class PatchHostedByTest { |
|
18 |
private PatchHostedBy p = new PatchHostedBy(new HashMap<>(),"", new HostedByCounters()); |
|
19 |
private Resource xmlInput = new ClassPathResource("/eu/dnetlib/msro/openaireplus/workflows/nodes/hostedby/input.xml"); |
|
20 |
private Resource xmlInput2 = new ClassPathResource("/eu/dnetlib/msro/openaireplus/workflows/nodes/hostedby/input2.xml"); |
|
21 |
|
|
22 |
private final SAXReader reader = new SAXReader(); |
|
23 |
|
|
24 |
private final String xpath = "substring-after(//*[local-name()='supplementTo']/*[local-name()='source']/@id,'.')"; |
|
25 |
|
|
26 |
@Test |
|
27 |
public void testEvaluate() throws DocumentException, IOException { |
|
28 |
|
|
29 |
final Document doc = reader.read(xmlInput.getInputStream()); |
|
30 |
|
|
31 |
for (Object o : doc.selectNodes(this.xpath)) { |
|
32 |
Assert.assertEquals("journal10808", o); |
|
33 |
} |
|
34 |
|
|
35 |
} |
|
36 |
|
|
37 |
@Test |
|
38 |
public void testEvaluate2() throws Exception{ |
|
39 |
System.out.println(IOUtils.toString(xmlInput2.getInputStream(), StandardCharsets.UTF_8)); |
|
40 |
|
|
41 |
} |
|
42 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/java/eu/dnetlib/msro/openaireplus/workflows/nodes/contexts/ContextUtilsTest.java | ||
---|---|---|
1 |
package eu.dnetlib.msro.openaireplus.workflows.nodes.contexts; |
|
2 |
|
|
3 |
import java.io.StringReader; |
|
4 |
|
|
5 |
import com.google.common.collect.Iterables; |
|
6 |
import com.google.common.collect.Lists; |
|
7 |
import org.apache.commons.logging.Log; |
|
8 |
import org.apache.commons.logging.LogFactory; |
|
9 |
import org.dom4j.Document; |
|
10 |
import org.dom4j.DocumentException; |
|
11 |
import org.dom4j.io.SAXReader; |
|
12 |
import org.junit.Test; |
|
13 |
|
|
14 |
import static org.junit.Assert.assertTrue; |
|
15 |
|
|
16 |
/** |
|
17 |
* Created by claudio on 01/03/16. |
|
18 |
*/ |
|
19 |
public class ContextUtilsTest { |
|
20 |
|
|
21 |
private static final Log log = LogFactory.getLog(ContextUtilsTest.class); |
|
22 |
private String params = "{param1:value1,param2:value2}"; |
|
23 |
|
|
24 |
@Test |
|
25 |
public void testContextFactory() throws DocumentException { |
|
26 |
|
|
27 |
Iterable<String> it = Lists.newArrayList( |
|
28 |
"\t\t<fundings>\n" |
|
29 |
+ "\t\t\t<fundingtree>\n" |
|
30 |
+ "\t\t\t\t<funder>\n" |
|
31 |
+ "\t\t\t\t\t<id>arc_________::ARC</id>\n" |
|
32 |
+ "\t\t\t\t\t<shortname>ARC</shortname>\n" |
|
33 |
+ "\t\t\t\t\t<name>Australian Research Council (ARC)</name>\n" |
|
34 |
+ "\t\t\t\t\t<jurisdiction>AU</jurisdiction>\n" |
|
35 |
+ "\t\t\t\t</funder>\n" |
|
36 |
+ "\t\t\t</fundingtree>\n" |
|
37 |
+ "\t\t</fundings>"); |
|
38 |
|
|
39 |
final ContextDesc context = ContextUtils.getContext(it, "ARC", "Australian Research Council (ARC)", "funding", params); |
|
40 |
|
|
41 |
final Iterable<String> iter = Iterables.transform(context.getDbEntries().entrySet(), ContextUtils.getContextRowTransformer()); |
|
42 |
|
|
43 |
final SAXReader r = new SAXReader(); |
|
44 |
|
|
45 |
for (String f : iter) { |
|
46 |
|
|
47 |
final Document fd = r.read(new StringReader(f)); |
|
48 |
|
|
49 |
assertTrue(fd != null); |
|
50 |
assertTrue("AU".equals(fd.valueOf("//FIELD[@name='jurisdiction']"))); |
|
51 |
assertTrue("arc_________::ARC".equals(fd.valueOf("//FIELD[@name='funder']"))); |
|
52 |
} |
|
53 |
System.out.println(context.asDomElement().asXML()); |
|
54 |
} |
|
55 |
|
|
56 |
@Test |
|
57 |
public void testEmptyFunding() throws DocumentException { |
|
58 |
|
|
59 |
Iterable<String> it = Lists.newArrayList( |
|
60 |
"\t\t<fundings>\n" |
|
61 |
+ "\t\t\t<fundingtree/>\n" |
|
62 |
+ "\t\t</fundings>"); |
|
63 |
|
|
64 |
final ContextDesc context = ContextUtils.getContext(it, "HRZZ", "HRZZ", "funding", params); |
|
65 |
|
|
66 |
final Iterable<String> iter = Iterables.transform(context.getDbEntries().entrySet(), ContextUtils.getContextRowTransformer()); |
|
67 |
|
|
68 |
final SAXReader r = new SAXReader(); |
|
69 |
|
|
70 |
for (String f : iter) { |
|
71 |
System.out.println(f); |
|
72 |
|
|
73 |
/*final Document fd = r.read(new StringReader(f)); |
|
74 |
|
|
75 |
assertTrue(fd != null); |
|
76 |
assertTrue("AU".equals(fd.valueOf("//FIELD[@name='jurisdiction']"))); |
|
77 |
assertTrue("arc_________::ARC".equals(fd.valueOf("//FIELD[@name='funder']"))); |
|
78 |
*/ |
|
79 |
} |
|
80 |
} |
|
81 |
|
|
82 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/java/eu/dnetlib/msro/openaireplus/workflows/nodes/contexts/FETTest.java | ||
---|---|---|
1 |
package eu.dnetlib.msro.openaireplus.workflows.nodes.contexts; |
|
2 |
|
|
3 |
import java.io.IOException; |
|
4 |
import java.util.Arrays; |
|
5 |
import java.util.Iterator; |
|
6 |
|
|
7 |
import com.google.common.base.Function; |
|
8 |
import com.google.common.collect.Lists; |
|
9 |
import org.apache.commons.io.IOUtils; |
|
10 |
import org.junit.Assert; |
|
11 |
import org.junit.Before; |
|
12 |
import org.junit.Test; |
|
13 |
import org.springframework.core.io.Resource; |
|
14 |
import org.springframework.core.io.support.PathMatchingResourcePatternResolver; |
|
15 |
|
|
16 |
public class FETTest { |
|
17 |
|
|
18 |
private static final String PATTERN = "classpath*:/eu/dnetlib/msro/openaireplus/workflows/nodes/contexts/fetprojects/*.xml"; |
|
19 |
//class under test |
|
20 |
private BuildH2020FETTaxonomy fetBuilder; |
|
21 |
private Iterator<String> iterator; |
|
22 |
|
|
23 |
//String outputCheck = "<category id=\"fet-h2020::open\" label=\"FET OPEN\" claim=\"false\"><concept id=\"fet-h2020::open::1\" label=\"FET-Open research projects\" claim=\"false\"><param name=\"CALL_ID\">H2020-FETOPEN-2014-2015-RIA</param><concept id=\"fet-h2020::open::1::713140\" label=\"Custom architecturally defined 3D stem cell derived functional human neural networks for transformative progress in neuroscience and medicine\" claim=\"true\"><param name=\"CD_PROJ_ID\">713140</param><param name=\"CD_CALL_ID\">FETOPEN-RIA-2014-2015</param><param name=\"CD_PROJECT_NUMBER\">713140</param><param name=\"CD_ACRONYM\">MESO_BRAIN</param><param name=\"CD_FRAMEWORK\">H2020</param></concept><concept id=\"fet-h2020::open::1::665148\" label=\"Quantum Controlled Ultrafast Multimode Entanglement and Measurement\" claim=\"true\"><param name=\"CD_PROJ_ID\">665148</param><param name=\"CD_CALL_ID\">FETOPEN-RIA-2014-2015</param><param name=\"CD_PROJECT_NUMBER\">665148</param><param name=\"CD_ACRONYM\">QCUMbER</param><param name=\"CD_FRAMEWORK\">H2020</param></concept><concept id=\"fet-h2020::open::1::665233\" label=\"Super-resolution visualisation and manipulation of metaphase chromosomes\" claim=\"true\"><param name=\"CD_PROJ_ID\">665233</param><param name=\"CD_CALL_ID\">FETOPEN-RIA-2014-2015</param><param name=\"CD_PROJECT_NUMBER\">665233</param><param name=\"CD_ACRONYM\">CHROMAVISION</param><param name=\"CD_FRAMEWORK\">H2020</param></concept></concept><concept id=\"fet-h2020::open::2\" label=\"FET Exchange Coordination and Support Activities 2015\" claim=\"false\"><param name=\"CALL_ID\">H2020-FETOPEN-2015-CSA</param><concept id=\"fet-h2020::open::2::713171\" label=\"SENSE - a roadmap for the ideal low light level sensor development\" claim=\"true\"><param name=\"CD_PROJ_ID\">713171</param><param name=\"CD_CALL_ID\">FETOPEN-CSA-FETEXCHANGE-2015</param><param name=\"CD_PROJECT_NUMBER\">713171</param><param name=\"CD_ACRONYM\">SENSE</param><param name=\"CD_FRAMEWORK\">H2020</param></concept></concept><concept id=\"fet-h2020::open::3\" label=\"FET Innovation Launchpad\" claim=\"false\"><param name=\"CALL_ID\">H2020-FETOPEN-4-2016-2017</param><concept id=\"fet-h2020::open::3::754514\" label=\"Resource AuctiOning Engine for the Mobile Digital MArket\" claim=\"true\"><param name=\"CD_PROJ_ID\">754514</param><param name=\"CD_CALL_ID\">FETOPEN-04-2016-2017</param><param name=\"CD_PROJECT_NUMBER\">754514</param><param name=\"CD_ACRONYM\">ROMA</param><param name=\"CD_FRAMEWORK\">H2020</param></concept><concept id=\"fet-h2020::open::3::754515\" label=\"Hello\" claim=\"true\"><param name=\"CD_PROJ_ID\">754515</param><param name=\"CD_CALL_ID\">FETOPEN-04-2016-2017</param><param name=\"CD_PROJECT_NUMBER\">754515</param><param name=\"CD_ACRONYM\">HHH</param><param name=\"CD_FRAMEWORK\">H2020</param></concept></concept><concept id=\"fet-h2020::open::4\" label=\"Coordination and Support Activities\" claim=\"false\"><param name=\"CALL_ID\">H2020-FETOPEN-2014-CSA</param><concept id=\"fet-h2020::open::4::665564\" label=\"Coordinating European Research on Molecular Communications\" claim=\"true\"><param name=\"CD_PROJ_ID\">665564</param><param name=\"CD_CALL_ID\">FETOPEN-2-2014</param><param name=\"CD_PROJECT_NUMBER\">665564</param><param name=\"CD_ACRONYM\">CIRCLE</param><param name=\"CD_FRAMEWORK\">H2020</param></concept><concept id=\"fet-h2020::open::4::665134\" label=\"Ensuring the success of the next FET Conference and exhibition at a key period for FET\" claim=\"true\"><param name=\"CD_PROJ_ID\">665134</param><param name=\"CD_CALL_ID\">FETOPEN-2-2014</param><param name=\"CD_PROJECT_NUMBER\">665134</param><param name=\"CD_ACRONYM\">FET-Event</param><param name=\"CD_FRAMEWORK\">H2020</param></concept><concept id=\"fet-h2020::open::4::665083\" label=\"Tracing impacts of the FET programme\" claim=\"true\"><param name=\"CD_PROJ_ID\">665083</param><param name=\"CD_CALL_ID\">FETOPEN-2-2014</param><param name=\"CD_PROJECT_NUMBER\">665083</param><param name=\"CD_ACRONYM\">FET_TRACES</param><param name=\"CD_FRAMEWORK\">H2020</param></concept><concept id=\"fet-h2020::open::4::665136\" label=\"Observing Emergence\" claim=\"true\"><param name=\"CD_PROJ_ID\">665136</param><param name=\"CD_CALL_ID\">FETOPEN-2-2014</param><param name=\"CD_PROJECT_NUMBER\">665136</param><param name=\"CD_ACRONYM\">OBSERVE</param><param name=\"CD_FRAMEWORK\">H2020</param></concept></concept></category>"; |
|
24 |
|
|
25 |
@Before |
|
26 |
public void setup() throws Exception { |
|
27 |
final PathMatchingResourcePatternResolver resolver = new PathMatchingResourcePatternResolver(); |
|
28 |
iterator = Lists.transform(Arrays.asList(resolver.getResources(PATTERN)), new Function<Resource, String>() { |
|
29 |
@Override |
|
30 |
public String apply(final Resource resource) { |
|
31 |
try { |
|
32 |
return IOUtils.toString(resource.getInputStream()); |
|
33 |
} catch (IOException e) { |
|
34 |
return null; |
|
35 |
} |
|
36 |
} |
|
37 |
}).iterator(); |
|
38 |
fetBuilder = new BuildH2020FETTaxonomy(); |
|
39 |
} |
|
40 |
|
|
41 |
@Test |
|
42 |
public void parseFirstNFET() throws Exception { |
|
43 |
fetBuilder.setIterator(iterator); |
|
44 |
fetBuilder.parseFETProject(10); |
|
45 |
String fetContext = fetBuilder.getTaxonomy(); |
|
46 |
Assert.assertNotNull(fetContext); |
|
47 |
Assert.assertNotSame("", fetContext); |
|
48 |
System.out.println(fetContext); |
|
49 |
//Assert.assertTrue(fetContext.contains(outputCheck)); |
|
50 |
} |
|
51 |
|
|
52 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/java/eu/dnetlib/msro/openaireplus/workflows/nodes/claims/ApplyClaimRelsJobNodeTest.java | ||
---|---|---|
1 |
package eu.dnetlib.msro.openaireplus.workflows.nodes.claims; |
|
2 |
|
|
3 |
import com.google.protobuf.InvalidProtocolBufferException; |
|
4 |
import eu.dnetlib.data.proto.OafProtos.Oaf; |
|
5 |
import eu.dnetlib.msro.rmi.MSROException; |
|
6 |
import org.junit.Test; |
|
7 |
import org.postgresql.util.Base64; |
|
8 |
|
|
9 |
/** |
|
10 |
* Created by Alessia Bardi on 26/06/2017. |
|
11 |
* |
|
12 |
* @author Alessia Bardi |
|
13 |
*/ |
|
14 |
public class ApplyClaimRelsJobNodeTest { |
|
15 |
|
|
16 |
private ApplyClaimRelsJobNode applyClaims = new ApplyClaimRelsJobNode(); |
|
17 |
|
|
18 |
@Test |
|
19 |
public void testGetValue() throws MSROException, InvalidProtocolBufferException { |
|
20 |
|
|
21 |
String sourceId = "40|corda_______::9f752db0b5ec9ca23673ca7f4cb0808e"; |
|
22 |
String semantics = "resultProject_outcome_produces"; |
|
23 |
String targetId = "50|userclaim___::6a8f649d968e734a6733c23a351c1859"; |
|
24 |
System.out.println(getValue(sourceId, semantics, targetId)); |
|
25 |
} |
|
26 |
|
|
27 |
@Test(expected = MSROException.class) |
|
28 |
public void testGetValueErrSem() throws MSROException, InvalidProtocolBufferException { |
|
29 |
|
|
30 |
String sourceId = "40|corda_______::9f752db0b5ec9ca23673ca7f4cb0808e"; |
|
31 |
String semantics = "produces"; |
|
32 |
String targetId = "50|userclaim___::6a8f649d968e734a6733c23a351c1859"; |
|
33 |
getValue(sourceId, semantics, targetId); |
|
34 |
} |
|
35 |
|
|
36 |
private String getValue(final String rowKey, final String semantics, final String targetId) throws MSROException, InvalidProtocolBufferException { |
|
37 |
long time = System.currentTimeMillis(); |
|
38 |
//final String sourceId, final String semantics, final String targetId, final long timestamp |
|
39 |
String res = applyClaims.getValue(rowKey, semantics, targetId, time); |
|
40 |
Oaf.Builder builder = Oaf.newBuilder().mergeFrom(Base64.decode(res)); |
|
41 |
return builder.build().toString(); |
|
42 |
} |
|
43 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/java/eu/dnetlib/msro/openaireplus/workflows/nodes/claims/ApplyClaimUpdatesJobNodeTest.java | ||
---|---|---|
1 |
package eu.dnetlib.msro.openaireplus.workflows.nodes.claims; |
|
2 |
|
|
3 |
import com.google.protobuf.InvalidProtocolBufferException; |
|
4 |
import eu.dnetlib.data.proto.OafProtos.Oaf; |
|
5 |
import eu.dnetlib.msro.rmi.MSROException; |
|
6 |
import org.junit.Test; |
|
7 |
import org.postgresql.util.Base64; |
|
8 |
|
|
9 |
/** |
|
10 |
* Created by Alessia Bardi on 26/06/2017. |
|
11 |
* |
|
12 |
* @author Alessia Bardi |
|
13 |
*/ |
|
14 |
public class ApplyClaimUpdatesJobNodeTest { |
|
15 |
|
|
16 |
private ApplyClaimUpdatesJobNode applyClaims = new ApplyClaimUpdatesJobNode(); |
|
17 |
|
|
18 |
@Test |
|
19 |
public void testGetValueEGI() throws MSROException, InvalidProtocolBufferException { |
|
20 |
String context = "egi"; |
|
21 |
String rowkey = "50|userclaim___::6a8f649d968e734a6733c23a351c1859"; |
|
22 |
System.out.println(getValue(context, rowkey)); |
|
23 |
} |
|
24 |
|
|
25 |
@Test |
|
26 |
public void testGetValueEGILongId() throws MSROException, InvalidProtocolBufferException { |
|
27 |
String context = "egi::classification::natsc::earths::other"; |
|
28 |
String rowkey = "50|userclaim___::6a8f649d968e734a6733c23a351c1859"; |
|
29 |
System.out.println(getValue(context, rowkey)); |
|
30 |
} |
|
31 |
|
|
32 |
private String getValue(final String context, final String rowkey) throws MSROException, InvalidProtocolBufferException { |
|
33 |
long time = System.currentTimeMillis(); |
|
34 |
//final String sourceId, final String semantics, final String targetId, final long timestamp |
|
35 |
String res = applyClaims.getValue(rowkey, context, time); |
|
36 |
Oaf.Builder builder = Oaf.newBuilder().mergeFrom(Base64.decode(res)); |
|
37 |
return builder.build().toString(); |
|
38 |
} |
|
39 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/resources/eu/dnetlib/msro/openaireplus/api/objects/test_record_wrong_openaireId.json | ||
---|---|---|
1 |
{ |
|
2 |
"openaireId":"dedup_wf_001::ab42e811", |
|
3 |
"originalId": "ORIG_ID_TEST", |
|
4 |
"type": "publication", |
|
5 |
"title": "TEST TITLE", |
|
6 |
"authors": [ |
|
7 |
"Michele Artini", |
|
8 |
"Claudio Atzori", |
|
9 |
"Alessia Bardi" |
|
10 |
], |
|
11 |
"publisher": "Test publisher", |
|
12 |
"description": "DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION", |
|
13 |
"language": "ita", |
|
14 |
"pids": [ |
|
15 |
{ |
|
16 |
"type": "doi", |
|
17 |
"value": "10.000/xyz-123" |
|
18 |
}, |
|
19 |
{ |
|
20 |
"type": "oai", |
|
21 |
"value": "oai:1234" |
|
22 |
} |
|
23 |
], |
|
24 |
"licenseCode": "EMBARGO", |
|
25 |
"embargoEndDate": "2018-02-02", |
|
26 |
"resourceType": "0001", |
|
27 |
"url": "http://test.it/xyz", |
|
28 |
"collectedFromId": "opendoar____::2659", |
|
29 |
"hostedById": "opendoar____::2659", |
|
30 |
"linksToProjects": [ |
|
31 |
"info:eu-repo/grantAgreement/EC/FP7/283595/EU//OpenAIREplus", |
|
32 |
"info:eu-repo/grantAgreement/EC/FP7/244909/EU/Making Capabilities Work/WorkAble" |
|
33 |
], |
|
34 |
"contexts": [ |
|
35 |
"egi::classification::natsc::math::pure", |
|
36 |
"egi::classification::natsc::math::stats" |
|
37 |
] |
|
38 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/resources/eu/dnetlib/msro/openaireplus/api/objects/test_record_openaireId.json | ||
---|---|---|
1 |
{ |
|
2 |
"openaireId":"dedup_wf_001::ab42e8116f4ae3c4021fb7c643a8167a", |
|
3 |
"originalId": "ORIG_ID_TEST", |
|
4 |
"type": "publication", |
|
5 |
"title": "TEST TITLE", |
|
6 |
"authors": [ |
|
7 |
"Michele Artini", |
|
8 |
"Claudio Atzori", |
|
9 |
"Alessia Bardi" |
|
10 |
], |
|
11 |
"publisher": "Test publisher", |
|
12 |
"description": "DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION", |
|
13 |
"language": "ita", |
|
14 |
"pids": [ |
|
15 |
{ |
|
16 |
"type": "doi", |
|
17 |
"value": "10.000/xyz-123" |
|
18 |
}, |
|
19 |
{ |
|
20 |
"type": "oai", |
|
21 |
"value": "oai:1234" |
|
22 |
} |
|
23 |
], |
|
24 |
"licenseCode": "EMBARGO", |
|
25 |
"embargoEndDate": "2018-02-02", |
|
26 |
"resourceType": "0001", |
|
27 |
"url": "http://test.it/xyz", |
|
28 |
"collectedFromId": "opendoar____::2659", |
|
29 |
"hostedById": "opendoar____::2659", |
|
30 |
"linksToProjects": [ |
|
31 |
"info:eu-repo/grantAgreement/EC/FP7/283595/EU//OpenAIREplus", |
|
32 |
"info:eu-repo/grantAgreement/EC/FP7/244909/EU/Making Capabilities Work/WorkAble" |
|
33 |
], |
|
34 |
"contexts": [ |
|
35 |
"egi::classification::natsc::math::pure", |
|
36 |
"egi::classification::natsc::math::stats" |
|
37 |
] |
|
38 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/resources/eu/dnetlib/msro/openaireplus/api/objects/test_record.json | ||
---|---|---|
1 |
{ |
|
2 |
"originalId": "ORIG_ID_12345", |
|
3 |
"title": "TEST TITLE", |
|
4 |
"authors": [ |
|
5 |
"Michele Artini", |
|
6 |
"Claudio Atzori", |
|
7 |
"Alessia Bardi" |
|
8 |
], |
|
9 |
"publisher": "Test publisher", |
|
10 |
"description": "DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION", |
|
11 |
"language": "ita", |
|
12 |
"pids": [ |
|
13 |
{ |
|
14 |
"type": "doi", |
|
15 |
"value": "10.000/xyz-123" |
|
16 |
}, |
|
17 |
{ |
|
18 |
"type": "oai", |
|
19 |
"value": "oai:1234" |
|
20 |
} |
|
21 |
], |
|
22 |
"licenseCode": "OPEN", |
|
23 |
"resourceType": "0001", |
|
24 |
"url": "http://test.it/xyz", |
|
25 |
"collectedFromId": "opendoar____::2659", |
|
26 |
"hostedById": "opendoar____::2367", |
|
27 |
"linksToProjects": [ |
|
28 |
"info:eu-repo/grantAgreement/EC/FP7/283595/EU//OpenAIREplus", |
|
29 |
"info:eu-repo/grantAgreement/EC/FP7/244909/EU/Making Capabilities Work/WorkAble" |
|
30 |
], |
|
31 |
"contexts": [ |
|
32 |
"egi::classification::natsc::math::pure", |
|
33 |
"egi::classification::natsc::math::stats" |
|
34 |
] |
|
35 |
} |
|
36 |
|
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/resources/eu/dnetlib/msro/openaireplus/api/objects/test_zenodo.json | ||
---|---|---|
1 |
{ |
|
2 |
"authors":[ |
|
3 |
"Alouges, Fran\u00e7ois", |
|
4 |
"Di Fratta, Giovanni" |
|
5 |
], |
|
6 |
"collectedFromId":"opendoar____::2659", |
|
7 |
"description":"The paper is about the parking 3-sphere swimmer ($\\text{sPr}_3$). This is a low-Reynolds number model swimmer composed of three balls of equal radii. The three balls can move along three horizontal axes (supported in the same plane) that mutually meet at the center of $\\text{sPr}_3$ with angles of $120^{\u2218}$ . The governing dynamical system is introduced and the implications of its geometric symmetries revealed. It is then shown that, in the first order range of small strokes, optimal periodic strokes are ellipses embedded in 3d space, i.e. closed curves of the form $t\ud835\udfc4 [0,2\u03c0] \u21a6 (\\cos t)u + (\\sin t)v$ for suitable orthogonal vectors $u$ and $v$ of $\u211d^3$. A simple analytic expression for the vectors $u$ and $v$ is derived. The results of the paper are used in a second article where the real physical dynamics of $\\text{sPr}_3$ is analyzed in the asymptotic range of very long arms. ; Comment: 17 pages, 4 figures", |
|
8 |
"hostedById":"opendoar____::2659", |
|
9 |
"licenseCode":"OPEN", |
|
10 |
"originalId":"oai:zenodo.org:996201", |
|
11 |
"pids":[ |
|
12 |
{ |
|
13 |
"type":"oai", |
|
14 |
"value":"oai:zenodo.org:996201" |
|
15 |
}, |
|
16 |
{ |
|
17 |
"type":"doi", |
|
18 |
"value":"10.5281/zenodo.996201" |
|
19 |
} |
|
20 |
], |
|
21 |
"publisher":"Zenodo", |
|
22 |
"resourceType":"0020", |
|
23 |
"title":"Parking 3-sphere swimmer. I. Energy minimizing strokes", |
|
24 |
"type":"publication", |
|
25 |
"url":"https://zenodo.org/record/996201" |
|
26 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/resources/eu/dnetlib/msro/openaireplus/api/objects/test_record_ariadne.json | ||
---|---|---|
1 |
{ |
|
2 |
"openaireId":"od_______278::d5b39693ac6c2197e8cf48008a982950", |
|
3 |
"originalId": "oai:rudar.ruc.dk:1800/24690", |
|
4 |
"type": "publication", |
|
5 |
"title": "Autofiktion", |
|
6 |
"authors": [ |
|
7 |
"Sloan, Patrick Alexander Raaby", |
|
8 |
"Strange, Gustav Valdemar", |
|
9 |
"Freund-Jensen, Sofie", |
|
10 |
"Canvin, Emilie Meistrup", |
|
11 |
"Faaborg, Ida Selvejer", |
|
12 |
"Kruse, Mikkel" |
|
13 |
], |
|
14 |
"publisher": "", |
|
15 |
"description": "The following paper is a project on the autofictional book Færdig med Eddy Bellegueule by Édouard Louis (2015). The main focus is to ascertain how the novel is an expression of the author’s effort to connect social life and literature, and what part autofiction as a genre plays in this process. A textual analysis will describe the narrator’s position, and the aesthetic grip of the novel. Furthermore, we will analyze the central themes in Louis’ novel with theories by sociologist Pierre Bourdieu, gender theorist Judith Butler and postcolonial theorist Gayatri Spivak. This includes symbolic violence, gender roles, language and suppression. With use of classic literary theory and the more recent and specific theory on autofiction, the paper concludes, that Færdig med Eddy Bellegueule is based on non-fictional events, but presents these events through a fictionalization that raise the story into a literary work of art. The genre autofiction encircles a current tendency to blend non-fictional events and characters into literature, and Færdig med Eddy Bellegueule writes itself perfectly into this twilight zone between fact and fiction.", |
|
16 |
"language": "eng", |
|
17 |
"pids": [], |
|
18 |
"licenseCode": "OPEN", |
|
19 |
"resourceType": "0006", |
|
20 |
"url": "http://rudar.ruc.dk/handle/1800/24690", |
|
21 |
"collectedFromId": "opendoar____::278", |
|
22 |
"hostedById": "opendoar____::278", |
|
23 |
"linksToProjects": [], |
|
24 |
"contexts": [] |
|
25 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/resources/eu/dnetlib/msro/openaireplus/api/objects/submit_test_record.sh | ||
---|---|---|
1 |
#!/bin/bash |
|
2 |
|
|
3 |
curl -H "Content-Type: application/json" --data @test_record.json "http://localhost:8280/app/mvc/api/publications/feedObject" |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/resources/eu/dnetlib/msro/openaireplus/api/objects/test_record_complete.json | ||
---|---|---|
1 |
{ |
|
2 |
"originalId": "ORIG_ID_TEST", |
|
3 |
"type": "publication", |
|
4 |
"title": "TEST TITLE", |
|
5 |
"authors": [ |
|
6 |
"Michele Artini", |
|
7 |
"Claudio Atzori", |
|
8 |
"Alessia Bardi" |
|
9 |
], |
|
10 |
"publisher": "Test publisher", |
|
11 |
"description": "DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION", |
|
12 |
"language": "ita", |
|
13 |
"pids": [ |
|
14 |
{ |
|
15 |
"type": "doi", |
|
16 |
"value": "10.000/xyz-123" |
|
17 |
}, |
|
18 |
{ |
|
19 |
"type": "oai", |
|
20 |
"value": "oai:1234" |
|
21 |
} |
|
22 |
], |
|
23 |
"licenseCode": "EMBARGO", |
|
24 |
"embargoEndDate": "2018-02-02", |
|
25 |
"resourceType": "0001", |
|
26 |
"url": "http://test.it/xyz", |
|
27 |
"collectedFromId": "opendoar____::2659", |
|
28 |
"hostedById": "opendoar____::2659", |
|
29 |
"linksToProjects": [ |
|
30 |
"info:eu-repo/grantAgreement/EC/FP7/283595/EU//OpenAIREplus", |
|
31 |
"info:eu-repo/grantAgreement/EC/FP7/244909/EU/Making Capabilities Work/WorkAble" |
|
32 |
], |
|
33 |
"contexts": [ |
|
34 |
"egi::classification::natsc::math::pure", |
|
35 |
"egi::classification::natsc::math::stats" |
|
36 |
] |
|
37 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/resources/eu/dnetlib/msro/openaireplus/api/objects/test_record_with_greek_chars.json | ||
---|---|---|
1 |
{ |
|
2 |
"originalId": "ORIG_ID_12345", |
|
3 |
"title": "TEST TITLE WITH Greek Characters", |
|
4 |
"authors": [ |
|
5 |
"αβγδεζηθικλμ νξοπρσςτυφχψω", |
|
6 |
"ΑΒΓΔΕΖΗΘΙΚΛ ΜΝΞΟΠΡΣΤΥΦΧΨΩ" |
|
7 |
], |
|
8 |
"publisher": "âââââââ", |
|
9 |
"description": "Αν περιμένατε να βρίσκεται εδώ μια σελίδα και δεν υπάρχει, η σελίδα μπορεί να μην εμφανίζεται λόγω καθυστέρησης στην ανανέωση της βάσης δεδομένων, ή μπορεί να έχει διαγραφεί. (Δείτε την γρήγορη διαγραφή σελίδων για πιθανούς λόγους). Μπορείτε να δοκιμάστε την λειτουργία εκκαθάρισης, και να ελέγξετε το αρχείο διαγραφών.", |
|
10 |
"language": "ell", |
|
11 |
"pids": [ |
|
12 |
{ |
|
13 |
"type": "doi", |
|
14 |
"value": "10.000/xyz-123-gr" |
|
15 |
} |
|
16 |
], |
|
17 |
"licenseCode": "EMBARGO", |
|
18 |
"embargoEndDate": "2018-02-02", |
|
19 |
"resourceType": "0001", |
|
20 |
"url": "http://test.it/xyz", |
|
21 |
"collectedFromId": "opendoar____::2659", |
|
22 |
"hostedById": "opendoar____::2367", |
|
23 |
"linksToProjects": [ |
|
24 |
"info:eu-repo/grantAgreement/EC/FP7/123456/EU//Test" |
|
25 |
], |
|
26 |
"contexts": [ |
|
27 |
"egi::classification::natsc::math::stats" |
|
28 |
] |
|
29 |
} |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/resources/eu/dnetlib/msro/openaireplus/workflows/repo-hi/xslt/test-record.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<oai:record xmlns:dri="http://www.driver-repository.eu/namespace/dri" |
|
3 |
xmlns:oai="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
4 |
<oai:header> |
|
5 |
<dri:objIdentifier>fwf_________::0003fcf5ff6d086a6e3b34a5ed4c523b</dri:objIdentifier> |
|
6 |
<dri:recordIdentifier>P – 11738</dri:recordIdentifier> |
|
7 |
<dri:dateOfCollection>2017-05-05T11:54:31.498+02:00</dri:dateOfCollection> |
|
8 |
<dri:repositoryId>eb4d7f77-9f19-4116-98a6-5432a800a0e4_UmVwb3NpdG9yeVNlcnZpY2VSZXNvdXJjZXMvUmVwb3NpdG9yeVNlcnZpY2VSZXNvdXJjZVR5cGU=</dri:repositoryId> |
|
9 |
<dri:datasourceprefix>fwf_________</dri:datasourceprefix> |
|
10 |
</oai:header> |
|
11 |
<oai:metadata> |
|
12 |
<csvRecord> |
|
13 |
<column name="project title">Typologie der Volksmusik in Österreich. Auswertung der gestaltanalytischen Arbeiten Franz Eibners</column> |
|
14 |
<column isID="true" name="project number">P – 11738</column> |
|
15 |
<column name="promotion category">Einzelprojekte</column> |
|
16 |
<column name="decision board">1996-05-06</column> |
|
17 |
<column name="research place and institute">Universität für Musik und darstellende Kunst Wien - Institut für Volksmusikforschung</column> |
|
18 |
<column name="website project"/> |
|
19 |
<column name="project lead">Gerlinde HAID</column> |
|
20 |
<column name="web project lead">http://www.mdw.ac.at/ivf/</column> |
|
21 |
<column name="from">1997-07-15</column> |
|
22 |
<column name="till">2001-04-30</column> |
|
23 |
<column name="grants awarded">€0</column> |
|
24 |
<column name="status">finished</column> |
|
25 |
<column name="science discipline">70.0% Arts, 30.0% Sociology</column> |
|
26 |
<column name="keywords">Heinrich Schenker Franz Eibner Volksmusikforschung Gestaltanalyse Typologiekartei, Franz Eibner, Gestaltanalyse, Heinrich Schenker, Typologiekartei, Volksmusikforschung</column> |
|
27 |
</csvRecord> |
|
28 |
</oai:metadata> |
|
29 |
<oai:about> |
|
30 |
<provenance xmlns="http://www.openarchives.org/OAI/2.0/provenance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/provenance http://www.openarchives.org/OAI/2.0/provenance.xsd"> |
|
31 |
<originDescription altered="true" harvestDate="2017-05-05T11:54:31.498+02:00"> |
|
32 |
<baseURL>file%3A%2F%2F%2Fvar%2Flib%2Fdnet%2Fdata%2FFWF%2FfwfProjects.2017.05.05.csv</baseURL> |
|
33 |
<identifier/> |
|
34 |
<datestamp/> |
|
35 |
<metadataNamespace/> |
|
36 |
</originDescription> |
|
37 |
</provenance> |
|
38 |
</oai:about> |
|
39 |
</oai:record> |
modules/dnet-openaireplus-workflows/tags/dnet-openaireplus-workflows-6.2.3/src/test/resources/eu/dnetlib/msro/openaireplus/workflows/index/oafRecord.xml | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
<record> |
|
3 |
<result xmlns:dri="http://www.driver-repository.eu/namespace/dri" |
|
4 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
5 |
<header> |
|
6 |
<dri:objIdentifier>dedup_wf_001::02eff513496d8174f7526c62ac0a3967</dri:objIdentifier> |
|
7 |
<dri:dateOfCollection>2014-04-09T08:42:32Z</dri:dateOfCollection> |
|
8 |
<counters> |
|
9 |
<counter_authorship value="4"/> |
|
10 |
<counter_similarity value="20"/> |
|
11 |
<counter_dedup value="2"/> |
|
12 |
</counters> |
|
13 |
</header> |
|
14 |
<metadata> |
|
15 |
<oaf:entity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
16 |
xmlns:oaf="http://namespace.openaire.eu/oaf" |
|
17 |
xsi:schemaLocation="http://namespace.openaire.eu/oaf http://www.openaire.eu/schema/0.2/oaf-0.2.xsd"> |
|
18 |
<oaf:result> |
|
19 |
<subject classid="mesheuropmc" classname="mesheuropmc" |
|
20 |
schemeid="dnet:subject_classification_typologies" |
|
21 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
22 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0099" |
|
23 |
>macromolecular substances |
|
24 |
</subject> |
|
25 |
<subject classid="keyword" classname="keyword" schemeid="dnet:result_subject" |
|
26 |
schemename="dnet:result_subject">[INFO:INFO_NI] Informatique/Réseaux et |
|
27 |
télécommunications |
|
28 |
</subject> |
|
29 |
<subject classid="arxiv" classname="arxiv" schemeid="dnet:subject_classification_typologies" |
|
30 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
31 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0648">Computer |
|
32 |
Science::Information Theory |
|
33 |
</subject> |
|
34 |
<subject classid="mesheuropmc" classname="mesheuropmc" |
|
35 |
schemeid="dnet:subject_classification_typologies" |
|
36 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
37 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0072">food and |
|
38 |
beverages |
|
39 |
</subject> |
|
40 |
<subject classid="ddc" classname="ddc" schemeid="dnet:subject_classification_typologies" |
|
41 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
42 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0144" |
|
43 |
>Science::Mathematics |
|
44 |
</subject> |
|
45 |
<subject classid="arxiv" classname="arxiv" schemeid="dnet:subject_classification_typologies" |
|
46 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
47 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0099">Computer |
|
48 |
Science::Performance |
|
49 |
</subject> |
|
50 |
<subject classid="arxiv" classname="arxiv" schemeid="dnet:subject_classification_typologies" |
|
51 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
52 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0108">Computer |
|
53 |
Science::Networking and Internet Architecture |
|
54 |
</subject> |
|
55 |
<subject classid="wos" classname="wos" schemeid="dnet:subject_classification_typologies" |
|
56 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
57 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0189" |
|
58 |
>PARASITOLOGY |
|
59 |
</subject> |
|
60 |
<subject classid="wos" classname="wos" schemeid="dnet:subject_classification_typologies" |
|
61 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
62 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0162">AUTOMATION |
|
63 |
& CONTROL SYSTEMS |
|
64 |
</subject> |
|
65 |
<subject classid="arxiv" classname="arxiv" schemeid="dnet:subject_classification_typologies" |
|
66 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
67 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.009" |
|
68 |
>Astrophysics::Cosmology and Extragalactic Astrophysics |
|
69 |
</subject> |
|
70 |
<subject classid="keyword" classname="keyword" schemeid="dnet:result_subject" |
|
71 |
schemename="dnet:result_subject">Computer Science - Information Theory |
|
72 |
</subject> |
|
73 |
<subject classid="ddc" classname="ddc" schemeid="dnet:subject_classification_typologies" |
|
74 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
75 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0207" |
|
76 |
>Science::Astronomy |
|
77 |
</subject> |
|
78 |
<subject classid="mesheuropmc" classname="mesheuropmc" |
|
79 |
schemeid="dnet:subject_classification_typologies" |
|
80 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
81 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0081" |
|
82 |
>education |
|
83 |
</subject> |
|
84 |
<subject classid="wos" classname="wos" schemeid="dnet:subject_classification_typologies" |
|
85 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
86 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0225">ENGINEERING, |
|
87 |
ELECTRICAL & ELECTRONIC |
|
88 |
</subject> |
|
89 |
<subject classid="wos" classname="wos" schemeid="dnet:subject_classification_typologies" |
|
90 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
91 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0423" |
|
92 |
>VIROLOGY |
|
93 |
</subject> |
|
94 |
<subject classid="ddc" classname="ddc" schemeid="dnet:subject_classification_typologies" |
|
95 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
96 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0153" |
|
97 |
>Technology::Engineering |
|
98 |
</subject> |
|
99 |
<subject classid="keyword" classname="keyword" schemeid="dnet:result_subject" |
|
100 |
schemename="dnet:result_subject">[INFO:INFO_NI] Computer Science/Networking and Internet |
|
101 |
Architecture |
|
102 |
</subject> |
|
103 |
<subject classid="arxiv" classname="arxiv" schemeid="dnet:subject_classification_typologies" |
|
104 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
105 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0108" |
|
106 |
>Astrophysics::High Energy Astrophysical Phenomena |
|
107 |
</subject> |
|
108 |
<subject classid="wos" classname="wos" schemeid="dnet:subject_classification_typologies" |
|
109 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
110 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0738" |
|
111 |
>TELECOMMUNICATIONS |
|
112 |
</subject> |
|
113 |
<subject classid="mesheuropmc" classname="mesheuropmc" |
|
114 |
schemeid="dnet:subject_classification_typologies" |
|
115 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
116 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0063" |
|
117 |
>fungi |
|
118 |
</subject> |
|
119 |
<subject classid="mesheuropmc" classname="mesheuropmc" |
|
120 |
schemeid="dnet:subject_classification_typologies" |
|
121 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
122 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0081" |
|
123 |
>humanities |
|
124 |
</subject> |
|
125 |
<subject classid="ddc" classname="ddc" schemeid="dnet:subject_classification_typologies" |
|
126 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
127 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0171">History |
|
128 |
& geography::History of Europe |
|
129 |
</subject> |
|
130 |
<subject classid="keyword" classname="keyword" schemeid="dnet:result_subject" |
|
131 |
schemename="dnet:result_subject">Computer Science - Computer Science and Game Theory |
|
132 |
</subject> |
|
133 |
<subject classid="ddc" classname="ddc" schemeid="dnet:subject_classification_typologies" |
|
134 |
schemename="dnet:subject_classification_typologies" inferred="true" |
|
135 |
inferenceprovenance="iis::document_classes" provenanceaction="iis" trust="0.0252" |
|
136 |
>Technology::Technology |
|
137 |
</subject> |
|
138 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
139 |
schemename="dnet:dataCite_title">Opportunistic Interference Alignment in MIMO Interference |
|
140 |
Channels |
|
141 |
</title> |
|
142 |
<dateofacceptance>2008-06-23</dateofacceptance> |
|
143 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
144 |
schemename="dnet:result_typologies"/> |
|
145 |
<language classid="eng" classname="English" schemeid="dnet:languages" |
|
146 |
schemename="dnet:languages"/> |
|
147 |
<description>We present two interference alignment techniques such that an opportunistic |
|
148 |
point-to-point multiple input multiple output (MIMO) link can reuse, without generating any |
|
149 |
additional interference, the same frequency band of a similar pre-existing primary link. In |
|
150 |
this scenario, we exploit the fact that under power constraints, although each radio maximizes |
|
151 |
independently its rate by water-filling on their channel transfer matrix singular values, |
|
152 |
frequently, not all of them are used. Therefore, by aligning the interference of the |
|
153 |
opportunistic radio it is possible to transmit at a significant rate while insuring |
|
154 |
zero-interference on the pre-existing link. We propose a linear pre-coder for a perfect |
|
155 |
interference alignment and a power allocation scheme which maximizes the individual data rate |
|
156 |
of the secondary link. Our numerical results show that significant data rates are achieved |
|
157 |
even for a reduced number of antennas. |
|
158 |
</description> |
|
159 |
<source>PIRMC 2008</source> |
|
160 |
<source>Proceedings of the IEEE 19th International Symposium on Personal, Indoor and Mobile |
|
161 |
Radio Communications |
|
162 |
</source> |
|
163 |
<relevantdate classid="" classname="" schemeid="" schemename=""/> |
|
164 |
<publisher/> |
|
165 |
<embargoenddate/> |
|
166 |
<storagedate/> |
|
167 |
<fulltext/> |
|
168 |
<resourcetype classid="" classname="" schemeid="" schemename=""/> |
|
169 |
<device/> |
|
170 |
<size/> |
|
171 |
<format/> |
|
172 |
<version/> |
|
173 |
<lastmetadataupdate/> |
|
174 |
<metadataversionnumber/> |
|
175 |
<originalId>oai:hal-supelec.archives-ouvertes.fr:hal-00335246</originalId> |
|
176 |
<originalId>oai:arXiv.org:0806.3653</originalId> |
|
177 |
<collectedfrom name="INRIA a CCSD electronic archive server" |
|
178 |
id="opendoar____::9766527f2b5d3e95d4a733fcfb77bd7e"/> |
|
179 |
<collectedfrom name="arXiv.org e-Print Archive" |
|
180 |
id="opendoar____::6f4922f45568161a8cdf4ad2299f6d23"/> |
|
181 |
<pid classid="doi" classname="doi" schemeid="dnet:pid_types" schemename="dnet:pid_types" |
|
182 |
>10.1109/PIMRC.2008.4699872 |
|
183 |
</pid> |
|
184 |
<pid classid="oai" classname="oai" schemeid="dnet:pid_types" schemename="dnet:pid_types" |
|
185 |
>oai:hal-supelec.archives-ouvertes.fr:hal-00335246 |
|
186 |
</pid> |
|
187 |
<pid classid="oai" classname="oai" schemeid="dnet:pid_types" schemename="dnet:pid_types" |
|
188 |
>oai:arXiv.org:0806.3653 |
|
189 |
</pid> |
|
190 |
<bestlicense classid="OPEN" classname="Open Access" schemeid="dnet:access_modes" |
|
191 |
schemename="dnet:access_modes"/> |
|
192 |
<datainfo> |
|
193 |
<inferred>true</inferred> |
|
194 |
<deletedbyinference>false</deletedbyinference> |
|
195 |
<trust>0.9</trust> |
|
196 |
<inferenceprovenance>dedup</inferenceprovenance> |
|
197 |
<provenanceaction classid="sysimport:crosswalk:repository" |
|
198 |
classname="sysimport:crosswalk:repository" schemeid="dnet:provenanceActions" |
|
199 |
schemename="dnet:provenanceActions"/> |
|
200 |
</datainfo> |
|
201 |
<rels> |
|
202 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
203 |
provenanceaction="iis"> |
|
204 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
205 |
>dedup_wf_001::7855a07e1dcf3d1655b9f1bc2e5ef02f |
|
206 |
</to> |
|
207 |
<similarity>0.38579053</similarity> |
|
208 |
<type>STANDARD</type> |
|
209 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
210 |
schemename="dnet:dataCite_title">Subsequent reproductive outcome in women who have |
|
211 |
experienced a potentially life-threatening condition or a maternal near-miss during |
|
212 |
pregnancy |
|
213 |
</title> |
|
214 |
<dateofacceptance>2011-01-01</dateofacceptance> |
|
215 |
<publisher>Hospital das Clínicas da Faculdade de Medicina da Universidade de São |
|
216 |
Paulo |
|
217 |
</publisher> |
|
218 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
219 |
schemename="dnet:result_typologies"/> |
|
220 |
</rel> |
|
221 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
222 |
provenanceaction="iis"> |
|
223 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
224 |
>od_______908::480ece695f9ef2af80ffd2fda917fb00 |
|
225 |
</to> |
|
226 |
<similarity>0.6165079</similarity> |
|
227 |
<type>STANDARD</type> |
|
228 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
229 |
schemename="dnet:dataCite_title">The psychiatric discharge summary: a tool for management |
|
230 |
and audit. |
|
231 |
</title> |
|
232 |
<dateofacceptance>1991-01-01</dateofacceptance> |
|
233 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
234 |
schemename="dnet:result_typologies"/> |
|
235 |
</rel> |
|
236 |
<rel inferred="true" trust="0.9" inferenceprovenance="dedup (BuildRoots p:entityToRoot)" |
|
237 |
provenanceaction="sysimport:crosswalk:repository"> |
|
238 |
<to class="hasAuthor" scheme="dnet:personroles" type="person" |
|
239 |
>dedup_wf_001::10b97b2ab102b09177bc2bc6d46e756b |
|
240 |
</to> |
|
241 |
<ranking>1</ranking> |
|
242 |
<fullname>Perlaza, Samir M.</fullname> |
|
243 |
</rel> |
|
244 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
245 |
provenanceaction="iis"> |
|
246 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
247 |
>doajarticles::29b8dbbaef3873d36cf0f484685e7f5b |
|
248 |
</to> |
|
249 |
<similarity>0.31480196</similarity> |
|
250 |
<type>STANDARD</type> |
|
251 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
252 |
schemename="dnet:dataCite_title">Is intravenous paracetamol a useful adjunct for |
|
253 |
intraoperative pain? |
|
254 |
</title> |
|
255 |
<dateofacceptance>2012-01-01</dateofacceptance> |
|
256 |
<publisher>LIPhealth</publisher> |
|
257 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
258 |
schemename="dnet:result_typologies"/> |
|
259 |
</rel> |
|
260 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
261 |
provenanceaction="iis"> |
|
262 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
263 |
>od_______258::ba7a62facead7b7c31939d4af18828d2 |
|
264 |
</to> |
|
265 |
<similarity>0.4225903</similarity> |
|
266 |
<type>STANDARD</type> |
|
267 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
268 |
schemename="dnet:dataCite_title">FACTORS DETERMINING CUSTOMERS’ ADOPTION OF INTERNET BANKING |
|
269 |
: A Quantitative Study of Swedish Customers |
|
270 |
</title> |
|
271 |
<dateofacceptance>2012-01-01</dateofacceptance> |
|
272 |
<publisher>Mälardalens högskola, Akademin för hållbar samhälls- och |
|
273 |
teknikutveckling |
|
274 |
</publisher> |
|
275 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
276 |
schemename="dnet:result_typologies"/> |
|
277 |
</rel> |
|
278 |
<rel inferred="true" trust="0.9" inferenceprovenance="dedup (BuildRoots p:entityToRoot)" |
|
279 |
provenanceaction="sysimport:crosswalk:repository"> |
|
280 |
<to class="hasAuthor" scheme="dnet:personroles" type="person" |
|
281 |
>od_______165::4ec9df82781e9d9acfffd564b4f1ab4f |
|
282 |
</to> |
|
283 |
<ranking>4</ranking> |
|
284 |
<fullname>Chauffray, Jean-marie</fullname> |
|
285 |
</rel> |
|
286 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
287 |
provenanceaction="iis"> |
|
288 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
289 |
>doajarticles::9172421e3e16e3a979fa266e53e112ec |
|
290 |
</to> |
|
291 |
<similarity>0.31450638</similarity> |
|
292 |
<type>STANDARD</type> |
|
293 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
294 |
schemename="dnet:dataCite_title">Music Preferences, Music Engagement and Healing |
|
295 |
</title> |
|
296 |
<dateofacceptance>2013-01-01</dateofacceptance> |
|
297 |
<publisher>IACSIT Press</publisher> |
|
298 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
299 |
schemename="dnet:result_typologies"/> |
|
300 |
</rel> |
|
301 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
302 |
provenanceaction="iis"> |
|
303 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
304 |
>od______1110::c540c949e01989add256eaea7caf0642 |
|
305 |
</to> |
|
306 |
<similarity>0.4920931</similarity> |
|
307 |
<type>STANDARD</type> |
|
308 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
309 |
schemename="dnet:dataCite_title">Linear pre-coding performance in measured very-large MIMO |
|
310 |
channels |
|
311 |
</title> |
|
312 |
<dateofacceptance>2011-01-01</dateofacceptance> |
|
313 |
<publisher>IEEE</publisher> |
|
314 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
315 |
schemename="dnet:result_typologies"/> |
|
316 |
</rel> |
|
317 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
318 |
provenanceaction="iis"> |
|
319 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
320 |
>doajarticles::3640465a6db0f1fcee4616835fb77c7c |
|
321 |
</to> |
|
322 |
<similarity>0.31721002</similarity> |
|
323 |
<type>STANDARD</type> |
|
324 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
325 |
schemename="dnet:dataCite_title">THE ROLE OF ADVERSE LIFESTYLE CHANGES IN THE CAUSATION OF |
|
326 |
CORONARY ARTERY DISEASE |
|
327 |
</title> |
|
328 |
<dateofacceptance>2008-01-01</dateofacceptance> |
|
329 |
<publisher>Tehran University of Medical Sciences</publisher> |
|
330 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
331 |
schemename="dnet:result_typologies"/> |
|
332 |
</rel> |
|
333 |
<rel inferred="true" trust="0.9" inferenceprovenance="dedup (BuildRoots p:entityToRoot)" |
|
334 |
provenanceaction="sysimport:crosswalk:repository"> |
|
335 |
<to class="hasAuthor" scheme="dnet:personroles" type="person" |
|
336 |
>dedup_wf_001::08264f61ba657f5f5ce3da9e71c1c338 |
|
337 |
</to> |
|
338 |
<ranking>3</ranking> |
|
339 |
<fullname>Lasaulce, Samson</fullname> |
|
340 |
</rel> |
|
341 |
<rel inferred="true" trust="0.9" inferenceprovenance="dedup (BuildRoots p:entityToRoot)" |
|
342 |
provenanceaction="sysimport:crosswalk:repository"> |
|
343 |
<to class="hasAuthor" scheme="dnet:personroles" type="person" |
|
344 |
>dedup_wf_001::917c855a763a8754bab500c747954ea4 |
|
345 |
</to> |
|
346 |
<ranking>2</ranking> |
|
347 |
<fullname>Debbah, Merouane</fullname> |
|
348 |
</rel> |
|
349 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
350 |
provenanceaction="iis"> |
|
351 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
352 |
>od________18::9834b5140a145d265e1096d3b92c020d |
|
353 |
</to> |
|
354 |
<similarity>0.42043006</similarity> |
|
355 |
<type>STANDARD</type> |
|
356 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
357 |
schemename="dnet:dataCite_title">Explicit MBR All-Symbol Locality Codes |
|
358 |
</title> |
|
359 |
<dateofacceptance>2013-02-04</dateofacceptance> |
|
360 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
361 |
schemename="dnet:result_typologies"/> |
|
362 |
</rel> |
|
363 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
364 |
provenanceaction="iis"> |
|
365 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
366 |
>research_asb::8638d892a913d01c623fd40e8240067b |
|
367 |
</to> |
|
368 |
<similarity>0.6165079</similarity> |
|
369 |
<type>STANDARD</type> |
|
370 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
371 |
schemename="dnet:dataCite_title">Relative validity of the pre-coded food diary used in the |
|
372 |
Danish National Survey of Diet and Physical Activity |
|
373 |
</title> |
|
374 |
<dateofacceptance>2011-11-18</dateofacceptance> |
|
375 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
376 |
schemename="dnet:result_typologies"/> |
|
377 |
</rel> |
|
378 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
379 |
provenanceaction="iis"> |
|
380 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
381 |
>od________18::d0bf9376e7ff6bbe5b24a13e5d3218dd |
|
382 |
</to> |
|
383 |
<similarity>0.34173214</similarity> |
|
384 |
<type>STANDARD</type> |
|
385 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
386 |
schemename="dnet:dataCite_title">Low Complexity Differentiating Adaptive Erasure Codes for |
|
387 |
Multimedia Wireless Broadcast |
|
388 |
</title> |
|
389 |
<dateofacceptance>2012-09-14</dateofacceptance> |
|
390 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
391 |
schemename="dnet:result_typologies"/> |
|
392 |
</rel> |
|
393 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
394 |
provenanceaction="iis"> |
|
395 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
396 |
>od_______260::342b2424e637f1ae3bd9c0888cbfd6ef |
|
397 |
</to> |
|
398 |
<similarity>0.37307</similarity> |
|
399 |
<type>STANDARD</type> |
|
400 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
401 |
schemename="dnet:dataCite_title">Discrete Cosine Transform for Pre-coded EGPRS |
|
402 |
</title> |
|
403 |
<dateofacceptance>2012-01-01</dateofacceptance> |
|
404 |
<publisher>KTH, Signalbehandling</publisher> |
|
405 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
406 |
schemename="dnet:result_typologies"/> |
|
407 |
</rel> |
|
408 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
409 |
provenanceaction="iis"> |
|
410 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
411 |
>od_______661::ee0d98250210171a5f4c85f4d9f93a63 |
|
412 |
</to> |
|
413 |
<similarity>0.31481624</similarity> |
|
414 |
<type>STANDARD</type> |
|
415 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
416 |
schemename="dnet:dataCite_title">Codebook Design for Limited Feedback Multiple Input |
|
417 |
Multiple Output Systems |
|
418 |
</title> |
|
419 |
<dateofacceptance>2012-01-01</dateofacceptance> |
|
420 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
421 |
schemename="dnet:result_typologies"/> |
|
422 |
</rel> |
|
423 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
424 |
provenanceaction="iis"> |
|
425 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
426 |
>od________18::56fd87366db5a2ea367595f030204de8 |
|
427 |
</to> |
|
428 |
<similarity>0.36812627</similarity> |
|
429 |
<type>STANDARD</type> |
|
430 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
431 |
schemename="dnet:dataCite_title">Joint power control and user scheduling in multicell |
|
432 |
wireless networks: Capacity scaling laws |
|
433 |
</title> |
|
434 |
<dateofacceptance>2007-09-18</dateofacceptance> |
|
435 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
436 |
schemename="dnet:result_typologies"/> |
|
437 |
</rel> |
|
438 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
439 |
provenanceaction="iis"> |
|
440 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
441 |
>webcrawl____::d748bc5659a3b03f7095b6db7e014568 |
|
442 |
</to> |
|
443 |
<similarity>0.45640922</similarity> |
|
444 |
<type>STANDARD</type> |
|
445 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
446 |
schemename="dnet:dataCite_title">Rate Scaling Laws in Multicell Networks Under Distributed |
|
447 |
Power Control and User Scheduling |
|
448 |
</title> |
|
449 |
<dateofacceptance>2011</dateofacceptance> |
|
450 |
<publisher>IEEE-INST ELECTRICAL ELECTRONICS ENGINEERS INC</publisher> |
|
451 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
452 |
schemename="dnet:result_typologies"/> |
|
453 |
</rel> |
|
454 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
455 |
provenanceaction="iis"> |
|
456 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
457 |
>od________18::0ac7557503cdffc323e17fc5acc931e0 |
|
458 |
</to> |
|
459 |
<similarity>0.57882494</similarity> |
|
460 |
<type>STANDARD</type> |
|
461 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
462 |
schemename="dnet:dataCite_title">New Results on the Capacity of the Gaussian Cognitive |
|
463 |
Interference Channel |
|
464 |
</title> |
|
465 |
<dateofacceptance>2010-07-07</dateofacceptance> |
|
466 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
467 |
schemename="dnet:result_typologies"/> |
|
468 |
</rel> |
|
469 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
470 |
provenanceaction="iis"> |
|
471 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
472 |
>od_______497::caad010052d64eec1900434ed9f31f27 |
|
473 |
</to> |
|
474 |
<similarity>0.40609425</similarity> |
|
475 |
<type>STANDARD</type> |
|
476 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
477 |
schemename="dnet:dataCite_title">JPEG2000 image transmission over frequency selective |
|
478 |
channels |
|
479 |
</title> |
|
480 |
<dateofacceptance>2012-08-27</dateofacceptance> |
|
481 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
|
482 |
schemename="dnet:result_typologies"/> |
|
483 |
</rel> |
|
484 |
<rel inferred="true" trust="0.9" inferenceprovenance="iis::document_similarities_standard" |
|
485 |
provenanceaction="iis"> |
|
486 |
<to class="hasAmongTopNSimilarDocuments" scheme="dnet:result_result_relations" type="result" |
|
487 |
>od______1248::e246aedcdf242231f4c54a2175f15db4 |
|
488 |
</to> |
|
489 |
<similarity>0.6165079</similarity> |
|
490 |
<type>STANDARD</type> |
|
491 |
<title classid="main title" classname="main title" schemeid="dnet:dataCite_title" |
|
492 |
schemename="dnet:dataCite_title">Requirements Gathering for Simulation |
|
493 |
</title> |
|
494 |
<dateofacceptance>2006-01-01</dateofacceptance> |
|
495 |
<publisher>Dublin Institute of Technology</publisher> |
|
496 |
<resulttype classid="publication" classname="publication" schemeid="dnet:result_typologies" |
Also available in: Unified diff
[maven-release-plugin] copy for tag dnet-openaireplus-workflows-6.2.3