zotero / translators

Zotero Translators
http://www.zotero.org/support/dev/translators
1.3k stars 765 forks source link

Zotero RDF loses Extra field on roundtrip #1456

Closed adam3smith closed 7 years ago

zuphilip commented 7 years ago

Okay, here is an example

zotero-rdf-extra

exported to ZoteroRDF as

<rdf:RDF
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:z="http://www.zotero.org/namespaces/export#"
 xmlns:dcterms="http://purl.org/dc/terms/"
 xmlns:bib="http://purl.org/net/biblio#"
 xmlns:foaf="http://xmlns.com/foaf/0.1/"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/">
    <bib:Article rdf:about="http://doi.acm.org/10.1145/2629489">
        <z:itemType>journalArticle</z:itemType>
        <dcterms:isPartOf rdf:resource="urn:issn:0001-0782"/>
        <bib:authors>
            <rdf:Seq>
                <rdf:li>
                    <foaf:Person>
                        <foaf:surname>Vrandečić</foaf:surname>
                        <foaf:givenname>Denny</foaf:givenname>
                    </foaf:Person>
                </rdf:li>
                <rdf:li>
                    <foaf:Person>
                        <foaf:surname>Krötzsch</foaf:surname>
                        <foaf:givenname>Markus</foaf:givenname>
                    </foaf:Person>
                </rdf:li>
            </rdf:Seq>
        </bib:authors>
        <dc:identifier>
            <dcterms:URI>
               <rdf:value>http://doi.acm.org/10.1145/2629489</rdf:value>
            </dcterms:URI>
        </dc:identifier>
        <dc:rights>Open Access</dc:rights>
        <bib:pages>78–85</bib:pages>
        <dc:date>September 2014</dc:date>
        <dc:description>OpenCitations ID: 3529929</dc:description>
        <dcterms:dateSubmitted>2017-08-12 12:50:03</dcterms:dateSubmitted>
        <z:libraryCatalog>ACM Digital Library</z:libraryCatalog>
        <z:language>eng</z:language>
        <dcterms:abstract>This collaboratively edited knowledgebase provides a common source of data for Wikipedia, and everyone else.</dcterms:abstract>
        <dc:title>Wikidata: A Free Collaborative Knowledgebase</dc:title>
        <z:shortTitle>Wikidata</z:shortTitle>
    </bib:Article>
    <bib:Journal rdf:about="urn:issn:0001-0782">
        <prism:volume>57</prism:volume>
        <prism:number>10</prism:number>
        <dc:title>Communications of the ACM</dc:title>
        <dc:identifier>ISSN 0001-0782</dc:identifier>
        <dcterms:alternative>Commun. ACM</dcterms:alternative>
        <dc:identifier>DOI 10.1145/2629489</dc:identifier>
    </bib:Journal>
</rdf:RDF>

but the RDF import ignores currently the information form the dc:description coming from the item.extra, i.e. in this example the content OpenCitations ID: 3529929 will be missing.