wiki:BiboMapping

Version 12 (modified by simon, 7 years ago) (diff)

--

Format Considerations

We probably want to stop using Mozilla's RDF support for writing RDF/XML, or at least try to clean it up a little. In order to make our RDF as interoperable as possible, we probably want to write it in an XML-based format that's relatively easy for other implementations to read. We might also want to consider Turtle, a simple, human-readable subset of N3. Simplified RDF/XML would be easier to parse using standard XML parsing libraries; Turtle would be more compact and easier to read. In either case, a number of libraries exist for parsing RDF/XML in various languages.

note from bruce: this looks good, but some of the net-related stuff (IM, Blog, forum post, etc.) could be better covered using SIOC. Possibly relevant types for Zotero include:

  • sioct:AnnotationSet
  • sioct:BookmarkFolder
  • sioct:ReadingList
  • sioct:BlogPost
  • sioct:BoardPost
  • sioct:Comment
  • sioct:InstantMessage
  • sioct:MailMessage
  • sioct:MicroblogPost
  • sioct:WikiArticle
  • sioct:Category
  • sioct:Tag

SIOC also has some interesting types relating to commentary.

Keep in mind too that a resource may have more than one type. Also per conversation on the forums with Dan S., I think it might be valuable to talk about how to model a library, and contents.

Item Type Mappings

Zotero TypeRDF Type
artworkbibo:Image?
attachmentnot in bibo, but probably fine to use something from Zotero namespace
audioRecordingbibo:AudioDocument
billbibo:Bill
blogPostbibo:PersonalCommunication
dc:type z:BlogPost
bookbibo:Book/bibo:EditedBook
bookSectionbibo:BookSection
casebibo:LegalDecision
blogPostbibo:Webpage
computerProgram?
conferencePaperbibo:Article
bibo:presentedAt bibo:Conference
dictionaryEntrybibo:Article
dc:isPartOf bibo:ReferenceSource (Bruce commented in June 2008 that this had been accidentally deleted)
dc:type z:Dictionary?
...but we would probably be better off with a bibo:Dictionary subclass of bibo:ReferenceSource
documentbibo:Document
emailbibo:Email
encyclopediaArticleSee dictionaryEntry above
filmbibo:Film
forumPostbibo:Webpage
dc:type z:ForumPost
hearingbibo:Hearing
instantMessagebibo:PersonalCommunication
dc:type z:InstantMessage
interviewbibo:Interview
journalArticlebibo:AcademicArticle
dc:isPartOf bibo:Issue
dc:isPartOf bibo:Journal
letterbibo:Letter
magazineArticlebibo:Article
dc:isPartOf bibo:Issue
dc:isPartOf bibo:Magazine
manuscriptbibo:Manuscript
mapbibo:Map
newspaperArticlebibo:Article
dc:isPartOf bibo:Issue
dc:isPartOf bibo:Newspaper
notebibo:Note
patentbibo:Patent
podcastbibo:AudioDocument
dc:type z:Podcast
presentationbibo:Slideshow?
radioBroadcastpo:Broadcast
dcterms:medium po:Radio?
reportbibo:Report
statutebibo:Statute
thesisbibo:Thesis
tvBroadcastpo:Broadcast
dcterms:medium po:TV?
videoRecordingbibo:AudioVisualDocument
webpagebibo:Webpage

Field Mappings

The list of base field mappings was generated by the SQLite query

SELECT GROUP_CONCAT(f1.fieldName, '[[BR]]') FROM fields AS f1
LEFT JOIN baseFieldMappings AS b ON (b.fieldID = f1.fieldID)
LEFT JOIN fields AS f2 ON (f2.fieldID = b.baseFieldID)
GROUP BY IFNULL(b.baseFieldID, f1.fieldID)
ORDER BY IFNULL(b.baseFieldID, f1.fieldID);
Zotero FieldRDF Property
urldcterms:URI
rightsdc:rights
seriesdc:title on bibo:Series
volumebibo:volume (on dc:isPartOf bibo:Issue for journal articles)
codeVolumebibo:volume on dc:isPartOf bibo:Code
reporterVolumebibo:volume on dc:isPartOf bibo:CourtReporter
issuebibo:issue on bibo:Issue
editionbibo:edition
placeaddress:localityName on dc:publisher foaf:Organization
countryaddress:countryName on dc:publisher foaf:Organization
publisher
institution
label
studio
network
company
university
foaf:name on dc:publisher
pages
codePages
bibo:pages
firstPagebibo:pageStart
ISBNbibo:isbn10/bibo:isbn13
publicationTitle
encyclopediaTitle
dictionaryTitle
websiteTitle
forumTitle
blogTitle
proceedingsTitle
bookTitle
dc:title on dc:isPartOf
ISSNbibo:issn on bibo:Journal
date
issueDate
dateDecided
dateEnacted
dc:date
sectiondc:title on dc:isPartOf bibo:section
callNumberbibo:lccn
archiveLocationdc:source
distributorbibo:distributor
extraz:extra
journalAbbreviationbibo:shortTitle on bibo:Journal
DOIbibo:doi
accessDatez:accessDate (should be in bibo?)
seriesTitledc:title on dc:isPartOf bibo:Series (doesn't seem to be used on any item types concurrently with the series field)
seriesTextdc:description on dc:isPartOf bibo:Series
seriesNumberbibo:number on dc:isPartOf bibo:Series
codedc:title on dc:isPartOf bibo:Code
session?
legislativeBody?
history?
reporterdc:title on dc:isPartOf bibo:CourtReporter
courtbibo:court
numberOfVolumesshould be added to bibo
committee?
assignee?
priorityNumbers?
referencesdc:references
legalStatus?
codeNumberdc:number on dc:isPartOf bibo:Code
patentNumber
reportNumber
billNumber
documentNumber
publicLawNumber
episodeNumber
docketNumber
applicationNumber
bibo:number
artworkSizedc:extent
repositoryz:repository
scale?
meetingName?
runningTimepo:duration
versionbibo:edition
system?
conferenceNamedc:title on dc:isPartOf bibo:Conference
languagedc:language
programmingLanguagedc:language (doesn't seem to be used on any item types concurrently with the language field)
abstractNotedc:description
type
reportType
videoRecordingType
letterType
manuscriptType
mapType
thesisType
websiteType
audioRecordingType
presentationType
postType
audioFileType
medium
artworkMedium
interviewMedium
dcterms:medium
title
caseName
nameOfAct
subject
dc:title
shortTitlebibo:shortTitle
numPages?