UNPKG

hyper-readings

Version:

a tool for making and sharing p2p distributed reading lists

327 lines (324 loc) 9.29 kB
export const PREFIXES = { rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#', rdfs: 'http://www.w3.org/2000/01/rdf-schema#', co: 'http://purl.org/co/', c4o: 'http://purl.org/spar/c4o', po: 'http://www.essepuntato.it/2008/12/pattern#', doco: 'http://purl.org/spar/doco/', cito: 'http://purl.org/spar/cito/', datacite: 'http://purl.org/spar/datacite/', oa: 'http://www.w3.org/ns/oa#', as: 'http://www.w3.org/ns/activitystreams#', dc: 'http://purl.org/dc/elements/1.1/', dcterms: 'http://purl.org/dc/terms/', dctypes: 'http://purl.org/dc/dcmitype/', foaf: 'http://xmlns.com/foaf/0.1/', schema: 'http://schema.org/', marcrel: 'http://id.loc.gov/vocabulary/relators/', bf: 'http://id.loc.gov/ontologies/bibframe/' } export const ZOTERO_TO_MARC_ROLES = { artist: 'art', // - Artist // 'Artist', // contributor: 'ctb', // - Contributor // 'Contributor' performer: 'prf', // - Performer // 'Performer' composer: 'cmp', // - Composer // 'Composer' wordsBy: 'lyr', // - Lyricist // 'Words By' sponsor: 'spn', // - Sponsor // 'Sponsor' cosponsor: 'spn', // - Sponsor // 'Cosponsor' author: 'aut', // - Author // 'Author' // commenter: ? // 'Commenter' editor: 'edt', // - Editor // 'Editor' seriesEditor: 'edt', // - Editor // 'Series Editor' translator: 'trl', // - Translator // 'Translator' // book author in chapter is special as points to author of containing book. // bookAuthor: 'aut', // - Author // 'Book Author', // counsel: n/a? // 'Counsel' programmer: 'prg', // - Programmer // 'Programmer' // reviewedAuthor: 'Reviewed Author', // special - aut of the book which is subject recipient: 'rcp', // - Addressee // 'Recipient', // rcp - Addressee director: 'drt', // - Director // 'Director' producer: 'pro', // - Producer // 'Producer' scriptwriter: 'aus', // - Screenwriter // 'Scriptwriter' interviewee: 'ive', // - Interviewee // 'Interview With' interviewer: 'ivr', // - Interviewer // 'Interviewer' cartographer: 'ctg', // - Cartographer // 'Cartographer' inventor: 'inv', // - Inventor // 'Inventor' // attorneyAgent: ? // 'Attorney/Agent' podcaster: 'hst', // - Host // 'Podcaster' // guest: ? // 'Guest' presenter: 'pre', // - Presenter // 'Presenter' castMember: 'prf' // - Performer // 'Cast Member' } export const MARC_RELATORS = { 'abr': 'Abridger', 'acp': 'Art copyist', 'act': 'Actor', 'adi': 'Art director', 'adp': 'Adapter', 'aft': 'Author of afterword, colophon, etc.', 'anl': 'Analyst', 'anm': 'Animator', 'ann': 'Annotator', 'ant': 'Bibliographic antecedent', 'ape': 'Appellee', 'apl': 'Appellant', 'app': 'Applicant', 'aqt': 'Author in quotations or text abstracts', 'arc': 'Architect', 'ard': 'Artistic director', 'arr': 'Arranger', 'art': 'Artist', 'asg': 'Assignee', 'asn': 'Associated name', 'ato': 'Autographer', 'att': 'Attributed name', 'auc': 'Auctioneer', 'aud': 'Author of dialog', 'aui': 'Author of introduction, etc.', 'aus': 'Screenwriter', 'aut': 'Author', 'bdd': 'Binding designer', 'bjd': 'Bookjacket designer', 'bkd': 'Book designer', 'bkp': 'Book producer', 'blw': 'Blurb writer', 'bnd': 'Binder', 'bpd': 'Bookplate designer', 'brd': 'Broadcaster', 'brl': 'Braille embosser', 'bsl': 'Bookseller', 'cas': 'Caster', 'ccp': 'Conceptor', 'chr': 'Choreographer', // '-clb': ' Collaborator', 'cli': 'Client', 'cll': 'Calligrapher', 'clr': 'Colorist', 'clt': 'Collotyper', 'cmm': 'Commentator', 'cmp': 'Composer', 'cmt': 'Compositor', 'cnd': 'Conductor', 'cng': 'Cinematographer', 'cns': 'Censor', 'coe': 'Contestant-appellee', 'col': 'Collector', 'com': 'Compiler', 'con': 'Conservator', 'cor': 'Collection registrar', 'cos': 'Contestant', 'cot': 'Contestant-appellant', 'cou': 'Court governed', 'cov': 'Cover designer', 'cpc': 'Copyright claimant', 'cpe': 'Complainant-appellee', 'cph': 'Copyright holder', 'cpl': 'Complainant', 'cpt': 'Complainant-appellant', 'cre': 'Creator', 'crp': 'Correspondent', 'crr': 'Corrector', 'crt': 'Court reporter', 'csl': 'Consultant', 'csp': 'Consultant to a project', 'cst': 'Costume designer', 'ctb': 'Contributor', 'cte': 'Contestee-appellee', 'ctg': 'Cartographer', 'ctr': 'Contractor', 'cts': 'Contestee', 'ctt': 'Contestee-appellant', 'cur': 'Curator', 'cwt': 'Commentator for written text', 'dbp': 'Distribution place', 'dfd': 'Defendant', 'dfe': 'Defendant-appellee', 'dft': 'Defendant-appellant', 'dgg': 'Degree granting institution', 'dgs': 'Degree supervisor', 'dis': 'Dissertant', 'dln': 'Delineator', 'dnc': 'Dancer', 'dnr': 'Donor', 'dpc': 'Depicted', 'dpt': 'Depositor', 'drm': 'Draftsman', 'drt': 'Director', 'dsr': 'Designer', 'dst': 'Distributor', 'dtc': 'Data contributor', 'dte': 'Dedicatee', 'dtm': 'Data manager', 'dto': 'Dedicator', 'dub': 'Dubious author', 'edc': 'Editor of compilation', 'edm': 'Editor of moving image work', 'edt': 'Editor', 'egr': 'Engraver', 'elg': 'Electrician', 'elt': 'Electrotyper', 'eng': 'Engineer', 'enj': 'Enacting jurisdiction', 'etr': 'Etcher', 'evp': 'Event place', 'exp': 'Expert', 'fac': 'Facsimilist', 'fds': 'Film distributor', 'fld': 'Field director', 'flm': 'Film editor', 'fmd': 'Film director', 'fmk': 'Filmmaker', 'fmo': 'Former owner', 'fmp': 'Film producer', 'fnd': 'Funder', 'fpy': 'First party', 'frg': 'Forger', 'gis': 'Geographic information specialist', // '-grt': ' Graphic technician', 'his': 'Host institution', 'hnr': 'Honoree', 'hst': 'Host', 'ill': 'Illustrator', 'ilu': 'Illuminator', 'ins': 'Inscriber', 'inv': 'Inventor', 'isb': 'Issuing body', 'itr': 'Instrumentalist', 'ive': 'Interviewee', 'ivr': 'Interviewer', 'jud': 'Judge', 'jug': 'Jurisdiction governed', 'lbr': 'Laboratory', 'lbt': 'Librettist', 'ldr': 'Laboratory director', 'led': 'Lead', 'lee': 'Libelee-appellee', 'lel': 'Libelee', 'len': 'Lender', 'let': 'Libelee-appellant', 'lgd': 'Lighting designer', 'lie': 'Libelant-appellee', 'lil': 'Libelant', 'lit': 'Libelant-appellant', 'lsa': 'Landscape architect', 'lse': 'Licensee', 'lso': 'Licensor', 'ltg': 'Lithographer', 'lyr': 'Lyricist', 'mcp': 'Music copyist', 'mdc': 'Metadata contact', 'med': 'Medium', 'mfp': 'Manufacture place', 'mfr': 'Manufacturer', 'mod': 'Moderator', 'mon': 'Monitor', 'mrb': 'Marbler', 'mrk': 'Markup editor', 'msd': 'Musical director', 'mte': 'Metal-engraver', 'mtk': 'Minute taker', 'mus': 'Musician', 'nrt': 'Narrator', 'opn': 'Opponent', 'org': 'Originator', 'orm': 'Organizer', 'osp': 'Onscreen presenter', 'oth': 'Other', 'own': 'Owner', 'pan': 'Panelist', 'pat': 'Patron', 'pbd': 'Publishing director', 'pbl': 'Publisher', 'pdr': 'Project director', 'pfr': 'Proofreader', 'pht': 'Photographer', 'plt': 'Platemaker', 'pma': 'Permitting agency', 'pmn': 'Production manager', 'pop': 'Printer of plates', 'ppm': 'Papermaker', 'ppt': 'Puppeteer', 'pra': 'Praeses', 'prc': 'Process contact', 'prd': 'Production personnel', 'pre': 'Presenter', 'prf': 'Performer', 'prg': 'Programmer', 'prm': 'Printmaker', 'prn': 'Production company', 'pro': 'Producer', 'prp': 'Production place', 'prs': 'Production designer', 'prt': 'Printer', 'prv': 'Provider', 'pta': 'Patent applicant', 'pte': 'Plaintiff-appellee', 'ptf': 'Plaintiff', 'pth': 'Patent holder', 'ptt': 'Plaintiff-appellant', 'pup': 'Publication place', 'rbr': 'Rubricator', 'rcd': 'Recordist', 'rce': 'Recording engineer', 'rcp': 'Addressee', 'rdd': 'Radio director', 'red': 'Redaktor', 'ren': 'Renderer', 'res': 'Researcher', 'rev': 'Reviewer', 'rpc': 'Radio producer', 'rps': 'Repository', 'rpt': 'Reporter', 'rpy': 'Responsible party', 'rse': 'Respondent-appellee', 'rsg': 'Restager', 'rsp': 'Respondent', 'rsr': 'Restorationist', 'rst': 'Respondent-appellant', 'rth': 'Research team head', 'rtm': 'Research team member', 'sad': 'Scientific advisor', 'sce': 'Scenarist', 'scl': 'Sculptor', 'scr': 'Scribe', 'sds': 'Sound designer', 'sec': 'Secretary', 'sgd': 'Stage director', 'sgn': 'Signer', 'sht': 'Supporting host', 'sll': 'Seller', 'sng': 'Singer', 'spk': 'Speaker', 'spn': 'Sponsor', 'spy': 'Second party', 'srv': 'Surveyor', 'std': 'Set designer', 'stg': 'Setting', 'stl': 'Storyteller', 'stm': 'Stage manager', 'stn': 'Standards body', 'str': 'Stereotyper', 'tcd': 'Technical director', 'tch': 'Teacher', 'ths': 'Thesis advisor', 'tld': 'Television director', 'tlp': 'Television producer', 'trc': 'Transcriber', 'trl': 'Translator', 'tyd': 'Type designer', 'tyg': 'Typographer', 'uvp': 'University place', 'vac': 'Voice actor', 'vdg': 'Videographer', // '-voc': ' Vocalist', 'wac': 'Writer of added commentary', 'wal': 'Writer of added lyrics', 'wam': 'Writer of accompanying material', 'wat': 'Writer of added text', 'wdc': 'Woodcutter', 'wde': 'Wood engraver', 'win': 'Writer of introduction', 'wit': 'Witness', 'wpr': 'Writer of preface', 'wst': 'Writer of supplementary textual content' }