=Paper= {{Paper |id=None |storemode=property |title=Explaining Clusters with Inductive Logic Programming and Linked Data |pdfUrl=https://ceur-ws.org/Vol-1035/iswc2013_poster_20.pdf |volume=Vol-1035 |dblpUrl=https://dblp.org/rec/conf/semweb/TiddidM13 }} ==Explaining Clusters with Inductive Logic Programming and Linked Data== https://ceur-ws.org/Vol-1035/iswc2013_poster_20.pdf
        Explaining Clusters with Inductive Logic
            Programming and Linked Data

                   Ilaria Tiddi, Mathieu d’Aquin, Enrico Motta

          Knowledge Media Institute, The Open University, United Kingdom
            {ilaria.tiddi,mathieu.daquin,enrico.motta}@open.ac.uk
        Abstract. Knowledge Discovery consists in discovering hidden regular-
        ities in large amounts of data using data mining techniques. The ob-
        tained patterns require an interpretation that is usually achieved using
        some background knowledge given by experts from several domains. On
        the other hand, the rise of Linked Data has increased the number of con-
        nected cross-disciplinary knowledge, in the form of RDF datasets, classes
        and relationships. Here we show how Linked Data can be used in an
        Inductive Logic Programming process, where they provide background
        knowledge for finding hypotheses regarding the unrevealed connections
        between items of a cluster. By using an example with clusters of books,
        we show how different Linked Data sources can be used to automatically
        generate rules giving an underlying explanation to such clusters.

1     Introduction
Knowledge Discovery in Databases (KDD) is the process of detecting hidden
patterns in large amounts of data [2]. In many real-world contexts, the explana-
tion of such patterns is provided by experts, whose work is to analyse, visualise
and interpret the results obtained out of a data mining process in order to reuse
them. For instance, in Business Intelligence, the analyst uses such interpreta-
tion for decision making; in Learning Analytics, the detected patterns are used
to assists people’s learning; in Medical Informatics, trends can be useful for
anomalies detection. This production of explanation becomes an intensive and
time-consuming process, particularly when the background knowledge needs to
be gathered from different domains and sources.
    In a practical example, the university of Huddersfield provides books recom-
mendations within its library catalogues1 , where records of books transactions
over a decade can be used for stock management and students recommendation
systems. Here, we are interested in explaining why groups of books, obtained
from a clustering process, have been borrowed by the same students. Consider-
ing one such cluster, the question is: “why these books have been borrowed by
those particular students?” and “where and how to find this information?”.
    Our hypothesis is that this answer can be given with Linked Data2 , which
provide the required background knowledge (in our example, a trivial explana-
tion for a pattern can be that authors of the books borrowed by the students
enrolled in English Literature are from England). While works into data prepa-
ration and data mining using Linked Data have already been presented (see
1
    http://library.hud.ac.uk/data/usagedata/ readme.html
2
    http://linkeddata.org/
the ones of [4, 6, 8]), few works have considered Linked Data for results inter-
pretation (some preliminary attempts are to be found in [1, 7]). However, the
former uses Linked Data only to support the user’s navigation, and the latter
does not take into account the whole knowledge discovery process and focuses
on the interpretation of statistical data. For this reason, we aim to exploit the
interconnected knowledge from Linked Data to explain patterns resulting from a
clustering process, by combining the existing semantic technologies with a Ma-
chine Learning technique, i.e. Inductive Logic Programming [3], to automatically
produce underlying explanations for the formation of such patterns.

2   Approach
2.1 On Inductive Logic Programming
Inductive Logic Programming (ILP) is a research field at the intersection of Ma-
chine Learning and Logic Programming, investigating the inductive construction
of first-order clausal theories starting from a set of examples E = E + ∪ E − [3].
While E + represents the relation to be learnt, E − are the facts where the relation
does not hold. The distinguished feature of ILP is the use of some additional
background knowledge B about the examples in E. Believing B, and faced with
the facts in E, the induction process derives an hypotheses space H. The success
of the induction requires that H covers all the positive examples (H is complete)
and none of the negative ones (H is consistent), with respect to B (i.e., there is
no contradiction with the facts written in B).

2.2 Proposed approach
Assuming that we have retrieved some clusters, our approach is articulated as
follows (see Fig. 1):
1. Linked Data Selection. We retrieve information about the data contained
in each cluster from the Linked Data cloud, across several datasets.
2. Hypotheses Generation. We generate some hypotheses using ILP. A hy-
pothesis is an explanation (“why those items are part of that particular cluster”).
3. Hypotheses Evaluation. We validate the hypotheses using two rules eval-
uation measures: the Weighted Relative Accuracy (WR acc , as described in [5]),
providing a trade-off between coverage and relative accuracy, that we exploit to
obtain explanations for small clusters, and the very well known and Information
Retrieval F-measure (F).




           Fig. 1. Structure of the ILP approach for clusters explanation.
3   Experiments
We ran our experiments on the Huddersfield’s books usage dataset introduced
in the first section. Our target problem is defined as: considering some clustered
books borrowed by students from the Humanities faculty, explain what those books
have in common and why they belong to a particular cluster. The manual analysis
of each cluster’s centroid shows that each cluster represents the books borrowed
by students from the same course, such as Music Technologies, Politics or English
Literature.
    For each book, we retrieve some information from the Linked Data cloud. We
first use bibo:isbn10 as an equivalence property to navigate from the Hudder-
sfield dataset to the British National Bibliography one3 . From there, we retrieve
information about the book using the existing Linked Data vocabularies: Dublin
Core4 for topic and author, the Event Ontology5 for the publication time, place
and publisher. Finally, we exploit the owl:sameAs property to navigate to the
Library of Congress Subject headings6 and retrieve the broader concepts of each
topic using the skos:broader property.
    Clusters and the Linked Data extracted knowledge are encoded as Prolog
clauses as follows:
      E+                                  clM T (‘book 1’).
               clusters
      E−                         clM T (‘book 4’). clM T (‘book 5’).
          RDF predicates       subject(‘book 1’,‘electronic music’).
       B
         RDF is-a relations book(‘book 1’). topic(‘electronic music’).

    Here we search the hypothesis space H specific to the Music Technologies
cluster (clM T ). E + is composed by books in clM T (as book 1), while books
in other clusters (such as book 4 and book 5) form E − . The process is re-
peated for each cluster. Both the RDF binary relations (hud:book 1 dc:subject
‘electronic music’) and the unary ones (hud:book 1 a bibo:book) are also
transformed into Prolog clauses and then added to B.
    We ran several experiments combining different properties (in different Bs),
in order to see the properties impact on the hypotheses generation. These are
shown in Table 1. Other hypotheses demonstrated the relations between different
predicates, such as the relation between a publisher and a specific topic (see
Table 2).

4   Conclusion and future work
We showed how ILP can be good in generating hypotheses to explain patterns,
e.g. “books borrowed by students of Music Technologies are clustered together be-
cause they talk about music”. Although it is a trivial example, the automation of
such a process is not an easy task. We demonstrated how the use of Linked Data
is important to generate such hypotheses, and how combining different sources
3
  http://bnb.data.bl.uk/
4
  http://dublincore.org/documents/dcmi-terms/
5
  http://motools.sourceforge.net/event/event.html
6
  http://id.loc.gov/authorities/subjects.html
Table 1. Expanding B1 with the LCSH knowledge (B2 ) improves the hypotheses.
Those are read as follows: the item A belongs to the cluster cl because it has some
properties, which appear in the body (“A’s topic is mass media” or “A’s broader topic
is publicity”).
 Centroid B Hypothesis                                                             F(%) WR acc
  Media& B1 cl(A):-subject(A,‘mass media,social aspects’)                           10.8 0.004
 Journalism B2 cl(A):-broader(A,‘publicity’)                                        16.4 0.007
             B1 cl(A):-subject(A,‘criminology’)                                     11.3 0.003
Humanities
             B2 cl(A):-broader(A,‘social sciences’)∧broader(A,‘auxiliary sciences’) 15.5 0.003
             B1 cl(A):-subject(A,‘sound, recording and reproducing’)                10.6 0.003
   Music B2 cl(A):-broader(A,‘digital electronics’)                                 18.8 0.006
Technologies B1 cl(A):-subject(A,‘popular music, history and criticism’)            14.5 0.005
             B2 cl(A):-broader(A,‘music’)                                           21.2 0.008
 English& B1 cl(A):-subject(A,‘language acquisition’)                               11.6 0.005
   Media B2 cl(A):-broader(A,‘child development’)∧broader(A,‘philology’) 13.7 0.006

       Table 2. Hypotheses revealing hidden connections between properties.
  Centroid Hypothesis                                                         F(%) WR acc
   Media cl(A):-broader(A,‘psychology’)∧pubPlace(A,‘oxford’)                  10.3 0.004
   English   cl(A):-publisher(A,‘routledge’)∧broader(A,‘literature’)
                                                                              11.1   0.003
  Literature ∧broader(A,‘philology’)
             cl(A):-publisher(A,‘macmillan’)∧broader(A,‘political science’)
  Politics                                                                     4.3   0.001
             ∧broader(A,‘social sciences’)

of background knowledge (i.e., different datasets) produces better explanations
of patterns of data. The future work concerns the automatic selection of the
datasets from Linked Data, the use of a more appropriate evaluation measure
and the generalisation of the approach to other data mining techniques.

References
1. d’Aquin, M., & Jay, N. (2013). Interpreting Data Mining Results with Linked Data
   for Learning Analytics: Motivation, Case Study and Directions. In Third Conference
   in Learning Analytics and Knowledge (LAK), Leuven, Belgium.
2. Fayyad, U., Piatetsky-Shapiro, G., & Smyth, P. (1996). From data mining to knowl-
   edge discovery in databases. AI magazine, 17(3), 37.
3. Muggleton, S., & De Raedt, L. (1994). Inductive logic programming: Theory and
   methods. The Journal of Logic Programming, 19, 629-679.
4. Narasimha, V., Kappara, P., Ichise, R., & Vyas, O. P. (2011). LiDDM: A Data
   Mining System for Linked Data.
5. Lavrač N., Flach P., and Zupan B. (1999). Rule Evaluation Measures: A Unify-
   ing View. In Proceedings of the 9th International Workshop on Inductive Logic
   Programming (ILP ’99). Springer-Verlag, London, UK, 174-185. .
6. Paulheim, H., & Fümkranz, J. (2012, June). Unsupervised generation of data mining
   features from linked open data. In Proceedings of the 2nd International Conference
   on Web Intelligence, Mining and Semantics (p. 31). ACM.
7. Paulheim, H. (2012). Generating possible interpretations for statistics from Linked
   Open Data. In The Semantic Web: Research and Applications. Springer, pp. 560574.
8. Verborgh, R., Van Deursen, D., Mannens, E., & Van de Walle, R. (2010). Enabling
   advanced context-based multimedia interpretation using linked data.