Web Data Commons - August 2012 Corpus - Download Instructions

This document contains instructions on how to access the August 2012 version of the Web Data Commons corpus as well as detailed statistics about the vocabularies that are used within the corpus.

Contents

Download the Extracted RDF Data

The extracted RDFa, Microdata and Microformat data is provided for download as N-Quads. Files are compressed using GZIP and each file is around 100 MB large. Overall, 1,416 files with a total size of 101 GB are provided.

List of download URLs for RDF from the August 2012 corpus (Example Content)

The extracted RDF data can be downloaded using wget with the command wget -i http://webdatacommons.org/structureddata/2012-08/stats/files.list

In order to make it easier to find data from a specific website or specific top-level-domain, the N-Quad within the files are ordered by top-level-domain and pay-level-domain and listed in index files. The indexes consist of tab-separated values having the following structure: tld pld quad-file-name first-line last-line. The first column represents the top-level-domain, the second column the pay-level-domain, the third column the quad-file which contains the data that has been extracted from the pay-level-domain. The fourth and fifth column specify the first and the last line in the file that contains the data belonging to a specific pay-level-domain.

FormatNumber of FilesNumber of QuadsIndexfile
html-rdfa2561,079,175,202html-rdfa.nq.index.gz (~7 MB)
html-microdata4011,488,063,426html-microdata.nq.index.gz (~2 MB)
html-mf-geo632,722,603html-mf-geo.nq.index.gz (~0.6 MB)
html-mf-hcalendar75142,975,309html-mf-hcalendar.nq.index.gz (~0.5 MB)
html-mf-hcard5013,547,824,107html-mf-hcard.nq.index.gz (~20 MB)
html-mf-hrecipe1050,898,293html-mf-hrecipe.nq.index.gz (~37 KB)
html-mf-hlisting1597,711,757html-mf-hlisting.nq.index.gz (~60 KB)
html-mf-hresume1678,097html-mf-hresume.nq.index.gz (~18 KB)
html-mf-hreview65207,589,518html-mf-hreview.nq.index.gz (~300 KB)
html-mf-species1127,568html-mf-species.nq.index.gz (~1 KB)
html-mf-xfn75703,188,115html-mf-xfn.nq.index.gz (~6 MB)

Download the Website-Class-Property Matrixes

In order to make it easy for third parties to investigate the usage of different vocabularies and to generate seed-lists for focused crawling endeavors, we have generated a Website-Class-Property matrix for each format. The matrixes show which vocabulary term (class/property) is used by which website. The matrixes are provided as ARFF-files. Within the files, each website is represented by a single line containing the pay-level-domain name as well as binary values indicating whether the website uses a specific vocabulary term or not. If a website uses a class or property, the value is 1, 0 otherwise. SampleMatrix.arff shows the structure of the website-class-property matrixes. The matrixes cover all classes that are used by at least 5 different websites as well as all properties that are used by at least 10 different websites. Due to processing reasons we replaced the property/class identfier by its rank in the PLD list (e.g. schema.org/Product is replaced by type-4 as its the fourth most used Microdata class based on PLDs). The ranking can be found in the Co-Occurrence Matrix of the corresponding format.


RDFa Matrix (12 MB - arff)
Microdata Matrix (4.4 MB - arff)
Microformats Matrix (29 MB - arff)

Download the Class-Property-Co-occurrence Matrixes

For each class, we have generated a vector indicating how many websites use specific properties together with this class. These vectors allow you to get an impression about the richness of the published data. The vectors are provided as Microsoft Excel files. The files cover all classes that are used by at least 5 website and all properties that are used by at least 10 websites.


RDFa Co-Occurrence Matrix (0.5 MB - xlsx)
Microdata Co-Occurrence Matrix (1.7 MB - xlsx)
Microformts Co-Occurrence Matrix (32 KB - xlsx)

Download the Raw Extraction Statistics

In addition to the aggregated statistics described above, we also provide the raw extraction statistics which indicate how many triples were found in each HTML page of the Common Crawl. The raw statistics also enable you to locate the Common Crawl .arc file that contains a specific HTML page. Be warned that the raw statistic files are rather large and advised to use a parser which is able to skip invalid lines, since they could be present in the files. The files contain the following tab-separated columns (not in this order):

Source Data Columns

Result Data Columns

Sample Extraction Statistic File (tab-separated file)
Extraction Statistic File Header (tab-separated file)
Extraction Statistic File (17 GB) (tab-separated file)

Get the Code

The source code can be checked out from our Github repository. For more information about the framework and a detailed description how to run a own extraction visit the framework page.
The code for the analysis of the quads can be checked out from the StructuredDataProfiler Github repository.

Get Support

Please send questions and feedback to the Web Data Commons mailing list or post them in our Web Data Commons Google Group.