Profiling Web ArchivesProfiling Web Archives
Michael L. Nelson
Ahmed AlSum, Michele C. Weigle
Herbert Van de Sompel, David Rosenthal
IIPC General Assembly
Paris, France, May 21, 2014
1
Where's that issue
with the Afghan girl?
7
8
9
Prior IIPC Memento Aggregator ProjectPrior IIPC Memento Aggregator Project
• Ten IIPC archives, led by LANL
• Conceived at 2011 IIPC meeting
• Results reported at 2012 IIPC meeting
o http://netpreserve.org/sites/default/files/resources/Sanderson.pdf
• Two highlights:
Stop and Rethink…Stop and Rethink…
• LANL's processing was informative from a
"big data" perspective, but was neither
scalable nor sustainable
o "send us your CDX" == hard for both parties
o there are lots of URIs in the world
• Will only get worse with:
o more archives…
o …doing more archiving
Leverage Memento AggregatorsLeverage Memento Aggregators
• Memento aggregator currently broadcast
URI lookups to all known archives
• New approach:
1. build profiles based on sampling from URI lookups
(optionally supplement with CDX files when available)
2. Use archive profiles for informing Memento
aggregator "query routing" decisions
3. Share serialized profiles with other IIPC partners
http://mementoproxy.lanl.gov/aggr/timemap/link/1/http://www.bnf.fr/
Profiling StudiesProfiling Studies
• TPDL 2013
o 12 archives, March 2013, public web archives used
but techniques apply generally
o sampling only, no CDX access
• IJDL 2014 (to appear)
o 15 archives (+4, -1), October 2013
o slightly larger sample URI dataset
o results similar
URI Lookup = Limited InformationURI Lookup = Limited Information
16
GET /aggr/timegate/http://www.bnf.fr/ HTTP/1.1
Host: mementoproxy.lanl.gov
Accept-Datetime: Sun, 29 May 2005 02:46:53 GMT
Accept-Language: fr; q=1.0, en; q=0.5
…
1. Original URI
2. Memento-Datetime
3. Preferred URI
2
1
3
Where to find Mementos for …Where to find Mementos for …
17
http://www.japantimes.co.jp/
Where to find Mementos for …Where to find Mementos for …
18
http://www.japantimes.co.jp/
Where to find Mementos for …Where to find Mementos for …
19
http://www.bnf.fr
Where to find Mementos for …Where to find Mementos for …
20
http://www.bnf.fr
Research QuestionResearch Question
Problem
• Profile public web archives according to the following
dimensions:
o Top-level domains
o Languages
o Growth rate
o Archival date
Motivation
• Determine who is archiving what
• Optimize query routing for a Memento Aggregator
21
Web Archives in this ExperimentWeb Archives in this Experiment
Full text URI-lookup
Internet Archive √
Library of Congress √
Icelandic Web Archive √
Library and Archives Canada √ √
British Library √ √
UK National Library √ √
Portuguese Web Archive √ √
Web Archive of Catalonia √ √
Croatian Web Archive √ √
Archive of the Czech Web √ √
National Taiwan University √ √
Archive It √ √
22
Experiment Set UpExperiment Set Up
• Sample URIs from seven different sources
• Retrieve the TimeMap for each URI from all archives
o A TimeMap lists all Mementos for a given URI
o A Memento is an archived version of a resource
• Analyze who has holdings for which URIs
23
Sampling URIs - DMOZSampling URIs - DMOZ
1. DMOZ:Random
o 10,000 URIs randomly sampled from DMOZ directory (~5M URIs).
2. DMOZ:TLD - 2% for each TLD from DMOZ or 100 URIs
whichever is greater
o 52 TLDs (com 23,470) (de 6,332), (org 4,025), (uk 3,309), (net
2,073), (it 1,775), (jp 1379), (ru 1244), (fr 1154), (pl 1062), (au
764), (ca 642), (at 438), (edu 390), (cz 385), (tr 334), (info 319),
(cn 278), (us 266), (nz 265), (es 238), (ar 213), (no 150), (br 149),
(tw 141), (za 118), (fi 113), ( 100 URIs for [ae, cat, cl, cu, eg, gov,
id, in, ir, is, ke, kr, ma, mt, mx, my, na, pe, pk, pt, sa, to, uy,
zw])
3. DMOZ:Languages - 100 URIs for each language
1. 24 languages: Icelandic, Portuguese, Catalan, Afrikaans,
Arabic, Indonesian, Chinese (Simplified), Chinese (Traditional),
Dutch, Spanish, French, Greek, Hindi, Italian, Japanese,
Korean, Norwegian, Persian, Polish , Russian, Turkish,
Ukrainian 24
• Query the fulltext search interface of select web archives
with two sets of query terms.
4. Top 1-Gram from Bing
o Most are English
4. Top 1000 query terms from Yahoo in 9 languages
o Excluding general keywords such as: Obama, Facebook.
25
Sampling URIs – Web Archives Full TextSampling URIs – Web Archives Full Text
26
Sampling URIs – Web Archives Full TextSampling URIs – Web Archives Full Text
27
Sampling URIs – Web Archives Full TextSampling URIs – Web Archives Full Text
Sampling URIs – User RequestsSampling URIs – User Requests
• Sampling from user requests for archived web resources
6. Sample from IA Wayback Machine Log files
o 1,000 URIs randomly sampled from Feb 22, 2012 to Feb 26,
2012.
6. Sample from Memento Aggregator log files
o 100 URIs randomly sampled from LANL Memento Aggregator
between 2011 to 2013.
28
Archive Coverage per SampleArchive Coverage per Sample
29
1
0
0
%
3
5
%
Entire Sample
TLD Coverage across Archives (1)TLD Coverage across Archives (1)
30
Entire Sample
TLD Coverage across Archives (2)TLD Coverage across Archives (2)
31
Entire Sample
TLD Distribution per ArchiveTLD Distribution per Archive
32
DMOZ:TLD Sample
TLD Distribution per ArchiveTLD Distribution per Archive
33
Web Archives Full Text Sample
Language Coverage per ArchiveLanguage Coverage per Archive
34
DMOZ Sample
Archive Growth RateArchive Growth Rate
35
Entire Sample
Query Routing EvaluationQuery Routing Evaluation
36
Study ResultsStudy Results
• Introduced sampling to profile web archives using
available infrastructure, no privileged access
• Coverage:
o Internet Archive provides broad coverage
o National archives have good coverage for their domains
o Surprising coverage by certain archives
• Query Routing:
o In 84% of the cases, all existing Mementos for a TLD can be
found by using IA and two additional top archives for a TLD
o In 55% of the cases, all existing Mementos for a TLD can be
found by using the top 3 archives for a TLD, excluding IA
37
Next Steps With the IIPCNext Steps With the IIPC
38
• Finding the right granularity
o too fine:
http://www.bnf.fr/fr/evenements_et_culture/a.passe_bnf.html
o too coarse: .fr
o just right?: bnf.fr, www.bnf.fr, gallica.bnf.fr, www.bnf.fr/fr/
• Generating profiles
o what are desirable / representative sample sets: domains,
languages, regions, etc. -- what's missing?
o local CDX analysis tools (can help with cold start problem)
• Profile format
o community input (yet another metadata format)
o github (or other tools) for exchange & integration
{"Profile":{
"Name":"Taiwan Web Archive",
"URI":"http://webarchive.lib.ntu.edu.tw",
"TimeGate":
"http://mementoproxy.cs.odu.edu/tw/timegate/",
"Code":"TW",
"Age":"Tue, 15 Jul 1997 00:00:00 GMT",
"TLD":[{"tw":0.6},{"cn":0.08},{"hk":0.04},
{"eg":0.04},{"gov":0.04},{"my":0.04},
{"jp":0.04},{"kr":0.02}],
"Language":[{"zh-TW":0.5},{"zh-CN":0.25},
{"id":0.08},{"ar":0.08}],
"GrowthRate":[
{"199707":[4,4]},{"200202":[1,1]},
{"200607":[30,62]},{"200608":[20,80]},
{"200609":[5,9]},{"200612":[77,129]},
... // other values truncated
{"201308":[7,94]},{"201309":[2,94]}]
}
}
A Possible SerializationA Possible Serialization
{Light, Dim, Dark} Archives{Light, Dim, Dark} Archives
42
• Work to date has assumed light archives
because our focus has been on sampling
archives we don't control
• Applicable to a continuum of archives:
o download/fork and run "dark-sample.py"
o it accesses sample URIs from IIPC github
o issues URI lookups to local archive
o write/update your archive profile in IIPC github with machine
readable IP restrictions
o all profiles -- light/dim/dark -- now available to Memento
aggregators and other IIPC analysis tools
Profiles = Easy Discovery, SharingProfiles = Easy Discovery, Sharing
http://netpreserve.org/aggr/timemap/link/1/http://www.bnf.fr/

Profiling Web Archives

  • 1.
    Profiling Web ArchivesProfilingWeb Archives Michael L. Nelson Ahmed AlSum, Michele C. Weigle Herbert Van de Sompel, David Rosenthal IIPC General Assembly Paris, France, May 21, 2014 1
  • 6.
    Where's that issue withthe Afghan girl?
  • 7.
  • 8.
  • 9.
  • 10.
    Prior IIPC MementoAggregator ProjectPrior IIPC Memento Aggregator Project • Ten IIPC archives, led by LANL • Conceived at 2011 IIPC meeting • Results reported at 2012 IIPC meeting o http://netpreserve.org/sites/default/files/resources/Sanderson.pdf • Two highlights:
  • 13.
    Stop and Rethink…Stopand Rethink… • LANL's processing was informative from a "big data" perspective, but was neither scalable nor sustainable o "send us your CDX" == hard for both parties o there are lots of URIs in the world • Will only get worse with: o more archives… o …doing more archiving
  • 14.
    Leverage Memento AggregatorsLeverageMemento Aggregators • Memento aggregator currently broadcast URI lookups to all known archives • New approach: 1. build profiles based on sampling from URI lookups (optionally supplement with CDX files when available) 2. Use archive profiles for informing Memento aggregator "query routing" decisions 3. Share serialized profiles with other IIPC partners http://mementoproxy.lanl.gov/aggr/timemap/link/1/http://www.bnf.fr/
  • 15.
    Profiling StudiesProfiling Studies •TPDL 2013 o 12 archives, March 2013, public web archives used but techniques apply generally o sampling only, no CDX access • IJDL 2014 (to appear) o 15 archives (+4, -1), October 2013 o slightly larger sample URI dataset o results similar
  • 16.
    URI Lookup =Limited InformationURI Lookup = Limited Information 16 GET /aggr/timegate/http://www.bnf.fr/ HTTP/1.1 Host: mementoproxy.lanl.gov Accept-Datetime: Sun, 29 May 2005 02:46:53 GMT Accept-Language: fr; q=1.0, en; q=0.5 … 1. Original URI 2. Memento-Datetime 3. Preferred URI 2 1 3
  • 17.
    Where to findMementos for …Where to find Mementos for … 17 http://www.japantimes.co.jp/
  • 18.
    Where to findMementos for …Where to find Mementos for … 18 http://www.japantimes.co.jp/
  • 19.
    Where to findMementos for …Where to find Mementos for … 19 http://www.bnf.fr
  • 20.
    Where to findMementos for …Where to find Mementos for … 20 http://www.bnf.fr
  • 21.
    Research QuestionResearch Question Problem •Profile public web archives according to the following dimensions: o Top-level domains o Languages o Growth rate o Archival date Motivation • Determine who is archiving what • Optimize query routing for a Memento Aggregator 21
  • 22.
    Web Archives inthis ExperimentWeb Archives in this Experiment Full text URI-lookup Internet Archive √ Library of Congress √ Icelandic Web Archive √ Library and Archives Canada √ √ British Library √ √ UK National Library √ √ Portuguese Web Archive √ √ Web Archive of Catalonia √ √ Croatian Web Archive √ √ Archive of the Czech Web √ √ National Taiwan University √ √ Archive It √ √ 22
  • 23.
    Experiment Set UpExperimentSet Up • Sample URIs from seven different sources • Retrieve the TimeMap for each URI from all archives o A TimeMap lists all Mementos for a given URI o A Memento is an archived version of a resource • Analyze who has holdings for which URIs 23
  • 24.
    Sampling URIs -DMOZSampling URIs - DMOZ 1. DMOZ:Random o 10,000 URIs randomly sampled from DMOZ directory (~5M URIs). 2. DMOZ:TLD - 2% for each TLD from DMOZ or 100 URIs whichever is greater o 52 TLDs (com 23,470) (de 6,332), (org 4,025), (uk 3,309), (net 2,073), (it 1,775), (jp 1379), (ru 1244), (fr 1154), (pl 1062), (au 764), (ca 642), (at 438), (edu 390), (cz 385), (tr 334), (info 319), (cn 278), (us 266), (nz 265), (es 238), (ar 213), (no 150), (br 149), (tw 141), (za 118), (fi 113), ( 100 URIs for [ae, cat, cl, cu, eg, gov, id, in, ir, is, ke, kr, ma, mt, mx, my, na, pe, pk, pt, sa, to, uy, zw]) 3. DMOZ:Languages - 100 URIs for each language 1. 24 languages: Icelandic, Portuguese, Catalan, Afrikaans, Arabic, Indonesian, Chinese (Simplified), Chinese (Traditional), Dutch, Spanish, French, Greek, Hindi, Italian, Japanese, Korean, Norwegian, Persian, Polish , Russian, Turkish, Ukrainian 24
  • 25.
    • Query thefulltext search interface of select web archives with two sets of query terms. 4. Top 1-Gram from Bing o Most are English 4. Top 1000 query terms from Yahoo in 9 languages o Excluding general keywords such as: Obama, Facebook. 25 Sampling URIs – Web Archives Full TextSampling URIs – Web Archives Full Text
  • 26.
    26 Sampling URIs –Web Archives Full TextSampling URIs – Web Archives Full Text
  • 27.
    27 Sampling URIs –Web Archives Full TextSampling URIs – Web Archives Full Text
  • 28.
    Sampling URIs –User RequestsSampling URIs – User Requests • Sampling from user requests for archived web resources 6. Sample from IA Wayback Machine Log files o 1,000 URIs randomly sampled from Feb 22, 2012 to Feb 26, 2012. 6. Sample from Memento Aggregator log files o 100 URIs randomly sampled from LANL Memento Aggregator between 2011 to 2013. 28
  • 29.
    Archive Coverage perSampleArchive Coverage per Sample 29 1 0 0 % 3 5 % Entire Sample
  • 30.
    TLD Coverage acrossArchives (1)TLD Coverage across Archives (1) 30 Entire Sample
  • 31.
    TLD Coverage acrossArchives (2)TLD Coverage across Archives (2) 31 Entire Sample
  • 32.
    TLD Distribution perArchiveTLD Distribution per Archive 32 DMOZ:TLD Sample
  • 33.
    TLD Distribution perArchiveTLD Distribution per Archive 33 Web Archives Full Text Sample
  • 34.
    Language Coverage perArchiveLanguage Coverage per Archive 34 DMOZ Sample
  • 35.
    Archive Growth RateArchiveGrowth Rate 35 Entire Sample
  • 36.
    Query Routing EvaluationQueryRouting Evaluation 36
  • 37.
    Study ResultsStudy Results •Introduced sampling to profile web archives using available infrastructure, no privileged access • Coverage: o Internet Archive provides broad coverage o National archives have good coverage for their domains o Surprising coverage by certain archives • Query Routing: o In 84% of the cases, all existing Mementos for a TLD can be found by using IA and two additional top archives for a TLD o In 55% of the cases, all existing Mementos for a TLD can be found by using the top 3 archives for a TLD, excluding IA 37
  • 38.
    Next Steps Withthe IIPCNext Steps With the IIPC 38 • Finding the right granularity o too fine: http://www.bnf.fr/fr/evenements_et_culture/a.passe_bnf.html o too coarse: .fr o just right?: bnf.fr, www.bnf.fr, gallica.bnf.fr, www.bnf.fr/fr/ • Generating profiles o what are desirable / representative sample sets: domains, languages, regions, etc. -- what's missing? o local CDX analysis tools (can help with cold start problem) • Profile format o community input (yet another metadata format) o github (or other tools) for exchange & integration
  • 39.
    {"Profile":{ "Name":"Taiwan Web Archive", "URI":"http://webarchive.lib.ntu.edu.tw", "TimeGate": "http://mementoproxy.cs.odu.edu/tw/timegate/", "Code":"TW", "Age":"Tue,15 Jul 1997 00:00:00 GMT", "TLD":[{"tw":0.6},{"cn":0.08},{"hk":0.04}, {"eg":0.04},{"gov":0.04},{"my":0.04}, {"jp":0.04},{"kr":0.02}], "Language":[{"zh-TW":0.5},{"zh-CN":0.25}, {"id":0.08},{"ar":0.08}], "GrowthRate":[ {"199707":[4,4]},{"200202":[1,1]}, {"200607":[30,62]},{"200608":[20,80]}, {"200609":[5,9]},{"200612":[77,129]}, ... // other values truncated {"201308":[7,94]},{"201309":[2,94]}] } } A Possible SerializationA Possible Serialization
  • 42.
    {Light, Dim, Dark}Archives{Light, Dim, Dark} Archives 42 • Work to date has assumed light archives because our focus has been on sampling archives we don't control • Applicable to a continuum of archives: o download/fork and run "dark-sample.py" o it accesses sample URIs from IIPC github o issues URI lookups to local archive o write/update your archive profile in IIPC github with machine readable IP restrictions o all profiles -- light/dim/dark -- now available to Memento aggregators and other IIPC analysis tools
  • 43.
    Profiles = EasyDiscovery, SharingProfiles = Easy Discovery, Sharing http://netpreserve.org/aggr/timemap/link/1/http://www.bnf.fr/