Project Byron - Virginia Tech

Project Byron - Virginia Tech

Project Byron Leveraging eXist-db for TEI-XML document management CS5774: Information Storage and Retrieval Kyle Morgan, Kyle Schutt Stakeholder: David Radcliffe Collaborators: Purdom Lindblad, Keith Battleson December 4, 2012 Virginia Tech Roadmap 1. LBT Overview 2. Background Information 3. Approach 4. Future Work Virginia Tech Morgan, Schutt

Project Byron 2 Byron Overview Lord Byron and his Times (LBT) Center for Applied Technologies in the Humanities Large digital archive Incorporates connections between people Slow for popular people Virginia Tech Morgan, Schutt Project Byron 3

Existing LBT System More than 300 TEI documents Six XML Indexes Relationships between documents Document metadata XSLT Stylesheets XPath queries XHTML styling Virginia Tech Morgan, Schutt Project Byron 4 Existing LBT System XSLT code generated from PHP Website allows user to:

Search for references Find authors and people Find connections between works and people Find periodicals Virginia Tech Morgan, Schutt Project Byron 5 Roadmap 1. LBT Overview 2. Background Information 3. Approach 4. Future Work Virginia Tech

Morgan, Schutt Project Byron 6 TEI Text Encoding Initiative Used for digital archives in the humanities XML format Moreover, his reasoning as to Mr. Moores conduct with regard to Lord Byrons Memoirs , seems to us to be at once vague and inapplicable. Virginia Tech

Morgan, Schutt Project Byron 7 XSLT Stylesheet for XML documents Used by LBT to translate TEI XML to XHTML Virginia Tech Morgan, Schutt Project Byron 8 Roadmap 1. LBT Overview

2. Background Information 3. Approach 4. Future Work Virginia Tech Morgan, Schutt Project Byron 9 Removing XLST processing XLST is too slow Rely on XQuery and CSS instead Virginia Tech Morgan, Schutt Project Byron

10 Simplify Indexes AllPersIndex.xml: Sir Walter Scott, baronet Scott, Sir Walter, baronet (1771-1832) Scottish poet, novelist, antiquary, biographer, editor, and sheriff. persons.xml: Sir Walter

Scott 1771 1832 m Scottish Scottish poet, novelist, antiquary, biographer, editor, and sheriff. Virginia Tech Morgan, Schutt Project Byron 11 Preexisting Architecture PHP

XSL Stylesheet Xpath TEI Web Browser XSLT Processor XHTML Apache HTTP Server Virginia Tech Morgan, Schutt Project Byron 12

Preexisting Architecture PHP XSL Stylesheet Xpath TEI Web Browser XSLT Processor XHTML Apache HTTP Server Virginia Tech Morgan, Schutt

Project Byron 13 New Architecture eXist-db (Index) Web Browser CSS HTML XQuery TEI eXist-db (RESTful)

JavaScript Lucene Client-side Virginia Tech Morgan, Schutt Apache HTTP Server Project Byron 14 Technologies YAHOO! Connection Manager (jQuery) var transaction = YAHOO.util.Connect.asyncRequest('GET', url, callback, null);

var callback = { success : function(request) { if (request.responseText) $('#content').append(request.responseText); var xml = request.responseXML; if (xml) { var root = xml.documentElement; var hits = $(root).find("#result-hits").attr("hits"); if (hits) { currentPage = 1; pageCount = hits; retrieveNext(xml.URL); } else $("#loader").hide(); } else $("#loader").hide(); return request.responseText; }, failure : requestFailed

}; Virginia Tech Morgan, Schutt Project Byron 15 Technologies CSS/HTML /* navigation bar style */ #nav_list { position: fixed; left: 40px; top: 250px; width: 150px; } .nav_item {

line-height: 16px; width: 170px; margin-top: 8px; margin-bottom: 0px; font-size: 12px; } Virginia Tech Morgan, Schutt

Project Byron 16 Technologies XQuery let $hits := document('/db/LBT/persons.xml') //tei:person/tei:persName[ft:query(., $query)] for $hit in $hits[position() = ($start + 1 to $end)] order by ft:score($hit) descending

Virginia Tech Morgan, Schutt Project Byron 17 Demonstration Virginia Tech Morgan, Schutt Project Byron 18 Demonstration

Virginia Tech Morgan, Schutt Project Byron 19 Demonstration Virginia Tech Morgan, Schutt Project Byron 20 Time-to-display Test #1 Display all persons whose last name begin with S

Test #2 Display details of Sir Walter Scott, baronet Test #3 Display correspondence of Sir Walter Scott, baronet Batch loads vs. One-time Test #4 Display all references to person (Sir Walter Scott, baronet) Unbatched Test #5 Search all documents for the term: Byron Virginia Tech Morgan, Schutt Project Byron

21 Time-to-display Time to Display and Populate 12000 10000 Time (ms) 8000 New Load Time New TTD Old Load Time Old TTD 6000 4000

2000 0 1 2 3 4 5 Test Number Virginia Tech Morgan, Schutt

Project Byron 22 Future Goals Roadmap for Further Development Continue migration to new architecture CSS Styling XQuery development Short courses and education on new technologies Virginia Tech Morgan, Schutt Project Byron 23

References and Links YAHOO! Connection Manager at http://developer.yahoo.com/yui/connection/ Virginia Tech Morgan, Schutt Project Byron 24

Recently Viewed Presentations

  • "Football at Slack" - PBworks

    "Football at Slack" - PBworks

    "Football at Slack" by Ted Hughes is a poem that makes you appreciate the positive aspects of the poem. "Football at Slack" is about a group of men playing football and the men battling against terrible weather conditions. Hughes uses...
  • CMPU1022 Operating Systems 1 - Damian T. Gordon

    CMPU1022 Operating Systems 1 - Damian T. Gordon

    If all 108 of you guys had a 10-page assignment you had to hand up by 11am and you all printed your files at the same time at 10:55am, the spool might first accept page 1 from everyone, then page...
  • Rhetorical Appeals

    Rhetorical Appeals

    When advertisements claim that their products are "37% more effective than the competition," they are making anappeal to logos. When a lawyer claims that her client is innocent because he had an alibi, that too is an appeal to logos...
  • Corporate Title - 36pt, Three Lines Max. Anchor: Bottom Left

    Corporate Title - 36pt, Three Lines Max. Anchor: Bottom Left

    Mark Po-Hung Lin. Comparison of detailed routing violations for best placement results in 2015 vs. 2014 ... Ivan Kissiov. Professor Evangeline Young and her student Wing-Kai Chow generously provided their . RippleDP. detailed placer to the contest.
  • Lecture #1 Outline Embedded System Design Laboratory  Welcome

    Lecture #1 Outline Embedded System Design Laboratory Welcome

    AVR AT90S8515 Pinout General Purpose Ports PORTA PORTB PORTC PORTD (Special Functions) Special Purpose Pins Crystal (XTAL1/XTAL2) RESET ICP, OLE, OC1B Power (VCC/GND) '8515 Functional Architecture 32 Registers (R0-R31) 4K Prog ROM 512 bytes RAM 512 bytes EEPROM 32 I/O...
  • Pan-Indian Movement against Westward Expansion

    Pan-Indian Movement against Westward Expansion

    Pan-Indian Movement against Westward Expansion. An Artist's Illustration of Tecumseh. By 1805, two Shawnee leaders Tecumseh and his half-brother Tenskwatawa (aka The Prophet) built a pan-Indian alliance among Northwest and Southern Native-American groups.
  • Basic Rendering Techniques - Alamance-Burlington School System

    Basic Rendering Techniques - Alamance-Burlington School System

    Texture Mapping. The term texture in 3D computer graphics refers to image patterns rather than the "feel" of materials.. The most basic type of texture is a 2D picture (often saved as a .jpeg, .bmp, or .tga file), which is...
  • Présentation PowerPoint

    Présentation PowerPoint

    McGill : 3. ème. by 2016 University Web Ranking. Large éventail de programmes Ingénieur, Commerce, Humanités et sciences sociales (Arts) Inscription sur dossier via internet (Minerva), clôture autour du 15 janvier. Moyenne requise 15 en ES 14.5 en S pour...