{
"translatorID": "292d45bb-f3c7-428d-aed7-22f437b7fce9",
"label": "BIBFRAME",
"creator": "Philipp Zumstein",
"target": "rdf",
"minVersion": "3.0",
"maxVersion": "",
"priority": 100,
"configOptions": {
"dataMode": "rdf/xml"
},
"inRepository": true,
"translatorType": 1,
"browserSupport": "gcsiv",
"lastUpdated": "2014-12-19 21:12:00"
}
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2014 Philipp Zumstein
This file is part of Zotero.
Zotero is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Zotero is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Zotero. If not, see .
***** END LICENSE BLOCK *****
*/
var n = {
dc : "http://purl.org/dc/elements/1.1/",
rdfs : "http://www.w3.org/2000/01/rdf-schema#",
bf : "http://bibframe.org/vocab/",
bfp : "http://bibframe.org/bfp/",
rdf : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
skos : "http://www.w3.org/2004/02/skos/core#",
dcterms : "http://purl.org/dc/terms/"
};
//Zotero -> MARC Relation
//http://id.loc.gov/vocabulary/relators.html
var creatorMapping = {
"author" : [ "aut" ],
"contributor" : [ "ctb" ],
"editor" : [ "edt" ],
"seriesEditor" : [ "edc" ], //edc = Editor of compilation
"translator" : [ "trl" ]
};
//e.g. followProperties(itemList, [n.bf+"associatedAgent", n.bf+"label"]);
function followProperties(itemList, propertiesList) {
if (!itemList) return false;
if (!Array.isArray(itemList)) return followProperties([ itemList ], propertiesList);
if (propertiesList.length === 0) return itemList;
var result = [];
for (var j=0; j\n\t\t\n\t\t\tEinbändiges Werk\n\t\t\t\n\t\t\t9783898383271\n\t\t\t9781607500971\n\t\t\t10,A10\n\t\t\t10,H04\n\t\t\tSimone Paolo Ponzetto\n\t\t\tXVIII, 212 S.\n\t\t\t21 cm\n\t\t\tgraph. Darst.\n\t\t\tKnowledge acquisition from a collaboratively generated encyclopedia\n\t\t\t\n\t\t\t\tAKA\n\t\t\t\tHeidelberg\n\t\t\t\t2010\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tPonzetto, Simone Paolo\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t006.331\n\t\t\t006.331\n\t\t\t006.312\n\t\t\t006.312\n\t\t\tKnowledge acquisition from a collaboratively generated encyclopedia\n\t\t\t\n\t\t\t\tZugl.: Stuttgart, Univ., Diss., 2009\n\t\t\t\n\t\t\n\t\n\n",
"items": [
{
"itemType": "book",
"title": "Knowledge acquisition from a collaboratively generated encyclopedia",
"creators": [
{
"firstName": "Simone Paolo",
"lastName": "Ponzetto",
"creatorType": "author"
}
],
"ISBN": "9783898383271",
"numPages": "XVIII, 212 S.",
"attachments": [],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "import",
"input": "\n \t\n\t\t\tEinbändiges Werk\n\t\t\t\n\t\t\t9783868284874\n\t\t\t9783868284874\n\t\t\t14,N02\n\t\t\t15,A01\n\t\t\t\n\t\t\t\tVLB / Netzpublikationen\n\t\t\t\t4555296\n\t\t\t\n\t\t\tKunsthalle Mannheim. Hrsg. von Ulrike Lorenz ... [Autorinnen und Autoren: Thierry Dufrêne ...]\n\t\t\t143 S.\n\t\t\t25 cm\n\t\t\tIll., graph. Darst.\n\t\t\tSkulptur pur\n\t\t\t\n\t\t\t\tKehrer\n\t\t\t\tHeidelberg, Berlin\n\t\t\t\t2014\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tDufrêne, Thierry\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tLorenz, Ulrike\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tGreenlee, Mark W.\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tHartog, Arie\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tJansen, Petra\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tMyssok, Johannes\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tSchneemann, Peter J.\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tWagner, Monika\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tWolff, Christian\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tZuschlag, Christoph\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tPatruno, Stefanie\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tWagner, Christoph\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t730\n\t\t\t730\n\t\t\tSkulptur pur\n\t\t\n\t\n\n",
"items": [
{
"itemType": "book",
"title": "Skulptur pur",
"creators": [
{
"firstName": "Thierry",
"lastName": "Dufrêne",
"creatorType": "contributor"
},
{
"firstName": "Ulrike",
"lastName": "Lorenz",
"creatorType": "editor"
},
{
"firstName": "Mark W.",
"lastName": "Greenlee",
"creatorType": "contributor"
},
{
"firstName": "Arie",
"lastName": "Hartog",
"creatorType": "contributor"
},
{
"firstName": "Petra",
"lastName": "Jansen",
"creatorType": "contributor"
},
{
"firstName": "Johannes",
"lastName": "Myssok",
"creatorType": "contributor"
},
{
"firstName": "Peter J.",
"lastName": "Schneemann",
"creatorType": "contributor"
},
{
"firstName": "Monika",
"lastName": "Wagner",
"creatorType": "contributor"
},
{
"firstName": "Christian",
"lastName": "Wolff",
"creatorType": "contributor"
},
{
"firstName": "Christoph",
"lastName": "Zuschlag",
"creatorType": "contributor"
},
{
"firstName": "Stefanie",
"lastName": "Patruno",
"creatorType": "editor"
},
{
"firstName": "Christoph",
"lastName": "Wagner",
"creatorType": "editor"
}
],
"ISBN": "9783868284874",
"numPages": "143 S.",
"attachments": [],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "import",
"input": "\n\n \n \n eighth day :\n \n casejohneighthdayathrillerengworktext\n Case, John. The eighth day :a thriller\n \n \n \n \n \n \n Case, John.\n Case, John.\n \n \n \n full\n 813.54\n ddc\n 813.54\n 23\n \n \n The eighth day :\n a thriller \n \n \n \n eighth day : (Chivers : pbk.)\n The eighth day : a thriller\n 23 cm.\n \n \n Waterville, Me. : Thorndike ; Bath : Chivers, 2003, c2002.\n single unit\n \n \n Large print ed.\n paperback\n The eighth day :a thriller (Chivers : pbk.)\n Standard print ed. originally published: London : Century, 2002.\n \n \n \n \n \n \n\n",
"items": [
{
"itemType": "book",
"title": "eighth day : (Chivers : pbk.)",
"creators": [],
"ISBN": "",
"attachments": [],
"tags": [],
"notes": [],
"seeAlso": []
}
]
}
]
/** END TEST CASES **/