SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Linked Lists
(Intentionally left blank)
What are linked lists?

Linked lists are data structures where nodes point to
           the next nodes or end of the list.




           http://en.wikipedia.org/wiki/Linked_list
What are types of linked lists
Singly: linked lists contain nodes which have a data field as well as a next field, which points to
the next node in the linked list




Doubly: is a linked list where each node contains, besides the next-node link, a second link
field pointing to the previous node in the sequence. The two links may be called forward(s)
and backwards, or next and prev(ious).




Multiply: is a linked list where each node contains two or more link fields, each field being
used to connect the same set of data records in a different order.
How are linked lists used?



     They can be used to implement several other common
   abstract data types, including stacks, queues, associative
  arrays, databases, file systems, and symbolic expressions.




Example: MongoDB storage engine
http://blog.fiesta.cc/post/13975691790/mongosv-live-blog-
mongodbs-storage-engine-bit-by-bit
Linked List use example: Stack

  C++


  typedef struct stackNode
  {
    int data;
    struct stackNode *nxtptr;

  } StackNode_t;


  http://stackoverflow.com/questions/5552394/typedef-and-linked-list
Why am I talking about Linked Lists?




                                http://funfax.tumblr.com/
Earlier this week Hard released the MARC21 library
                     metadata.




       http://openmetadata.lib.harvard.edu/
This is a big deal.

      Bibliographic MARC data licensing is very expensive.
Marcive charges on the low end at $1,400/year for academic titles.
       Amazon like datasets can reach 5 figures por year.


        http://home.marcive.com/index.php?option=com_content&view=article&id=52&Itemid=31
What is MARC21?


     MAchine Readable Catalog (MARC) is a metadata
transmission standard based on ANSI Z39.2 (now ISO 2709)
                        standard .
            http://en.wikipedia.org/wiki/MARC_standards


                      http://www.loc.gov/marc/
This is the MARC21 field list:
http://www.loc.gov/marc/bibliographic/ecbdlist.html
            This is one record:
      http://caffed.net/record.txt




                  http://hipsterorjesus.com/
The Harvard dataset is 10GB in MARC21
           format separated
              into 14 files.

        Linked Lists are not random access data formats.


    To utilize the data it must be converted to something else.

   A document store based system would be the most optimal.
My goal is to pull the data save it to a Mongo database
                And make it searchable via a web front end.


My current progress - creating a parsing script that
traverses the files and saves it to the Mongo database.




Next steps:

-   Create REST interface to MongoDB server
-   Create simple front end that searche using REST interface
-   Release source on Github
-   …
-   Profit!!!
MongoDB
       http://www.mongodb.org/




   MARC parsing libraries:
                  Ruby
https://github.com/ruby-marc/ruby-marc

                  PHP
http://pear.php.net/package/File_MARC/

                 Python
    https://github.com/edsu/pymarc

Weitere ähnliche Inhalte

Was ist angesagt?

Manchester opendata
Manchester opendataManchester opendata
Manchester opendata
Tony Hirst
 
Deploying PHP applications using Virtuoso as Application Server
Deploying PHP applications using Virtuoso as Application ServerDeploying PHP applications using Virtuoso as Application Server
Deploying PHP applications using Virtuoso as Application Server
webhostingguy
 

Was ist angesagt? (20)

MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...
MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...
MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...
 
MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...
MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...
MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...
 
Beyond the catalogue : BibFrame, Linked Data and Ending the Invisible Library
Beyond the catalogue : BibFrame, Linked Data and Ending the 	Invisible LibraryBeyond the catalogue : BibFrame, Linked Data and Ending the 	Invisible Library
Beyond the catalogue : BibFrame, Linked Data and Ending the Invisible Library
 
Large Scale Data Clean-ups & Challenges for the Library
Large Scale Data Clean-ups & Challenges for the Library Large Scale Data Clean-ups & Challenges for the Library
Large Scale Data Clean-ups & Challenges for the Library
 
File handling
File handlingFile handling
File handling
 
How to build a data dictionary
How to build a data dictionaryHow to build a data dictionary
How to build a data dictionary
 
User manual
User manualUser manual
User manual
 
File Types in Data Structure
File Types in Data StructureFile Types in Data Structure
File Types in Data Structure
 
Introduction to linked data and the semantic web
Introduction to linked data and the semantic webIntroduction to linked data and the semantic web
Introduction to linked data and the semantic web
 
Linked Data Hypercubes
Linked Data HypercubesLinked Data Hypercubes
Linked Data Hypercubes
 
Information Intermediaries
Information IntermediariesInformation Intermediaries
Information Intermediaries
 
GDG Meets U event - Big data & Wikidata - no lies codelab
GDG Meets U event - Big data & Wikidata -  no lies codelabGDG Meets U event - Big data & Wikidata -  no lies codelab
GDG Meets U event - Big data & Wikidata - no lies codelab
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Jessup Moot Legal Research Guide 2017
Jessup Moot Legal Research Guide 2017Jessup Moot Legal Research Guide 2017
Jessup Moot Legal Research Guide 2017
 
Building a Fault Tolerant Distributed Architecture
Building a Fault Tolerant Distributed ArchitectureBuilding a Fault Tolerant Distributed Architecture
Building a Fault Tolerant Distributed Architecture
 
ISDD Database Structure N5
ISDD Database Structure N5ISDD Database Structure N5
ISDD Database Structure N5
 
RDA data, linked data, and benefits for users / Gordon Dunsire
RDA data, linked data, and benefits for users / Gordon DunsireRDA data, linked data, and benefits for users / Gordon Dunsire
RDA data, linked data, and benefits for users / Gordon Dunsire
 
Manchester opendata
Manchester opendataManchester opendata
Manchester opendata
 
Deploying PHP applications using Virtuoso as Application Server
Deploying PHP applications using Virtuoso as Application ServerDeploying PHP applications using Virtuoso as Application Server
Deploying PHP applications using Virtuoso as Application Server
 
Literature Services Resource Description Framework
Literature Services Resource Description FrameworkLiterature Services Resource Description Framework
Literature Services Resource Description Framework
 

Ähnlich wie Linked lists

Digital Library Applications Of Social Networking Jeju Intl Conference
Digital Library Applications Of Social Networking Jeju Intl ConferenceDigital Library Applications Of Social Networking Jeju Intl Conference
Digital Library Applications Of Social Networking Jeju Intl Conference
guestbba8ac
 

Ähnlich wie Linked lists (20)

Digital Library Applications Of Social Networking Jeju Intl Conference
Digital Library Applications Of Social Networking Jeju Intl ConferenceDigital Library Applications Of Social Networking Jeju Intl Conference
Digital Library Applications Of Social Networking Jeju Intl Conference
 
Digital Library Applications Of Social Networking
Digital Library Applications Of Social Networking  Digital Library Applications Of Social Networking
Digital Library Applications Of Social Networking
 
#mashcat: Evolving MarcEdit: Leveraging Semantic Data in MarcEdit
#mashcat: Evolving MarcEdit: Leveraging Semantic Data in MarcEdit#mashcat: Evolving MarcEdit: Leveraging Semantic Data in MarcEdit
#mashcat: Evolving MarcEdit: Leveraging Semantic Data in MarcEdit
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic Web
 
No sql databases
No sql databasesNo sql databases
No sql databases
 
Standardizing for Open Data
Standardizing for Open DataStandardizing for Open Data
Standardizing for Open Data
 
Linked data and voyager
Linked data and voyagerLinked data and voyager
Linked data and voyager
 
BIBFRAME, Linked data, RDA
BIBFRAME, Linked data, RDA BIBFRAME, Linked data, RDA
BIBFRAME, Linked data, RDA
 
Linked library data
Linked library dataLinked library data
Linked library data
 
Modern PHP RDF toolkits: a comparative study
Modern PHP RDF toolkits: a comparative studyModern PHP RDF toolkits: a comparative study
Modern PHP RDF toolkits: a comparative study
 
Semantic Web and Web 3.0 - Web Technologies (1019888BNR)
Semantic Web and Web 3.0 - Web Technologies (1019888BNR)Semantic Web and Web 3.0 - Web Technologies (1019888BNR)
Semantic Web and Web 3.0 - Web Technologies (1019888BNR)
 
Linked Data MLA 2015
Linked Data MLA 2015Linked Data MLA 2015
Linked Data MLA 2015
 
Linked data MLA 2015
Linked data MLA 2015Linked data MLA 2015
Linked data MLA 2015
 
Semantic Web in Action
Semantic Web in ActionSemantic Web in Action
Semantic Web in Action
 
Enhancing a library OPAC with linked data
Enhancing a library OPAC with linked dataEnhancing a library OPAC with linked data
Enhancing a library OPAC with linked data
 
Spotlight
SpotlightSpotlight
Spotlight
 
Phd presentation
Phd presentationPhd presentation
Phd presentation
 
Apache Any23 - Anything to Triples
Apache Any23 - Anything to TriplesApache Any23 - Anything to Triples
Apache Any23 - Anything to Triples
 
Linked Media Management with Apache Marmotta
Linked Media Management with Apache MarmottaLinked Media Management with Apache Marmotta
Linked Media Management with Apache Marmotta
 
Usage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application ScenariosUsage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application Scenarios
 

Kürzlich hochgeladen

KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
Cara Menggugurkan Kandungan 087776558899
 
the Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentationthe Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentation
brynpueblos04
 
February 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterFebruary 2024 Recommendations for newsletter
February 2024 Recommendations for newsletter
ssuserdfec6a
 
Girls in Mahipalpur (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Mahipalpur  (delhi) call me [🔝9953056974🔝] escort service 24X7Girls in Mahipalpur  (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Mahipalpur (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Kürzlich hochgeladen (15)

Social Learning Theory presentation.pptx
Social Learning Theory presentation.pptxSocial Learning Theory presentation.pptx
Social Learning Theory presentation.pptx
 
Emotional Freedom Technique Tapping Points Diagram.pdf
Emotional Freedom Technique Tapping Points Diagram.pdfEmotional Freedom Technique Tapping Points Diagram.pdf
Emotional Freedom Technique Tapping Points Diagram.pdf
 
Colaba Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Colaba Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsColaba Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Colaba Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
 
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
 
Dadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Dadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsDadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Dadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
 
the Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentationthe Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentation
 
February 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterFebruary 2024 Recommendations for newsletter
February 2024 Recommendations for newsletter
 
Girls in Mahipalpur (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Mahipalpur  (delhi) call me [🔝9953056974🔝] escort service 24X7Girls in Mahipalpur  (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Mahipalpur (delhi) call me [🔝9953056974🔝] escort service 24X7
 
March 2023 Recommendations for newsletter
March 2023 Recommendations for newsletterMarch 2023 Recommendations for newsletter
March 2023 Recommendations for newsletter
 
2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga
 
Pokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy TheoryPokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy Theory
 
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptxSIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
 
Goregaon West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Goregaon West Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsGoregaon West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Goregaon West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
 
Exploring Stoic Philosophy From Ancient Wisdom to Modern Relevance.pdf
Exploring Stoic Philosophy From Ancient Wisdom to Modern Relevance.pdfExploring Stoic Philosophy From Ancient Wisdom to Modern Relevance.pdf
Exploring Stoic Philosophy From Ancient Wisdom to Modern Relevance.pdf
 
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
 

Linked lists

  • 3. What are linked lists? Linked lists are data structures where nodes point to the next nodes or end of the list. http://en.wikipedia.org/wiki/Linked_list
  • 4. What are types of linked lists Singly: linked lists contain nodes which have a data field as well as a next field, which points to the next node in the linked list Doubly: is a linked list where each node contains, besides the next-node link, a second link field pointing to the previous node in the sequence. The two links may be called forward(s) and backwards, or next and prev(ious). Multiply: is a linked list where each node contains two or more link fields, each field being used to connect the same set of data records in a different order.
  • 5. How are linked lists used? They can be used to implement several other common abstract data types, including stacks, queues, associative arrays, databases, file systems, and symbolic expressions. Example: MongoDB storage engine http://blog.fiesta.cc/post/13975691790/mongosv-live-blog- mongodbs-storage-engine-bit-by-bit
  • 6. Linked List use example: Stack C++ typedef struct stackNode { int data; struct stackNode *nxtptr; } StackNode_t; http://stackoverflow.com/questions/5552394/typedef-and-linked-list
  • 7. Why am I talking about Linked Lists? http://funfax.tumblr.com/
  • 8. Earlier this week Hard released the MARC21 library metadata. http://openmetadata.lib.harvard.edu/
  • 9. This is a big deal. Bibliographic MARC data licensing is very expensive. Marcive charges on the low end at $1,400/year for academic titles. Amazon like datasets can reach 5 figures por year. http://home.marcive.com/index.php?option=com_content&view=article&id=52&Itemid=31
  • 10. What is MARC21? MAchine Readable Catalog (MARC) is a metadata transmission standard based on ANSI Z39.2 (now ISO 2709) standard . http://en.wikipedia.org/wiki/MARC_standards http://www.loc.gov/marc/
  • 11. This is the MARC21 field list: http://www.loc.gov/marc/bibliographic/ecbdlist.html This is one record: http://caffed.net/record.txt http://hipsterorjesus.com/
  • 12. The Harvard dataset is 10GB in MARC21 format separated into 14 files. Linked Lists are not random access data formats. To utilize the data it must be converted to something else. A document store based system would be the most optimal.
  • 13. My goal is to pull the data save it to a Mongo database And make it searchable via a web front end. My current progress - creating a parsing script that traverses the files and saves it to the Mongo database. Next steps: - Create REST interface to MongoDB server - Create simple front end that searche using REST interface - Release source on Github - … - Profit!!!
  • 14. MongoDB http://www.mongodb.org/ MARC parsing libraries: Ruby https://github.com/ruby-marc/ruby-marc PHP http://pear.php.net/package/File_MARC/ Python https://github.com/edsu/pymarc