<!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>Linked Data and facets to explore text corpora in the Humanities: a case study</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Semedia, Department of Information Engineering (DII), Universita Politecnica delle Marche</institution>
          ,
          <addr-line>Ancona</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Faceted search and browsing is an intuitive and powerful way of traversing a structured knowledge base and has been applied with success in many contexts. The GramsciSource project is currently investigating how faceted navigation and Linked Data can be combined to help Humanities scholars in working with digital text corpora. In this short paper we focus on the "Quaderni dal carcere" by Antonio Gramsci, one of the most popular Italian philosophers and politicians, we present our ongoing work and we discuss our approach. This consists of rst building a RDF graph to encode di erent "levels" of knowledge about the texts and then extracting relevant graph paths to be used as navigation facets. We then built a rst prototype exploration tool with a two-fold objective: a) allow non experts to make sense of the extremely fragmented and multidisciplinary text corpus, and b) allow Gramsci scholars to easily select a subset of the corpus of interest as well as possibly discovering new insights or answer research questions.</p>
      </abstract>
      <kwd-group>
        <kwd>Faceted browsing</kwd>
        <kwd>Digital Humanities</kwd>
        <kwd>Entity Extraction</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>text with references to speci c Gramsci's Notes from the Quaderni dal Carcere.
We automatically processed such citations using regular expressions and
producing RDF triples representing such connections, expressing relations among
single notes and a number of dictionary topics they are relevant to.</p>
      <p>
        Entity extraction and linking. Several approaches and tools for
extracting and disambiguating relevant entities mentioned in a text appeared in the
last years. Among them, DataTXT4 is, to our knowledge, one of the best tools
supporting Italian language. DataTXT derives from previous academic research
[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], makes use of Wikipedia to disambiguate matched entities and to link them
to the Italian DBPedia and proved to be highly performant even on very short
texts. Running such a entity extraction tool on all the notes resulted in over
2,038 notes (50%of the total number) annotated with at least one entity and a
total of 43,000 entities matched. After a manual revision of the results we
removed around 30 entities that were clearly wrong matches. We then inspected
80 random notes (2% of the total number of notes) and measured an accuracy
of around 85%. Extracted entities span 144 di erent entity rdf:types and 5,876
distinct dc:types (which can be considered as entities categories). A more
accurate evaluation of the results a well as a better tuning of the tool are goals for
the next stage of the project.
      </p>
      <p>Scholars annotations. Pundit5 is a semantic web tool that enables users
to produce machine readable data in the form of RDF by annotating web pages.
Annotations from a single scholar are collected in so called "notebooks", which
can be private or public. For the purpose of our proof of concept we created a
set of sample annotations by manually linking texts to DBpedia and Freebase
entities. At data representation level, such annotations are equivalent to those
produced by DataTXT, once imported they are naturally captured by the facet
queries (discussed in the next section).</p>
    </sec>
    <sec id="sec-2">
      <title>4 https://dandelion.eu/products/datatxt/ 5 http://thepund.it</title>
      <p>Linked Data and facets to explore text corpora in the Humanities</p>
      <sec id="sec-2-1">
        <title>Faceted search prototype</title>
        <p>
          Existing approaches to identify relevant facets to browse a RDF graph based on
quantitative measures such as predicate frequency, balance and objects
cardinality [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]. This kind of approaches do not account for informative content of a
facet and only consider facets derived from a set of triples with the same
predicate. In the general case, however, relevant facets could be derived from more
complex paths in the graph. Approaches to automatic facets extraction in such
a general case have been recently proposed [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] and we plan to investigate their
applicability in the near future.
        </p>
        <p>
          Our simple approach is to derive facets from SPARQL queries of the form:
select distinct ?url ?facet ?value where { CUSTOM_QUERY }
Where ?url is a resource of interest (notes in our case), ?facet is a facet name
and ?value is a possible value of such a facet. Such a simple approach is also
quite exible and allows, for example, to easily turn all the datatype properties
of a resource to facets, e.g with the following query:
select distinct ?uri ?facet ?value where {
?uri rdf:type gramsci:Note. ?uri ?facet ?facet.}
Deriving facets from SPARQL queries is an approach already explored in
literature [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. For the purpose of our proof of concept we chose candidate graph paths
by inspecting the data and accordingly to scholars preferences. The facets we
implemented in our prototype are:
{ Gramsci Dictionary topics. This facet lists all the dictionary topics where a
note is referenced;
{ DBpedia entities. A set of facets where entities mentioned in a note are
grouped according to their rdf:type. Relevant rdf:types individuated are
Persons, Books, Languages, Places and Events, but they could be more speci c
(e.g. Politicians, Artists, Magazines, etc.);
{ Categories. A facet listing all the dc:types associated to entities mentioned
in a note;
{ Scholars Notebooks. This facet lists all the scholars (Pundit users) who
manually annotated a note.
        </p>
        <p>To enable navigation of the corpus along the di erent "dimensions", we
implemented a faceted browser based on Apache Solr6. Solr, along with its
AjaxSolr7 frontend provides a relatively easy way to build a performant faceted
browser on top of Lucene. We built the solr index by running the SPARQL
queries (described in the previous section) and using results associated to the
?uri variable as document ID, ?facet as index eld and ?value as eld values.
The prototype is available at http://purl.org/gramscisource/quaderni.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>6 http://lucene.apache.org/solr/</title>
      <p>7 http://github.com/evolvingweb/ajax-solr/wiki</p>
      <p>Some usage patterns have been individuated by scholars involved in the
project: a) Using the Dictionary facet to intersect two or more topics from the
vocabulary. This is a simple but useful "advanced search" feature; b) Choose one
or more Dictionary topics (e.g. Storia), then use the facets on the right (DBpedia
entities) to provide additional context (e.g. Hegel, Croce and Plechanov are the
main persons related to History, "Teoria e storia della storiogra a" and "Misre
de la philosophie" are two related books, etc.); c) Start from a full text search or
from a DBPedia entity (e.g. "Conte di Montecristo") and discover related topics.</p>
      <sec id="sec-3-1">
        <title>Conclusions and Acknowledgements</title>
        <p>
          In this short paper we discussed preliminary results in leveraging Linked Data in
the GramsciSource project and we presented a proof of concept prototype.
Feedback from Humanities scholars involved in the project (and in related projects,
such as DM2E8) was positive and encouraged us to move further. End user
evaluation will be run in the next months. We are currently evaluating automatic
methods to derive entities and facets (e.g. based on language analysis tool such
as [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]), with the aim of making the approach easily applicable to di erent texts
corpora.
        </p>
        <p>This work is supported by the GramsciSource project funded by the Italian
Ministry of Education under the FIRB action.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Marco</given-names>
            <surname>Grassi</surname>
          </string-name>
          , Christian Morbidoni, Michele Nucci, Simone Fonda and
          <string-name>
            <given-names>Francesco</given-names>
            <surname>Piazza</surname>
          </string-name>
          .
          <article-title>Pundit: Augmenting Web Contents with Semantics</article-title>
          .
          <source>Literary &amp; Linguisting Computing</source>
          ,
          <year>2013</year>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. Dizionario gramsciano 1926-1937, Curated by Guido Liguori, Pasquale Voza, Roma, Carocci Editore,
          <year>2009</year>
          , pp.
          <fpage>918</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Paolo</given-names>
            <surname>Ferragina</surname>
          </string-name>
          , Ugo Scaiella,
          <article-title>TAGME: on-the- y annotation of short text fragments (by wikipedia entities)</article-title>
          ,
          <source>Proceedings of the 19th ACM international conference on Information and knowledge management</source>
          , New York,
          <year>2010</year>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Eyal</given-names>
            <surname>Oren</surname>
          </string-name>
          , Renaud Delbru, Stefan Decker,
          <article-title>Extending Faceted Navigation for RDF Data</article-title>
          ,
          <source>The Semantic Web - ISWC 2006, Lecture Notes in Computer Science</source>
          Volume
          <volume>4273</volume>
          ,
          <year>2006</year>
          , pp
          <fpage>559</fpage>
          -
          <lpage>572</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Philipp</given-names>
            <surname>Heim</surname>
          </string-name>
          , Jrgen Ziegler,
          <source>Faceted Visual Exploration of Semantic Data, Human Aspects of Visualization, Lecture Notes in Computer Science</source>
          Volume
          <volume>6431</volume>
          ,
          <year>2011</year>
          , pp
          <fpage>58</fpage>
          -
          <lpage>75</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Bei</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Hai</given-names>
            <surname>Zhuge</surname>
          </string-name>
          ,
          <article-title>Automatic Faceted Navigation, Future Generation Computer Systems archive</article-title>
          , Volume
          <volume>32</volume>
          ,
          <string-name>
            <surname>March</surname>
          </string-name>
          ,
          <year>2014</year>
          , Pages
          <fpage>187</fpage>
          -
          <lpage>197</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Dell'Orletta F</surname>
          </string-name>
          .,
          <string-name>
            <surname>Venturi</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cimino</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Montemagni</surname>
            <given-names>S.</given-names>
          </string-name>
          (
          <year>2014</year>
          )
          <article-title>T2K: a System for Automatically Extracting and Organizing Knowledge from Texts</article-title>
          .
          <source>In Proceedings of 9th Edition of International Conference on Language Resources and Evaluation (LREC</source>
          <year>2014</year>
          ),
          <fpage>26</fpage>
          -31 May, Reykjavik, Iceland.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>