| Version 10 (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 Type | RDF Type |
| artwork | bibo:Image? |
| attachment | not in bibo, but probably fine to use something from Zotero namespace |
| audioRecording | bibo:AudioDocument |
| bill | bibo:Bill |
| blogPost | bibo:PersonalCommunication dc:type z:BlogPost |
| book | bibo:Book/bibo:EditedBook |
| bookSection | bibo:BookSection |
| case | bibo:LegalDecision |
| blogPost | bibo:Webpage |
| computerProgram | ? |
| conferencePaper | bibo:Article bibo:presentedAt bibo:Conference |
| dictionaryEntry | bibo: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 |
| document | bibo:Document |
| bibo:Email | |
| encyclopediaArticle | See dictionaryEntry above |
| film | bibo:Film |
| forumPost | bibo:Webpage dc:type z:ForumPost |
| hearing | bibo:Hearing |
| instantMessage | bibo:PersonalCommunication dc:type z:InstantMessage |
| interview | bibo:Interview |
| journalArticle | bibo:AcademicArticle dc:isPartOf bibo:Journal |
| letter | bibo:Letter |
| magazineArticle | bibo:Article dc:isPartOf bibo:Magazine |
| manuscript | bibo:Manuscript |
| map | bibo:Map |
| newspaperArticle | bibo:Article dc:isPartOf bibo:Newspaper |
| note | bibo:Note |
| patent | bibo:Patent |
| podcast | bibo:AudioDocument dc:type z:Podcast |
| presentation | bibo:Slideshow? |
| radioBroadcast | po:Broadcast dcterms:medium po:Radio? |
| report | bibo:Report |
| statute | bibo:Statute |
| thesis | bibo:Thesis |
| tvBroadcast | po:Broadcast dcterms:medium po:TV? |
| videoRecording | bibo:AudioVisualDocument |
| webpage | bibo: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 Field | RDF Property |
| url | |
| rights | |
| series | |
| volume codeVolume reporterVolume | |
| issue | |
| edition | |
| place country | |
| publisher institution label studio network company university | |
| pages codePages firstPage | |
| ISBN | |
| publicationTitle encyclopediaTitle dictionaryTitle websiteTitle forumTitle blogTitle proceedingsTitle bookTitle | |
| ISSN | |
| date issueDate dateDecided dateEnacted | |
| section | |
| callNumber | |
| archiveLocation | |
| distributor | |
| extra | |
| journalAbbreviation | |
| DOI | |
| accessDate | |
| seriesTitle | |
| seriesText | |
| seriesNumber | |
| code | |
| session | |
| legislativeBody | |
| history | |
| reporter | |
| court | |
| numberOfVolumes | |
| committee | |
| assignee | |
| priorityNumbers | |
| references | |
| legalStatus | |
| codeNumber | |
| number patentNumber reportNumber billNumber documentNumber publicLawNumber episodeNumber docketNumber | |
| artworkSize | |
| repository | |
| scale | |
| meetingName | |
| runningTime | |
| version | |
| system | |
| conferenceName | |
| language | |
| programmingLanguage | |
| abstractNote | |
| applicationNumber | |
| type reportType videoRecordingType letterType manuscriptType mapType thesisType websiteType audioRecordingType presentationType postType audioFileType | |
| medium artworkMedium interviewMedium | |
| title caseName nameOfAct subject | |
| shortTitle | |
| numPages |