serializer: updated subjects and affiliations links in dcat #5736
Annotations
4 errors and 2 warnings
Python / Tests (3.9, postgresql14, opensearch2):
tests/resources/serializers/test_dcat_serializer.py#L239
test_dcat_serializer
assert '<?xml versio...n</rdf:RDF>\n' == '<?xml versio...n</rdf:RDF>\n'
Skipping 2403 identical leading characters in diff, use -v to show
- ct:subject>
+ ct:subject rdf:about="http://id.nlm.nih.gov/mesh/A-D000007">
<skos:Concept>
<skos:prefLabel>Abdominal Injuries</skos:prefLabel>
<skos:inScheme>
<skos:ConceptScheme>
<dct:title>MeSH</dct:title>
</skos:ConceptScheme>
</skos:inScheme>
</skos:Concept>
</dct:subject>
<dcat:keyword>custom</dcat:keyword>
<citedcat:isFundedBy>
<foaf:Project>
<dct:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#string">111023</dct:identifier>
<dct:title>Launching of the research program on meaning processing</dct:title>
<citedcat:isAwardedBy>
<foaf:Organization>
<dct:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#string"/>
<foaf:name>European Commission</foaf:name>
</foaf:Organization>
</citedcat:isAwardedBy>
</foaf:Project>
</citedcat:isFundedBy>
<citedcat:funder>
<foaf:Organization>
<dct:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#string"/>
<foaf:name>European Commission</foaf:name>
</foaf:Organization>
</citedcat:funder>
<dct:contributor>
<rdf:Description rdf:about="https://orcid.org/0000-0001-8135-3489">
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
<foaf:name>Nielsen, Lars Holm</foaf:name>
<foaf:givenName>Lars Holm</foaf:givenName>
<foaf:familyName>Nielsen</foaf:familyName>
<org:memberOf>
<foaf:Organization>
<foaf:name>CERN</foaf:name>
</foaf:Organization>
</org:memberOf>
<org:memberOf>
<foaf:Organization>
<foaf:name>TU Wien</foaf:name>
</foaf:Organization>
</org:memberOf>
</rdf:Description>
</dct:contributor>
<dct:contributor>
<rdf:Description>
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
<foaf:name>Dirk, Dirkin</foaf:name>
<foaf:givenName>Dirkin</foaf:givenName>
<foaf:familyName>Dirk</foaf:familyName>
</rdf:Description>
</dct:contributor>
<dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2018/2020-09</dct:issued>
<dct:date rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1939/1945</dct:date>
<dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2023-11-14</dct:modified>
<dct:language rdf:resource="http://publications.europa.eu/resource/authority/language/DAN"/>
<owl:sameAs rdf:resource="https://self-link.com"/>
<adms:identifier>
<adms:Identifier>
<skos:notation rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">https://self-link.com</skos:notation>
<adms:schemeAgency>URL</adms:schemeAgency>
</adms:Identifier>
</adms:identifier>
<adms:identifier>
<adms:Identifier>
<skos:notation>oai:invenio-rdm.com:12345-abcde</skos:notation>
<adms:schemeAgency>oai</adms:schemeAgency>
</adms:Identifier>
</adms:identifier>
<owl:sameAs rdf:resource="http://adsabs.harvard.edu/abs/1924MNRAS..84..308E"/>
<adms:identifier>
<adms:Identifier>
<skos:notation rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://adsabs.harvard.edu/abs/1924MNRAS..84..308E</skos:notation>
<adms:schemeAgency>bibcode</adms:schemeAgency>
</adms:Identifier>
</adms:identifier>
<dct:isReferencedBy>
<rdf:Description rdf:about="https://doi.org/10.1234/foo.bar">
<dct:identifier>https://doi.org/10.1234/foo.bar</dct:identifier>
<r
|
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/resources/serializers/test_dcat_serializer.py#L239
test_dcat_serializer
assert '<?xml versio...n</rdf:RDF>\n' == '<?xml versio...n</rdf:RDF>\n'
Skipping 2403 identical leading characters in diff, use -v to show
- ct:subject>
+ ct:subject rdf:about="http://id.nlm.nih.gov/mesh/A-D000007">
<skos:Concept>
<skos:prefLabel>Abdominal Injuries</skos:prefLabel>
<skos:inScheme>
<skos:ConceptScheme>
<dct:title>MeSH</dct:title>
</skos:ConceptScheme>
</skos:inScheme>
</skos:Concept>
</dct:subject>
<dcat:keyword>custom</dcat:keyword>
<citedcat:isFundedBy>
<foaf:Project>
<dct:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#string">111023</dct:identifier>
<dct:title>Launching of the research program on meaning processing</dct:title>
<citedcat:isAwardedBy>
<foaf:Organization>
<dct:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#string"/>
<foaf:name>European Commission</foaf:name>
</foaf:Organization>
</citedcat:isAwardedBy>
</foaf:Project>
</citedcat:isFundedBy>
<citedcat:funder>
<foaf:Organization>
<dct:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#string"/>
<foaf:name>European Commission</foaf:name>
</foaf:Organization>
</citedcat:funder>
<dct:contributor>
<rdf:Description rdf:about="https://orcid.org/0000-0001-8135-3489">
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
<foaf:name>Nielsen, Lars Holm</foaf:name>
<foaf:givenName>Lars Holm</foaf:givenName>
<foaf:familyName>Nielsen</foaf:familyName>
<org:memberOf>
<foaf:Organization>
<foaf:name>CERN</foaf:name>
</foaf:Organization>
</org:memberOf>
<org:memberOf>
<foaf:Organization>
<foaf:name>TU Wien</foaf:name>
</foaf:Organization>
</org:memberOf>
</rdf:Description>
</dct:contributor>
<dct:contributor>
<rdf:Description>
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
<foaf:name>Dirk, Dirkin</foaf:name>
<foaf:givenName>Dirkin</foaf:givenName>
<foaf:familyName>Dirk</foaf:familyName>
</rdf:Description>
</dct:contributor>
<dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2018/2020-09</dct:issued>
<dct:date rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1939/1945</dct:date>
<dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2023-11-14</dct:modified>
<dct:language rdf:resource="http://publications.europa.eu/resource/authority/language/DAN"/>
<owl:sameAs rdf:resource="https://self-link.com"/>
<adms:identifier>
<adms:Identifier>
<skos:notation rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">https://self-link.com</skos:notation>
<adms:schemeAgency>URL</adms:schemeAgency>
</adms:Identifier>
</adms:identifier>
<adms:identifier>
<adms:Identifier>
<skos:notation>oai:invenio-rdm.com:12345-abcde</skos:notation>
<adms:schemeAgency>oai</adms:schemeAgency>
</adms:Identifier>
</adms:identifier>
<owl:sameAs rdf:resource="http://adsabs.harvard.edu/abs/1924MNRAS..84..308E"/>
<adms:identifier>
<adms:Identifier>
<skos:notation rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://adsabs.harvard.edu/abs/1924MNRAS..84..308E</skos:notation>
<adms:schemeAgency>bibcode</adms:schemeAgency>
</adms:Identifier>
</adms:identifier>
<dct:isReferencedBy>
<rdf:Description rdf:about="https://doi.org/10.1234/foo.bar">
<dct:identifier>https://doi.org/10.1234/foo.bar</dct:identifier>
<r
|
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
|
|
|