Code4Lib North 2013: Metadata

703 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
703
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Code4Lib North 2013: Metadata

  1. 1. MARC, XML, JSONAnd Other Stuff Like That So We Can All Speak ACommon Language And Build The Future TogetherMJ SuhonosCode4Lib North 2013
  2. 2. WARNINGMAY CONTAIN:Code-Like ExamplesGross SimplificationsNo Unicorns
  3. 3. ISO-270901041cam 2200265 a 4500001002000000003000400020005001700024008004100041010002400082020002500106020004400131040001800175050002400193082001800217100003200235245008700267246003600354250001200390260003700402300002900439500004200468520022000510650003300730650001200763^###89048230#/AC/r91^DLC^19911106082810.9^891101s1990####maua###j######000#0#eng##^##$a###89048230#/AC/r91^##$a0316107514 :$c$12.95^##$a0316107506 (pbk.) :$c$5.95 ($6.95 Can.)^##$aDLC$cDLC$dDLC^00$aGV943.25$b.B74 1990^00$a796.334/2$220^10$aBrenner, Richard J.,$d1941-^10$aMake the team.$pSoccer :$ba heads up guide to super soccer! /$cRichard J. Brenner.^30$aHeads up guide to super soccer.^##$a1st ed.^##$aBoston :$bLittle, Brown,$cc1990.^##$a127 p. :$bill. ;$c19 cm.^##$a"A Sports illustrated for kids book."^##$aInstructions for improving soccer skills. Discusses dribbling, heading,playmaking, defense, conditioning, mental attitude, how to handle problems with coaches, parents, and other players, and the history of soccer.^#0$aSoccer$vJuvenile literature.^#1$aSoccer.^
  4. 4. “MARC”01041cam 2200265 a 4500001 ###89048230003 DLC005 19911106082810.9008 891101s1990 maua j 001 0 eng010 ## $a ###89048230020 ## $a 0316107514 :$c $12.95020 ## $a 0316107506 (pbk.) :$c $5.95 ($6.95 Can.)040 ## $a DLC$c DLC$d DLC050 00 $a GV943.25$b .B74 1990082 00 $a 796.334/2$2 20100 1# $a Brenner, Richard J.,$d 1941-245 10 $a Make the team.$p Soccer :$b a heads up guide to super soccer! /$c Richard J. Brenner.246 30 $a Heads up guide to super soccer250 ## $a 1st ed.260 ## $a Boston :$b Little, Brown,$c c1990.300 ## $a 127 p. :$b ill. ;$c 19 cm.500 ## $a "A Sports illustrated for kids book."520 ## $a Instructions for improving soccer skills. Discusses dribbling, heading,playmaking, defense, conditioning, mental attitude, how to handleproblems with coaches, parents, and other players, and the historyof soccer.650 #0 $a Soccer$v Juvenile literature.650 #1 $a Soccer.
  5. 5. MARCXML<collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01048cam a2200277 a 4500</leader><controlfield tag="001"> 89048230 </controlfield><controlfield tag="003">DLC</controlfield><controlfield tag="005">19990716000000.0</controlfield><controlfield tag="008">891101s1990 maua j 000 0 eng </controlfield><datafield tag="010" ind1=" " ind2=" "><subfield code="a"> 89048230 </subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0316107514 :</subfield><subfield code="c">$12.95</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0316107506 (pbk.) :</subfield><subfield code="c">$5.95 ($6.95 Can.)</subfield></datafield><datafield tag="050" ind1="0" ind2="0"><subfield code="a">GV943.25</subfield><subfield code="b">.B74 1990</subfield></datafield><datafield tag="082" ind1="0" ind2="0"><subfield code="a">796.334/2</subfield><subfield code="2">20</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Brenner, Richard J.,</subfield><subfield code="d">1941-</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Make the team.</subfield><subfield code="p">Soccer :</subfield><subfield code="b">a heads up guide to super soccer! /</subfield><subfield code="c">Richard J. Brenner.</subfield></datafield><!-- ..................... --></record></collection>
  6. 6. MARC-HASH{"fields": [["001", " 89048230 "],["003", "DLC"],["005", "19990716000000.0"],["008", "891101s1990 maua j 000 0 eng "],["010", " ", " ", [ ["a", " 89048230 "] ] ],["020", " ", " ", [ ["a", "0316107514 :"], ["c", "$12.95"] ] ],[ "020", " ", " ", [ [ "a", "0316107506 (pbk.) :"], [ "c", "$5.95 ($6.95Can.)" ] ] ],[ "040", " ", " ", [ [ "a", "DLC"], [ "c", "DLC"], [ "d", "DLC" ] ] ],[ "042", " ", " ", [ [ "a", "lcac" ] ] ],[ "050", "0", "0", [ [ "a", "GV943.25"], [ "b", ".B74 1990" ] ] ],[ "082", "0", "0", [ [ "a", "796.334/2"], [ "2", "20" ] ] ],[ "100", "1", " ", [ [ "a", "Brenner, Richard J.,"], [ "d", "1941-" ] ] ],[ "245", "1", "0", [ [ "a", "Make the team."], [ "p", "Soccer :"], [ "b", "aheads up guide to super soccer! /"], [ "c", "Richard J. Brenner." ] ] ],[ "250", " ", " ", [ [ "a", "1st ed." ] ] ],[ "260", " ", " ", [ [ "a", "Boston :"], [ "b", "Little, Brown,"], [ "c","c1990." ] ] ],[ "300", " ", " ", [ [ "a", "127 p. :"], [ "b", "ill. ;"], [ "c", "19cm." ] ] ],[ "500", " ", " ", [ [ "a", ""A Sports illustrated for kids book."" ] ] ],[ "520", " ", " ", [ [ "a", "Instructions for improving soccer skills.Discusses dribbling, heading, playmaking, defense, conditioning, mental attitude,how to handle problems with coaches, parents, and other players, and the history ofsoccer." ] ] ],[ "650", " ", "0", [ [ "a", "Soccer"], [ "x", "Juvenile literature." ] ] ],[ "650", " ", "1", [ [ "a", "Soccer." ] ] ],[ "740", "0", " ", [ [ "a", "Heads up guide to super soccer." ] ]]],"leader": "01048cam a2200277 a 4500","type": "marc-hash","version": [1, 0]}
  7. 7. •MARC•MARCXML•MARC-HASHWhat’s the difference?SERIALIZATION
  8. 8. Serialization: the process of! translating data structures into a! format that can be stored or! transmitted.
  9. 9. Unicode ReplacementCharacter
  10. 10. •MARC-8•ISO-8859-1•UTF-8What’s the difference?ENCODING
  11. 11. Encoding: the process by which! characters are converted into! byte sequences that can be! stored or transmitted.
  12. 12. •AACR2•Dublin Core•RDAWhat’s the difference?SCHEMA
  13. 13. Schema: metadata standards! intended to establish a common! understanding of the meaning of! data structures and values.
  14. 14. SCHEMAENCODINGSERIALIZATION++“Metadata Format”
  15. 15. ISO-2709SERIALIZATIONBinary(multiple flavours) ✗ENCODINGMARC-8, and/orUTF-8, and/orwho-knows-what✗SCHEMAAACR2(and maybe RDA) ✓** assuming AACR2 is a reasonable data-centric schema, which it is not.
  16. 16. MARCXMLSERIALIZATION XML ✓ENCODINGUTF-8, orISO-8859-1, orwho-knows-what✗SCHEMAAACR2(and maybe RDA) ✓** assuming AACR2 is a reasonable data-centric schema, which it is not.
  17. 17. MARC-HASHSERIALIZATION JSON ✓ENCODING UTF-8 ✓SCHEMAAACR2(and maybe RDA) ✓** assuming AACR2 is a reasonable data-centric schema, which it is not.
  18. 18. Ideal Metadata Format
  19. 19. • Independent from schema and encoding• Choose from multiple serializations• XML-based formats are BAD for this• PREMIS, MODS, EAD ...Serialization
  20. 20. Encoding• UTF-8 or GTFO• Otherwise, part of serialization spec
  21. 21. SchemasSchemae? Schemata?• Data-centric (like Dublin Core)• Not markup-centric (like AACR2, HTML)• Test: if order or punctuation matters:It’s NOT data-centric
  22. 22. ResourceDescriptionFramework
  23. 23. RDF• A framework, NOT a “metadata format”• For combining schemas, encodings &serializations• Multiple schemas in a single resource(“record”)
  24. 24. RDA ExampleSERIALIZATION RDF-XML ✓ENCODING UTF-8 ✓SCHEMA RDA ✓
  25. 25. FOAF ExampleSERIALIZATION N3 ✓ENCODING UTF-8 ✓SCHEMA FOAF ✓
  26. 26. DC+MODS ExampleSERIALIZATION JSON-LD ✓ENCODING UTF-8 ✓SCHEMADCTERMSMODSRDF ✓
  27. 27. SCHEMAENCODINGSERIALIZATION++mjsuhonos@ryerson.ca

×