DOI: 10.5281/zenodo.6477443
title: Web Data Commons (November 2018) Property and Datatype Usage Dataset

description: This is a dataset about the usage of properties and datatypes in the Web Data Commons RDFa, Microdata, Embedded JSON-LD, and Microformats Data Sets (November 2018) based on the Common Crawl November 2018 archive. The dataset has been produced using the RDF Property and Datatype Usage Scanner v2.1.1, which is based on the Apache Jena framework. Only RDFa and embedded JSON-LD data were considered, as Microdata and Microformats do not incorporate explicit datatypes. <strong>Dataset Properties</strong> <strong>Size</strong>: 22.2 MiB compressed, 569.6 MiB uncompressed, 2 608 325 rows plus 1 head line determined using <code class="language-bash">gunzip -c measurements.csv.gz | wc -l</code> <strong>Parsing Failures</strong>: The scanner failed to parse 4 135 842 triples (~0.077 %) of the source dataset (containing 5 367 569 192 triples). <strong>Content</strong>: CATEGORY: The category (<em>html-embedded-jsonld</em> or <em>html-rdfa</em>) of the Web Data Commons file that has been measured. FILE_URL: The URL of the Web Data Commons file that has been measured. MEASUREMENT: The applied measurement with specific conditions, one of: <strong>UnpreciseRepresentableInDouble</strong>: The number of lexicals that are in the lexical space but not in the value space of <code>xsd:double</code>. <strong>UnpreciseRepresentableInFloat</strong>: The number of lexicals that are in the lexical space but not in the value space of <code>xsd:float</code>. <strong>UsedAsDatatype</strong>: The total number of literals with the datatype. <strong>UsedAsPropertyRange</strong>: The number of statements that specify the datatype as range of the property. <strong>ValidDateNotation</strong>: The number of lexicals that are in the lexical space of <code>xsd:date</code>. <strong>ValidDateTimeNotation</strong>: The number of lexicals that are in the lexical space of <code>xsd:dateTime</code>. <strong>ValidDecimalNotation</strong>: The number of lexicals that represent a number with decimal notation and whose lexical representation is thereby in the lexical space of <code>xsd:decimal</code>, <code>xsd:float</code>, and <code>xsd:double</code>. <strong>ValidExponentialNotation</strong>: The number of lexicals that represent a number with exponential notation and whose lexical representation is thereby in the lexical space of <code>xsd:float</code>, and <code>xsd:double</code>. <strong>ValidInfOrNaNNotation</strong>: The number of lexicals that equals either <code>INF</code>, <code>+INF</code>, <code>-INF</code> or <code>NaN</code> and whose lexical representation is thereby in the lexical space of <code>xsd:float</code>, and <code>xsd:double</code>. <strong>ValidIntegerNotation</strong>: The number of lexicals that represent an integer number and whose lexical representation is thereby in the lexical space of <code>xsd:integer</code>, <code>xsd:decimal</code>, <code>xsd:float</code>, and <code>xsd:double</code>. <strong>ValidTimeNotation</strong>: The number of lexicals that are in the lexical space of <code>xsd:time</code>. <strong>ValidTrueOrFalseNotation</strong>: The number of lexicals that equal either <code>true</code> or <code>false</code> and whose lexical representation is thereby in the lexical space of <code>xsd:boolean</code>. <strong>ValidZeroOrOneNotation</strong>: The number of lexicals that equal either <code>0</code> or <code>1</code> and whose lexical representation is thereby in the lexical space of <code>xsd:boolean</code>, and <code>xsd:integer</code>, <code>xsd:decimal</code>, <code>xsd:float</code>, and <code>xsd:double</code>. <strong>Note</strong>: Lexical representation of <code>xsd:double</code> values in embedded JSON-LD got normalized to always use exponential notation with up to 16 fractional digits (see related code). Be careful by drawing conclusions from according <strong>Valid…</strong> and <strong>Unprecise…</strong> measures. PROPERTY: The property that has been measured. DATATYPE: The datatype that has been measured. QUANTITY: The count of statements that fulfill the condition specified by the measurement per file, property and datatype. <strong>Preview</strong> <pre><code>"CATEGORY","FILE_URL","MEASUREMENT","PROPERTY","DATATYPE","QUANTITY" "html-rdfa","http://data.dws.informatik.uni-mannheim.de/structureddata/2018-12/quads/dpef.html-rdfa.nq-00000.gz","UnpreciseRepresentableInDouble","https://www.w3.org/2006/vcard/ns#longitude","https://www.w3.org/2001/XMLSchema#float","4" "html-rdfa","http://data.dws.informatik.uni-mannheim.de/structureddata/2018-12/quads/dpef.html-rdfa.nq-00000.gz","UnpreciseRepresentableInDouble","https://www.w3.org/2006/vcard/ns#latitude","https://www.w3.org/2001/XMLSchema#float","4" "html-rdfa","http://data.dws.informatik.uni-mannheim.de/structureddata/2018-12/quads/dpef.html-rdfa.nq-00000.gz","UnpreciseRepresentableInDouble","https://purl.org/goodrelations/v1#hasCurrencyValue","https://www.w3.org/2001/XMLSchema#float","6" "html-rdfa","http://data.dws.informatik.uni-mannheim.de/structureddata/2018-12/quads/dpef.html-rdfa.nq-00000.gz","UnpreciseRepresentableInDouble","http://purl.org/goodrelations/v1#hasCurrencyValue","http://www.w3.org/2001/XMLSchema#floatfloat","8" "html-rdfa","http://data.dws.informatik.uni-mannheim.de/structureddata/2018-12/quads/dpef.html-rdfa.nq-00000.gz","UnpreciseRepresentableInDouble","https://opengraphprotocol.org/schema/latitude","http://www.w3.org/2001/XMLSchema#string","30" … "html-embedded-jsonld","http://data.dws.informatik.uni-mannheim.de/structureddata/2018-12/quads/dpef.html-embedded-jsonld.nq-00734.gz","ValidZeroOrOneNotation","http://schema.org/numberOfItems","http://www.w3.org/2001/XMLSchema#integer","40" "html-embedded-jsonld","http://data.dws.informatik.uni-mannheim.de/structureddata/2018-12/quads/dpef.html-embedded-jsonld.nq-00734.gz","ValidZeroOrOneNotation","http://schema.org/ratingValue","http://www.w3.org/2001/XMLSchema#integer","431" "html-embedded-jsonld","http://data.dws.informatik.uni-mannheim.de/structureddata/2018-12/quads/dpef.html-embedded-jsonld.nq-00734.gz","ValidZeroOrOneNotation","http://schema.org/width","http://www.w3.org/2001/XMLSchema#integer","122" "html-embedded-jsonld","http://data.dws.informatik.uni-mannheim.de/structureddata/2018-12/quads/dpef.html-embedded-jsonld.nq-00734.gz","ValidZeroOrOneNotation","http://schema.org/minValue","http://www.w3.org/2001/XMLSchema#integer","63" "html-embedded-jsonld","http://data.dws.informatik.uni-mannheim.de/structureddata/2018-12/quads/dpef.html-embedded-jsonld.nq-00734.gz","ValidZeroOrOneNotation","http://schema.org/pageEnd","http://www.w3.org/2001/XMLSchema#integer","139" </code></pre> <strong>Note</strong>: The data contain malformed IRIs, like "<code>xsd:dateTime</code>" (instead of probably "<code>http://www.w3.org/2001/XMLSchema#dateTime</code>"), which are caused by missing namespace definitions in the original source website. <strong>Reproduce</strong> To reproduce this dataset checkout the RDF Property and Datatype Usage Scanner v2.1.1 and execute: <pre><code class="language-bash">mvn clean package java -jar target/Scanner.jar --category html-rdfa --list http://webdatacommons.org/structureddata/2018-12/files/html-rdfa.list November2018 java -jar target/Scanner.jar --category html-embedded-jsonld --list http://webdatacommons.org/structureddata/2018-12/files/html-embedded-jsonld.list November2018 ./measure.sh November2018 # Wait until the scan has completed. This will take a few days java -jar target/Scanner.jar --results ./November2018/measurements.csv.gz November2018 </code></pre>