160 likes | 243 Views
DDBC Authority Database Web Services & Widgets. Jen- Jou Hung Assistant Professor Dharma Drum Buddhist College PNC/ECAI 2009 (2009.10.06) . A Data-Sharing/Integrating Idea of Digital Archive Projects. Digital Archive Projects = Silos?. We have already built up many silos.
E N D
DDBC Authority Database Web Services & Widgets Jen-Jou Hung Assistant Professor Dharma Drum Buddhist College PNC/ECAI 2009 (2009.10.06) A Data-Sharing/Integrating Idea of Digital Archive Projects
Digital Archive Projects = Silos? • We have already built up many silos. • How to integrate these silos?
Common Portal Site Meta Data Meta Data Meta Data Meta Data Meta Data Meta Data Meta Data Meta Data
Integration = Data Sharing • What is in our mind take data form one digital archive integrate into other digital archive get a content enriched digital archive
The Most Common Data-Sharing Way • Provide Data on Internet for downloading • Database Dump • Technical Documents • After downloading data • to understand the structure and logic of downloaded data. • to write a program to transform the downloaded data into the your data structure. • to write another program to make sure the transformation does not lost any required information.
The drawback of using data-dump-share • Need time to understand data and write programs. • data won’t update automatically. To keep data fresh, continually migrating new data dump is required. (static share) • Once the data structure of the new release data dump changing, the data migrating program might need to be changed too.
Dynamic Data Sharing • A better model for sharing data: • have an easy way to migrate data into other system • independent from the data structure of source data • data will be automatically updated once the source changed (dynamic share)
Data Access service • Providing data access service instead of only data dump. • Project access required data through services • No need to understand the complicate structure of data in backend. • Always get the newest data. Access Required Data on demand Data Data Data Access Service
Web Services (Web API) • Google Map is the most famous example. • People use Google map api in a web application to access required map(data) from Google server. • Other famous web APIs: • YouTube API • Google Search API • Yahoo Search API • Facebook API • Flickr API • Twitter API
Digital Archive Networks • When digital archives link together(mashup) Request Response Access Multiple Digital Archive at once.
DDBC Authority Database Web Services/Widgets • Easiest way to use DDBC authority database data (http://authority.ddbc.edu.tw/docs) • Web service: • Annotation Service • Widgets: • Date Selector • Person Selector • Place Selector
Annotation Service • Provide annotation for time, person, place entities • Only TwoSteps: Includes a java-script package reference in your html <script type="text/javascript“ src="http://authority.ddbc.edu.tw/webwidget/popup.js"> </script> Mark-up the authority entry with special tag: <span class="iba:ddbc:authDate" id=“j17488711749224"> <span class="iba:ddbc:authDate" id=“s+0300-01-01+0399-12-31"> <span class=“iba:ddbc:authPerson” id=“A001583“ > <span class="iba:ddbc:authPlace" id=“CN0610102Z01AA“> Demo
Date Selector • Help web applications to construct Chinese date input facility • A web widget, which allows user to specify a period of time by selecting from a set of dropdown boxes which contains detail Chinese calendar data. • The widget will send back the begin and the end date in Julian Date number(JDN) format. Demo
Person Selector • Help web applications to construct person input facility • Allow users input just part of person’s name, and popup a box Demo • contains a list of all possible candidates. • The return value is the authority id of selected person.
Place Selector • Help web applications to construct Place input facility • A visualization tool which allows user to select a geographical region by drop and draw in a map. Demo • System will return the coordinates of Top-left and bottom-right points. • Providecoordinates of historical Chinese cities.
Thank you. DDBC Web Services: http://authority.ddbc.edu.tw/docs