<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>From Flat Lists to Taxonomies: Bottom-up Concept Scheme Generation in Linked Statistical Data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Albert Meroño-Peñuela</string-name>
          <email>albert.merono@vu.nl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ashkan Ashkpour</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christophe Guéret</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Data Archiving and Networked Services</institution>
          ,
          <addr-line>KNAW, NL</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Computer Science, VU University Amsterdam</institution>
          ,
          <addr-line>NL</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>International Institute of Social History</institution>
          ,
          <addr-line>NL</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>RDF Data Cube allows the modeling and publishing of Linked Statistical Data (LSD) in the Semantic Web. Often, variable values of such statistical data come in a non-standardized way and represented by too narrow, concrete or wrongly typed literals. Generally, adequate and standard concept schemes for such variables (especially in very specific domains like historical religious denominations, or building types in the pre-industrial era) do not exist and need to be created. This is a manual task that requires lots of expert knowledge and time investment. We present a workflow that combines hierarchical clustering and semantic tagging to automatically build concept schemes in a data-driven and bottom-up way, leveraging lexical and semantic properties of the non-standard dimension values. We apply our workflow in two different use-cases and discuss its usefulness, limitations and possible improvements.</p>
      </abstract>
      <kwd-group>
        <kwd />
        <kwd>Linked Statistical Data</kwd>
        <kwd>Standardization</kwd>
        <kwd>Taxonomies</kwd>
        <kwd>Clustering</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Motivation. RDF Data Cube is the standard for publishing multidimensional data in
the Semantic Web, allowing linkage to other concepts and datasets in the so-called
Linked Statistical Data (LSD) cloud. Statistical datasets often come in
nonstandardized ways, making it difficult to deal with comparability: a variety of
dimension and value choices make it necessary to clean, correct and standardize the data
before working with it. A common standardization practice is the creation and use of
concept schemes. Some current concept schemes standardize common statistical
concepts [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. However, the lack of standard concept schemes in other domains is a great
bottleneck for LSD publishers that wish to leverage (and ensure) reusability of
concept scheme knowledge. Consequently, users are confronted with manual procedures
in order to put dimension values (or codes) into meaningful groups.
      </p>
      <p>Problem statement. Currently available concept schemes are not sufficient in
order to standardize LSD. Researchers have to deal with unstructured and
nonstandardized dimension values, and are moreover confronted with ‘information
deluge’, making the process of putting things into meaningful groups extremely
complicated and time consuming, even with expert knowledge. Tools aiding this concept
scheme building process for already published LSD are highly needed and
nonexistent, hampering the comparability and use of statistical datasets across the Web.</p>
      <p>Use-cases. To enhance comparability studies in social history, researchers have
been studying the dimension values of several historical LSD datasets. They have
great interest in proposing concept schemes for the standardization of historical
religious denominations and historical housing types.</p>
      <p>Contribution. We propose a highly reproducible, generalizable and scalable
workflow to automatically generate standard concept schemes from non-standardized
dimension values in LSD datasets in a bottom-up way. We leverage the intrinsic lexical
and semantic properties to propose meaningful classifications.</p>
      <p>Findings. We find that the combination of lexical hierarchical clustering and
semantic tagging of non-standard dimension values of our workflow provides useful
support to the knowledge expert in the concept scheme building process.</p>
      <p>The rest of the paper is organized as follows. We survey the related work in
Section 2. In Section 3 we propose a workflow to automatically construct concept
schemes from flat literals of non-standard values of dimensions in LSD. In Section 4
we present our experiments in Linked Census Data, before we conclude in Section 5.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        When working with non-standardized statistical data, the process of creating
classification systems has been a mostly manual job. Current classification practices are
therefore based mainly on data-driven, bottom-up, manual efforts by domain experts
[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Researchers which lack programming skills, budget or sometimes necessitated by
the data itself are bound to use (a combination of) different tools in order to clean,
filter, group and classify statistical data before its publication: this is the purpose of
OpenRefine [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. A set of clustering algorithms (defined as “finding groups of
different values that might be alternative representations of the same thing”1) are provided.
Perhaps [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] is the closest match to the taxonomical knowledge construction via
hierarchical clustering that we aim at, although fundamental differences apply with
respect to the input data (collections of documents instead of flat literal lists) of
different domains. Unfortunately, there is hardly any tool support available for conducting
this standardization: (a) in a purely Linked Data setting; and (b) standardizing values
after their publication as LOD in order to preserve both original and standard values.
      </p>
    </sec>
    <sec id="sec-3">
      <title>Bottom-up Construction of Concept Schemes</title>
      <p>We propose a workflow to automatically build bottom-up concept schemes from flat
lists of non-standardized dimension values in LSD. We aim at RDF Data Cubes that
need to preserve faithful representations of original source data: in such datasets, it is
not possible to standardize dimension values before converting to RDF Data Cubes.
The process is divided in five steps: retrieval of literals, hierarchical clustering,
semantic tagging, linking and serializing.</p>
      <p>
        https://github.com/OpenRefine/OpenRefine/wiki/Clustering-In-Depth
3
First, literals of the non-standardized dimension values need to be retrieved. Since we
are interested in building concept schemes in LSD, we use SPARQL queries that
follow the template shown in Figure 1 against RDF Data Cube [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] datasets. Once
executed, the resultset contains a list of unique non-standard dimension value literals.
PREFIX qb: &lt;http://purl.org/linked-data/cube#&gt;
PREFIX skos: http://www.w3.org/2004/02/skos/core#
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
SELECT DISTINCT ?dimValue ?literal
WHERE {
?obs a qb:Observation;
      </p>
      <p>eg:my-dim ?dimValue .
?dimValue skos:prefLabel|rdfs:label ?literal . }
Our hypothesis is that knowledge experts group disparate literals mostly on a string
similarity basis. Obviously, some literals may be grouped together for other reasons
(e.g. semantic similarity), and it is part of our study to understand which ratio of the
target concept scheme can be reached using lexical criteria only.</p>
      <p>
        Since concept schemes are taxonomies, we choose hierarchical clustering as our
method to build taxonomic relations between non-standard literals. We use the
resultset of the previous step as input for the hierarchical clustering algorithm included
in SciPy [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], and we use the Levenshtein edit distance [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] as a distance metric.
3.3
      </p>
      <sec id="sec-3-1">
        <title>Semantic Tagging</title>
        <p>An important task knowledge experts do when they build concept schemes is to label
upper categories (e.g. the cluster containing “Barracks”, “Arsenal”, and “Citadel”
may be named “Military buildings”). We suggest meaningful names for the output
clusters of the previous step by leveraging semantic resources like WordNet and
DBpedia. Concretely, we offer two alternatives for semantic tagging of clusters:
1. Term-based tagging. After the removal of stop words, we tokenize and
stem all literals under the same cluster and rank them according to their
appearance frequency. We use the top-1 token to query WordNet and DBpedia
to get all of its synset and skos:Concept, respectively. We use those as
suggestions to name the cluster.
2. Bag-of-words tagging. After the removal of stop words, we tokenize and
stem all literals under the same cluster. We query WordNet and DBpedia
using all tokens of all literals of the cluster, getting their synset and
skos:Concept. We leverage skos:broader relations to find the closest
common broader concept of all literals, and we use this concept as
suggestion to name the cluster.</p>
        <p>We consider all the descendant links below a cluster node k to belong to the same
cluster if k is the first node below the cut threshold t. We use t = 0.7 * max(d(k,
i)), where d(k,i) is the distance between the node k and any other node i.
3.4</p>
      </sec>
      <sec id="sec-3-2">
        <title>Linking 3.5</title>
      </sec>
      <sec id="sec-3-3">
        <title>Serializing</title>
        <p>After producing the concept scheme, we still need to link it to the original
nonstandard values. Since we have preserved the URIs of the original dimension values
(see Figure 1), issuing links between the two is an almost trivial task.</p>
        <p>
          Once we have produced the concept scheme and the links back to the original
dimension values, we serialize both datasets using SKOS [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] and RDF Data Cube [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ],
producing URIs for all new concepts.
4
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Experiments with Linked Census Data</title>
      <p>
        We use the workflow proposed in Section 3 to build bottom-up classifications of
nonstandard dimension values in the RDF Data Cube version of the Dutch Historical
Censuses dataset (CEDAR)2. This dataset is produced by TabLinker3, converting
Excel census tables to RDF Data Cube [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. We use our approach to build
classification schemes on top of non-standard dimension values in this dataset4.
4.1
      </p>
      <sec id="sec-4-1">
        <title>Input Data</title>
        <p>The CEDAR dataset covers a long time period (1795-1971) in which lots of religious
denominations were registered in a non-standard way. We aim at producing a
standard concept scheme to cover all these religious denominations5. Similarly, the census
also registered counts for houses, encoding a dimension house type in a non-standard
way. We aim at producing a standard concept scheme to cover all housing types6. Our
gold standards are classification schemes developed by knowledge experts on top of
the Dutch historical censuses. For historical religions, researchers manually
standardized and coded the variables belonging to the same religious denomination7. The final
outcome is a classification system of historical religions containing 210 unique
denominations. For historical house types, we use another expert-based classification
based on a manual and straightforward approach in which the terms are classified
according to their functions8. We compare the results of our proposed workflow with
these expert-crafted classifications.
2 See http://www.cedar-project.nl
3 See https://github.com/Data2Semantics/TabLinker/
4 See https://github.com/CEDAR-project/TabCluster/
5 See http://goo.gl/PSmIzy for the input religions
6 See http://goo.gl/Hsqwz0 for the input house types
7 See http://goo.gl/qT2vIX for the expert-based classification system of religions
8 See http://goo.gl/mt1dsn for the expert-based classification system of house types
4.2</p>
      </sec>
      <sec id="sec-4-2">
        <title>Results and Discussion</title>
        <p>We execute several times our workflow on the input datasets, exploring appropriate
parameter values for hierarchical clustering. We take the average term distance to
determine the distance between clusters. Figure 2 shows our resulting schemes9.</p>
        <p>We observe interesting groups being identified in the building types dataset. For
instance, the cluster containing the values “Klooster der Franciscanen”, “Klooster van
de orde der Franciscanessen” and “Klooster van de orde der Benedictijnen” clearly
identifies kloosters (monasteries), and gets appropriately
http://nl.dbpedia.org/resource/Klooster (and its English equivalent
http://dbpedia.org/resource/Monastery) as a semantic tag for the broader
category of the concept scheme. Similarly, instances of historical religions that identify
“Apostolic” or “Protestant” denominations are grouped together under the same
cluster. Interestingly, a purely lexical approach exploits the transitivity of some string
similarities (e.g. “Kazerne” and “Militair Ziekenhuis” are clustered together due to the
linking member “Militair Kazerne” of the same cluster). On the other hand, the purely
lexical clustering shows also its limitations when instances like “ziekenhuis”
(hospital), “armhuis” (poorhouse) or “weeshuis” (orphanage) are clustered together (due
their common suffix “-huis”) despite their notable semantic differences.</p>
        <p>Knowledge experts validating our workflow compare these results with the gold
standards, and see its usefulness when building concept schemes to standardize
historical statistical data. Concretely, they are interested in its application as a knowledge
9 See https://github.com/CEDAR-project/TabCluster/ for algorithm output.
support tool in the concept scheme building process. Accordingly, a key issue of the
process, covered by our workflow, is leveraging the combination of lexical and
semantic structuring. Experts truly think that a combination of both approaches is what
indeed goes on when they execute the process manually. It is to be seen, though, the
trustworthiness of our proposed workflow as a totally autonomous tool.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Conclusions and Future Work</title>
      <p>In this paper we present an automatic approach to generate concept schemes from
non-standard dimension values in Linked Statistical Data. We propose a workflow
that combines hierarchical clustering to leverage lexical relatedness, with the
enrichment from external knowledge bases to leverage semantic relatedness. As a result, we
produce concept schemes that knowledge experts can compare with their manually
generated ones. We plan to extend this work in multiple ways. First, we will
systematically compare our workflow output with the gold standards, in order to get
precision/recall scores that evaluate our approach. Second, we will execute the workflow
against arbitrary datasets, to confirm its domain independence. Third, we plan on
finding optimal values of the t threshold, here set by empirical exploration. Finally,
we will generalize our proposal by implementing additional clustering algorithms
(e.g. Latent Semantic Analysis) and other semantic methods for cluster tagging.
Acknowledgements. This work was supported by the Computational Humanities Programme of the
KNAW (see http://ehumanities.nl) and the Dutch national program COMMIT.
6</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Esteve</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sobek</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <article-title>Challenges and Methods of International Census Harmonization</article-title>
          .
          <source>Historical Methods</source>
          ,
          <volume>36</volume>
          (
          <issue>2</issue>
          ):
          <fpage>37</fpage>
          -
          <lpage>41</lpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Levenshtein</surname>
            ,
            <given-names>V. I.</given-names>
          </string-name>
          <article-title>Binary codes capable of correcting deletions, insertions, and reversals</article-title>
          .
          <source>Soviet Physics Doklady</source>
          <volume>10</volume>
          (
          <issue>8</issue>
          ):
          <fpage>707</fpage>
          -
          <lpage>710</lpage>
          ,
          <year>1966</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Jones</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Oliphant</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peterson</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          et al.
          <article-title>SciPy: Open source scientific tools for Python</article-title>
          . http://www.scipy.org/ (
          <year>2001</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>The RDF Data Cube</surname>
            <given-names>Vocabulary</given-names>
          </string-name>
          , World Wide Web Consortium. http://www.w3.org/TR/vocab-data-cube/ (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>SKOS</given-names>
            <surname>Simple Knowledge Organization System Reference</surname>
          </string-name>
          , World Wide Web Consortium. http://www.w3.org/TR/2009/REC-skos-reference-
          <volume>20090818</volume>
          / (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Meroño-Peñuela</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ashkpour</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rietveld</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hoekstra</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schlobach</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <article-title>Linked Humanities Data: The Next Frontier? A Case-study in Historical Census Data</article-title>
          . Linked Science workshop, ISWC (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Huynh</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mazzocchi</surname>
          </string-name>
          , S. OpenRefine. http://openrefine.org
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Knijff</surname>
          </string-name>
          , J. de,
          <string-name>
            <surname>Frasincar</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hoogenboom</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <article-title>Domain taxonomy learning from text: The subsumption method versus hierarchical clustering</article-title>
          .
          <source>Data &amp; Knowledge Engineering</source>
          ,
          <volume>83</volume>
          , pp.
          <fpage>54</fpage>
          -
          <lpage>69</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Meroño-Peñuela</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ashkpour</surname>
            , A., van Erp,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mandemakers</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Breure</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Scharnhorst</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schlobach</surname>
          </string-name>
          , S., van
          <string-name>
            <surname>Harmelen</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <article-title>Semantic Technologies for Historical Research: A Survey. Semantic Web Journal</article-title>
          (to appear) (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. SDMX Content Oriented Guidelines, http://sdmx.org/?page_id=
          <fpage>11</fpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>