fixed typos and tables

This commit is contained in:
Claudio Atzori 2022-11-08 16:23:45 +01:00
parent b007a67a3c
commit e9296f1a40
2 changed files with 21 additions and 24 deletions

View File

@ -65,15 +65,13 @@ The table below describes the mapping from the XML baseline records to the OpenA
| `instance.license` | `\attributes\rightsList` | if the rights value starts with http and matches a particular regex | | `instance.license` | `\attributes\rightsList` | if the rights value starts with http and matches a particular regex |
| `instance.accessright` | `\attributes\rightsList` | <ul><li>if not present :`unknown`</li><li>if datasource is Figshare:`open`</li><li>If `embargo_date < today()`: OPEN</li></ul> | | `instance.accessright` | `\attributes\rightsList` | <ul><li>if not present :`unknown`</li><li>if datasource is Figshare:`open`</li><li>If `embargo_date < today()`: OPEN</li></ul> |
### Relation Mapping ### Relation Mapping
| OpenAIRE Relation Semantic and inverse | Datacite record JSON path | Source/Target type | #Notes |
| OpenAIRE Relation Semantic and inverse | Datacite record JSON path | Source/Tartget type | #Notes | |----------------------------------------|---------------------------------------|---------------------|------------------------------------------------------------------------------------------------------------|
|-------------------------------------------|-------------------------------|-------------------------------|---------| | `isProducedBy/produces` | `attributes\fundingReferences` | `result/project` | only when the fundingReferences matches the pattern `(info:eu-repo/grantagreement/ec/h2020/)(\d{6})(.*)` |
| `isProducedBy` |`attributes\fundingReferences` | `Result/Project`| we must identifi if match this pattern `(info:eu-repo/grantagreement/ec/h2020/)(\d{6})(.*)`| | `IsProvidedBy/provides` | | `result/datasource` | Datasource is always set to `Datacite` |
| `IsProvidedBy` | | `Result/DataSource` | Datasource is always Datacite| | `isHostedBy/host` | `\attributes\relationships\client\id` | `result/datasource` | we defined a curated map clientId/Datasource if we found a match we create an _hostedBy Relation_ |
| `IsHostedBy` | `\attributes\relationships\client\id` | `Result/DataSource` |we defined a curated map clientId/Datasource if we found a match we create an _hostedBy Relation_ | | `isRelatedTo` | `\attribute\relatedIdentifiers` | `result/result` | we create relationships whenever the pid of the target is resolved on the Research Graph |
| | `\attribute\relatedIdentifiers` | result/result | we create relationships whenever the pid of the target is resolved on the Research Graph |

View File

@ -406,22 +406,21 @@ We filter all the target links with pid type **ena**, **pdb** or **uniprot**
For each target we construct a Bioentity with the following mapping For each target we construct a Bioentity with the following mapping
| *OpenAIRE Result field path* | EBI record field xpath | Notes | | *OpenAIRE Result field path* | EBI record field xpath | Notes |
|--------------------------------|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------| |------------------------------|----------------------------------------------------------|---------------------------------------------------------------|
| `id` | `target/identifier/ID` and `target/identifier/IDScheme` | id in the form `SCHEMA_________::md5(pid)`| | `id` | `target/identifier/ID` and `target/identifier/IDScheme` | id in the form `SCHEMA_________::md5(pid)` |
| `pid` | `target/identifier/ID` and `target/identifier/IDScheme` | `classid = classname = schema`| | `pid` | `target/identifier/ID` and `target/identifier/IDScheme` | `classid = classname = schema` |
| `publicationdate` | `target/PublicationDate` | clean and normalize the format of the date to be `YYYY-mm-dd` | | `publicationdate` | `target/PublicationDate` | clean and normalize the format of the date to be `YYYY-mm-dd` |
| `maintitle` | `target/Title` | | | `maintitle` | `target/Title` | |
| **Instance Mapping** | | | | **Instance Mapping** | | |
| `instance.type` | | `Bioentity` | | `instance.type` | | `Bioentity` |
|`type` | | `Dataset` | | `type` | | `Dataset` |
| `instance.pid` |`target/identifier/ID` and `target/identifier/IDScheme` | `classid = classname = schema` | | `instance.pid` | `target/identifier/ID` and `target/identifier/IDScheme` | `classid = classname = schema` |
| `instance.url` | `target/identifier/IDURL` | Copy the value as it is | | `instance.url` | `target/identifier/IDURL` | Copy the value as it is |
| | `instance.publicationdate` | `//PubmedPubDate` | clean and normalize the format of the date to be YYYY-mm-dd |
| `instance.publicationdate` | `//PubmedPubDate` | clean and normalize the format of the date to be YYYY-mm-dd
### Relation Mapping ### Relation Mapping
| OpenAIRE Relation Semantic and inverse | Datacite record JSON path | Source/Tartget type | #Notes | | OpenAIRE Relation Semantic and inverse | Source/Target type | #Notes |
|-------------------------------------------|-------------------------------|-------------------------------|---------| |----------------------------------------|---------------------|--------------------------------------------------------------------------|
| `IsRelatedTo` | | result/result | we create relationships between the BioEntity and the pubmed publication | | `IsRelatedTo` | `result/result` | we create relationships between the BioEntity and the pubmed publication |