<!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>Random Indexing for Finding Similar Nodes within Large RDF graphs</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Danica Damljanovic</string-name>
          <email>d.damljanovic@dcs.shef.ac.uk</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Johann Petrak</string-name>
          <email>johann.petrak@ofai.at</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mihai Lupu</string-name>
          <email>m.lupu@ir-facility.org</email>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hamish Cunningham</string-name>
          <email>h.cunningham@dcs.shef.ac.uk</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mats Carlsson</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Gunnar Engstrom</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Bo Andersson</string-name>
          <email>Bo.H.Andersson@astrazeneca.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>AstraZeneca</institution>
          ,
          <addr-line>Lund</addr-line>
          ,
          <country>Sweden Mats.Carlsson, Gunnar.Engstrom</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Austrian Reseach Institute for Artificial Intelligence</institution>
          ,
          <addr-line>Vienna</addr-line>
          ,
          <country country="AT">Austria</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Department of Computer Science, University of Sheffield</institution>
          ,
          <country country="UK">United Kingdom</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Information Retrieval Facility (IRF)</institution>
          ,
          <addr-line>Vienna</addr-line>
          ,
          <country country="AT">Austria</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this paper, we propose an approach for searching large RDF graphs, using advanced vector space models, and in particular, Random Indexing (RI). We first generate documents from an RDF Graph, and then index them using RI in order to generate a semantic index, which is then used to find similarities between URIs, literals, and RDF subgraphs. We have experimented with large RDF graphs in the domain of life sciences and engaged the domain experts in two stages: firstly, to generate a set of keywords of interest to them, and secondly to judge on the quality of the output of the Random Indexing method, which generated a set of similar terms (literals and URIs) for each keyword of interest.</p>
      </abstract>
      <kwd-group>
        <kwd>random indexing</kwd>
        <kwd>vectors space models</kwd>
        <kwd>information retrieval</kwd>
        <kwd>RDF graphs</kwd>
        <kwd>ontologies</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Recent years have seen a massive increase of highly structured data being made
available in the form of RDF triple representations. Both legacy data and new
data have been made available in RDF triple format and this representation has
also made it worthwhile and feasible to create mappings between RDF data that
originates from different legacy sources, leading to potentially very large RDF
repositories. Initiatives such as Linked Open Data5 are working on creation,
publication and interlinking of huge RDF graphs.</p>
      <p>
        Traditionally, RDF spaces are being searched using an RDF query language
such as SeRQL [
        <xref ref-type="bibr" rid="ref6">2</xref>
        ] or SPARQL [
        <xref ref-type="bibr" rid="ref19 ref4">15</xref>
        ]. These languages allow the formulation of
fine-grained queries by their ability to match whole graphs and to create complex
conditions on the variables to be bound in the query. This level of complexity
5 http://linkeddata.org/
and flexibility is very useful in many situations, especially when the query is
created automatically in the context of an application. However, for end-users
who want to explore the knowledge represented in an RDF store, this level
of detail is often more of a hindrance: querying the repository is not possible
without a detailed knowledge of its structure and the names and semantics of
all the properties and classes involved. This is especially the case for large and
unknown data structures which may have thousands of classes and properties,
for example Linked Life Data6 (5 billion statements), or FactForge7 (2 billion
statements).
      </p>
      <p>
        In this paper we investigate whether advanced Information Retrieval (IR)
methods can bring a new dimension to the task of searching huge RDF graphs.
We propose a complementary approach based on word space model, more
concretely Random Indexing (RI) [
        <xref ref-type="bibr" rid="ref18 ref3">14</xref>
        ], for building a semantic index for a large RDF
graph. Traditionally, a semantic index captures the similarity of terms based on
their contextual distribution in a large document collection, and the similarity
between documents based on the similarities of the terms contained within. By
creating a semantic index for an RDF graph, we are able to determine contextual
similarities between graph nodes (e.g., URIs and literals) and based on these,
between arbitrary subgraphs. These similarities can be used for finding a ranked
list of similar URIs/literals for any given input term (a literal or a URI), which
can then be used for exploring the repository or enriching SPARQL queries.
      </p>
      <p>We evaluate our approach on subsets of the Linked Life Data (LLD)
repository – a large integrated repository which contains 5 billion RDF statements from
various sources covering the biomedical domain, including UniProt8, PubMed9,
EntrezGene10 and many more11. Our evaluation is based on human judgment
by clinical research scientists (from AstraZeneca pharmaceutical company) who
were involved in two stages: firstly, to generate a set of keywords of interest to
them, and secondly to judge on the quality of the output of the Random
Indexing method, which generated a set of similar terms (literals and URIs) for each
topic of interest.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related work</title>
      <p>
        A considerable amount of work has been done in the area of using Information
Retrieval methods for the task of selecting and retrieving RDF triples. However,
most of these approaches do not take advantage of the latent semantics included
in an RDF Graph, as their primary intention is finding the RDF files on the
Web relevant to the given keyword and/or a URI. These systems are semantic
search engines such as Swoogle [
        <xref ref-type="bibr" rid="ref13">9</xref>
        ] or Sindice ([
        <xref ref-type="bibr" rid="ref22">18</xref>
        ]). They collect the Semantic
6 www.linkedlifedata.com
7 http://factforge.net
8 www.uniprot.org/
9 http://www.ncbi.nlm.nih.gov/PubMed/
10 www.ncbi.nlm.nih.gov/sites/entrez?db=gene
11 see the full list at: www.linkedlifedata.com/sources
Web resources from the Web and then index the keywords and URIs against
the RDF files containing those keywords and URIs, using the inverted index
scheme. These search engines use traditional weighting mechanisms such as
TFIDF, and in [
        <xref ref-type="bibr" rid="ref15">11</xref>
        ] the authors introduce the ReConRank algorithm, which adapts
the well-known PageRank algorithm to Semantic Web data. This method ranks
the nodes in a topical subgraph that is selected based on keyword matching from
the RDF files. In other words, it ranks the results of a query based on the RDF
links in the results. The subgraph that the algorithm identifies includes both the
subject nodes related to the query, and also the context of the subject nodes
(i.e. the provenances or sources of the subjects), in order to improve the quality
of ranking.
      </p>
      <p>In comparison to these approaches we use the neighbouring nodes as semantic
context for each node in an RDF graph. The nodes and their contexts are used
as virtual documents for Random Indexing.</p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref20 ref5">16</xref>
        ], the authors describe an approach for generating a virtual document
for each URI reference in an RDF triple store (or, equivalently, each node in an
RDF graph). The virtual document contains the local name and labels of the URI
reference, other associated literals such as those in rdfs:comment, and the names
of neighbouring nodes in the RDF graph. These virtual documents are then used
for ontology matching and also for generating object recommendations for users
of Falcons [
        <xref ref-type="bibr" rid="ref7">3</xref>
        ]. In comparison to our approach, their neighbouring operations
involve only one-step neighbours without including properties. Our approach
includes properties, and parts of the TBox, and also can operate on an arbitrarily
large graph of neighbouring nodes.
      </p>
      <p>Finally, to the best of our knowledge, none of the similar approaches
investigate the usage of methods that can discover latent semantics, such as Random
Indexing.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Semantic Index</title>
      <p>
        Latent Semantic Analysis (LSA) [
        <xref ref-type="bibr" rid="ref12">8</xref>
        ] is one of the pioneer methods which has
been used for finding synonyms. The assumption behind this and other statistical
semantics methods is that words which appear in the similar context (with the
same set of other words) are synonyms. Synonyms tend not to co-occur with one
another directly, so indirect inference is required to draw associations between
words which are used to express the same idea [
        <xref ref-type="bibr" rid="ref8">4</xref>
        ]. This method has been shown
to approximate human performance in many cognitive tasks such as the Test of
English as a Foreign Language (TOEFL) synonym test, the grading of
contentbased essays and the categorisation of groups of concepts (see [
        <xref ref-type="bibr" rid="ref8">4</xref>
        ]). However, one
problem with this method is scalability: it starts by generating a term∗document
matrix which grows with the number of terms and the number of documents and
will thus become very large for large corpora. For finding the final LSA model,
Singular Value Decomposition (SVD) and subsequent dimensionality reduction is
commonly used. This technique requires the factorization of the term-document
matrix which is computationally costly and does not scale well. Also, calculating
the LSA model is not easily end efficiently doable in an incremental or out-of
memory fashion. The Random Indexing (RI) method [
        <xref ref-type="bibr" rid="ref21">17</xref>
        ] circumvents these
problems by avoiding the need of matrix factorization in the first place.
      </p>
      <p>
        RI can be seen as an approximation to LSA which is shown to be able to
reach similar results (see [
        <xref ref-type="bibr" rid="ref18 ref3">14</xref>
        ] and [
        <xref ref-type="bibr" rid="ref9">5</xref>
        ]). RI can be incrementally updated and also,
the term ∗ document matrix does not have to be loaded in memory at once –
loading one row at the time is enough for computing context vectors. Instead of
starting with the full term-document matrix and then reducing the
dimensionality, RI starts by creating almost orthogonal random vectors (index vectors) for
each document. This random vector is created by setting a certain number of
randomly selected dimensions to either +1 or -1. Each term is represented by a
vector (term vector) which is a combination of all index vectors of the document
in which it appears. For an object consisting of multiple terms (e.g. a document
or a search query with several terms), the vector of the object is the combination
of the term vectors of its terms.
      </p>
      <p>
        Random Indexing relies on the Johnson-Lindenstrauss lemma:
Lemma 1. Given 0 &lt; ! &lt; 1, a set X of m points in RN , and a number n &gt;
n0 = O( log!(2m) ), there exists a mapping f : RN → Rn such that (1 − !)||u − v|| ≤
||f (u) − f (v)|| ≤ (1 + !)||u − v||, for all u, v ∈ X.
and particularly on the proof provided by Johnson and Lindenstrauss in their
1984 article [
        <xref ref-type="bibr" rid="ref17 ref2">13</xref>
        ], where they show that if one chooses at random a rank n
orthogonal projection, then, with positive probability, the projection restricted to
X will satisfy the condition in the Lemma. RI relies on the observation that, in
a high dimensional space, a random set of vectors is always almost orthogonal.
      </p>
      <p>In order to apply RI to an RDF graph we first generate a set of documents
which represent this graph, by generating one virtual document for each URI in
the graph (Section 3.1). Then, we generate a semantic index from the virtual
documents (Section 3.2). This semantic index is then being searched in order to
retrieve similar literals/URIs (Section 3.3).
3.1</p>
      <sec id="sec-3-1">
        <title>Generating virtual documents</title>
        <p>The task of deriving a set of documents from a huge RDF graph starts with
generating a representative subgraph for each URI of interest. We shall refer to
such an URI as a representative URI.</p>
        <p>A representative subgraph represents the context of a URI i.e. the set of
other URIs and literals directly or indirectly connected to that URI. For a
representative URI S, the representative subgraph of order N is a set of all paths
of triples (S, P1, O1; O1, P2, O2; · · · ; ON−1, PN , ON ). If ON is not a literal we
also include all triples ON , PN+1, LJ where LJ is a literal. In other words, we
apply the Breadth-First-Search starting with the representative node, and
extend this to the Depth Search which is defined by N. In addition, we include
or exclude certain parts of the TBox: direct classes for instances are excluded
(PN ! = rdf : type), while other annotation properties such as rdf s : label are
included. In the experiments reported in this paper, the representative subgraphs
are of order 1 (N = 1).</p>
        <p>We create virtual documents by including all paths from representative
subgraphs where:
– all URIs of nodes or appearing inside literals are included unchanged;
– for literals we remove punctuation and stop words, and then lowercase the
text; we also remove number literals, gene and protein sequences, complex
names, and HTML tags.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Generating semantic index</title>
        <p>There are several parameters which can influence the process of generating
semantic index, or vectors using the RI method:
– Seed length Number of +1 and -1 entries in a sparse random vector.
– Dimensionality Dimension of the semantic vector space – predefined
number of dimensions to use for the sparse random vectors.
– Minimum term frequency Minimum frequency of a term to get included
in the index.</p>
        <p>Our experiments study how variations of these parameters influence the quality
of the results and how sensitive the method is to that variation.
3.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Search</title>
        <p>
          Once the semantic index has been created, it can be used to find similarities
between URIs, literals, and RDF subgraphs. We use the cosine function to calculate
the similarity between the input term (literal or URI) vector and the existing
vectors in the generated vector space model. We can perform the following kinds
of searches:
1. finding similarities between two terms: given a keyword, find similar literals
and URIs; this can be used in several ways for example for refinement of
SPARQL queries (see [
          <xref ref-type="bibr" rid="ref11">7</xref>
          ]); also, it can be used as an alternative way of
browsing and finding URIs or literals related to a topic of interest (expressed
through a keyword or a set of keywords)
2. finding documents related to a specific term: this task would be useful for
suggesting a set of representative URIs related to a given keyword.
3. finding documents related to a document : this task would be useful for
suggesting a set of representative URIs related to a set of URIs.
4. finding terms related to the specific documents: this can be used for describing
a representative URIs through a set of literals and URIs.
        </p>
        <p>While in the context of large RDF graphs such as LLD, we find all of these
searches useful, in the experiments we present next, we focus on term-term search
(Item 1) only. As the LLD dataset covers the life sciences domain, we have
conducted a study with the clinicians from AstraZeneca, who are domain experts
and understand the knowledge available in this large dataset.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Experiments</title>
      <p>Our goal in using the Random Indexing method is to investigate whether it can
offer an alternative way of searching large RDF spaces, by suggesting literals
or URIs which are similar to the topic of interest. We conduct an evaluation
experiment with clinical research scientists from AstraZeneca, with the aim to
assess this.
4.1</p>
      <sec id="sec-4-1">
        <title>Dataset</title>
        <p>Linked Life Data is a dataset covering the life sciences domain, and the latest
version 0.6 contains 5,052,047,661 statements in total (for a comparison, one
year ago it contained 4,179,999,703 statements). Advanced IR methods based on
Vector Space Model (VSM) are computationally expensive, and therefore, before
we apply the Random Indexing method on the whole dataset, we evaluate it on
two smaller subsets of LLD.</p>
        <p>We have generated the two subsets as follows. For 1528 seed URIs (the URIs
representing all MEDLINE articles from December 2009) we retrieve
neighbouring subgraphs (of order 1) recursively until we reach certain predefined limit of
statements, and we refer to these as LLD1 and LLD2. Table 1 shows the sizes
of LLD1 and LLD2.
number of statements
number of virtual documents
number of terms
In order to calculate the correctness of the retrieved terms, there are standard
Information Retrieval measures such as precision, recall and Mean Average
Precision (MAP). Precision is defined as the number of relevant documents retrieved
divided by the total number of documents retrieved and is usually calculated for
certain number of retrieved documents (e.g., Precision@10, Precision@20).
Recall is the number of relevant documents retrieved divided by the total number
of existing relevant documents (which should have been retrieved).</p>
        <p>
          Mean Average Precision (MAP) is by far one of the most popular measures
in IR evaluation because, for each system and set of topics, it provides a
single value to measure its performance [
          <xref ref-type="bibr" rid="ref10">6</xref>
          ]. Average Precision (AP) is computed
for each topic by first calculating precision for each relevant document that is
retrieved and then averaging these values. Mean Average Precision is then the
mean of these values for all keywords. Furthermore, by the nature of the
averaging process, MAP is more sensitive to ranking than precision at a specific point,
favouring systems which return more relevant documents at the top of the list
than at the bottom, whereas precision does not make this distinction as long as
the results are within the cut-off range.
        </p>
        <p>As our task is to retrieve most relevant literals and URIs first, we used
MAP@10. Recall is extremely difficult to measure due to the number of terms
in our datasets (see Table 1). In addition, our task is to help domain experts
explore large RDF graphs, which is similar to Web search in the sense that there
is a vast amount of terms to be searched through, and also a significant number
which is relevant for each input term. Hence, for these kinds of tasks, users care
more about precision than about recall. Indeed, they care most about the top
ranked results, which is exactly what is captured by MAP.</p>
        <p>Relevance of retrieved terms was evaluated by two clinical research scientists.
All scientists looked at all retrieved terms. Relevant were considered only those
terms which both scientists marked as relevant. In order to measure agreement
between scientists on this particular task, we measured the Inter Annotator
Agreement (IAA) between the two clinicians based on the words which both of
them marked as relevant/irrelevant.</p>
        <p>
          IAA has been used mainly in the classification tasks, where two or more
annotators are given a set of instances and are asked to classify those instances
into some pre-defined categories. The two commonly used IAA measures are
observed agreement and Kappa (κ) [
          <xref ref-type="bibr" rid="ref16">12</xref>
          ].
        </p>
        <p>Observed agreement is the portion of the instances on which the
annotators agree. For our case, with the two annotators and two categories (relevant
and irrelevant), it is defined as</p>
        <p>Ao =</p>
        <p>a + d
a + b + c + d
(1)
(2)
where a refers to the number of terms both annotators agreed as relevant, d refers
to the number of terms both agreed as irrelevant, b refers to the number of terms
annotator 1 marked as relevant, and annotator 2 as irrelevant, c refer to the
number of terms annotator 1 marked as irrelevant, and annotator 2 as relevant.</p>
        <p>A certain amount of agreement is expected by chance which is not captured
by the observed agreement. The Kappa measure is a chance-corrected agreement.
Kappa is defined as the observed agreements Ao minus the agreement expected
by chance Ae and is normalized as a number between -1 and 1.</p>
        <p>k =</p>
        <p>Ao − Ae
1 − Ae
k = 1 means perfect agreement, k = 0 means the agreement is equal to
chance, k = −1 means ‘perfect’ disagreement.</p>
        <p>
          There are two different methods for estimating Ae: in Cohen’s Kappa, each
annotator has a personal distribution, based on his distribution of categories.
In Siegel &amp; Castellans Kappa, there is one distribution for all annotators,
derived from the total proportion of categories assigned to all annotators (see
[
          <xref ref-type="bibr" rid="ref14">10</xref>
          ] for more details and for the comparison of the two). We used Cohen’s Kappa
in our experiments.
4.3
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>Experimental setup</title>
        <p>We have performed our experiment through the following steps:
1. Extracting topics of interest represented as query terms which are present
in both LLD1 and LLD2. In order to avoid exposing the scientists to learning
SPARQL, we have formed a team of one computer scientist and one clinical
research scientist. The computer scientist was executing the SPARQL query
and browsing through the links and URIs, while the clinical research
scientist was only looking at the abstracts which the computer scientist selected.
As a result, we obtained 18 keywords which all appeared in both LLD1 and
LLD2 datasets. We split this set into two halves as shown in Table 2 , and
then perform the following two steps in two iterations: first, Group 1 is used
for training the model, and Group 2 for testing it. In the second iteration,
the two sets are swapped.
2. Training the model: we generated RI models for several variations of the
following RI parameters for both LLD1 and LLD2:
– vector dimension: 500, 1000, 1500, 1800, 2500
– seed length: 10, 50, 100, 300, 500, 1000
– term frequency: 1, 2, 5, 8, 10
This resulted in 290 runs (145 per dataset12). We then searched for similar
words for each topic of interest from the training set, and presented them
to clinicians who accessed the relevance. The combinations for parameters
which lead to the best results (measured through MAP) were considered as
the optimal setting for testing the method in the next step.
3. Testing the model: for the models generated using the optimal parameters
retrieved in the previous step, we retrieved 10 similar words for each topic
12 5 runs are missing from this count, corresponding to the situation where the seed
size is 1000, and the vector dimensionality is 500, which is impossible
of interest from the testing set and calculated MAP. The correctness of the
retrieved terms was assessed by clinical research scientists to whom we gave
the terms in the form of a survey (see below).</p>
        <p>Human assessment The retrieved keywords for each topic of interest in both
training and testing sets were assessed by humans. We merged the results from
all searches into one pool, and gave this list to the scientists in the form of a
survey. When the similar term was a URI, we have extracted the label from LLD
and showed it in brackets. This is to ensure that the scientists can concentrate
on meaning of these rather than looking and searching LLD in order to find the
label. An example task looked similar to this:
----------------------------------------------------------------Is ’trauma’ related to (delete URIs/words which are not related):
----------------------------------------------------------------arteriopathy
back-projection
barotraumas
gunshot
http://linkedlifedata.com/resource/umls/id/C0003048 (Animal
Experimentation)
http://linkedlifedata.com/resource/umls/id/C0004601 (Back Injuries)
http://linkedlifedata.com/resource/umls/id/C0005604 (Birth trauma)
............</p>
        <p>The most difficult task when designing this experiment was to define the
meaning of relevant. Relevant, in this context, is any word related to the given
keyword. This is a quite broad definition, which has, as it has been reported by
clinical research scientists who were involved in this experiment, posed a number
of difficulties due to many different levels of relevance. One of them stated that it
would not be easy to repeat the same tasks and mark the same words as relevant
if they had to repeat the same task again. We consider those that are not deleted
as relevant. Only those words which have been marked as relevant twice (by two
different clinicians) were eventually used when evaluating our results.
4.4</p>
      </sec>
      <sec id="sec-4-3">
        <title>Results</title>
        <p>In this section we first look into the results of training the model and finding
the best parameters with two separate groups independently. Then, we look at
the results of testing the RI method using these best parameters.</p>
        <p>Training the model We expect to see variations of MAP, for different values
of dimensionality, seed length, and minimum term frequency parameters. Our
goal is to find the combination of parameters for which MAP is highest, so as to
use those in the testing phase.</p>
        <p>Figure 1 shows the distribution of MAP across all cases, and for each group
used for training. It seems that the keywords from Group 1 were more challenging
for the method, as MAP values are much lower on average. However, as we can</p>
        <p>The variation of seed length parameter value seems not to cause any
significant changes to MAP across both datasets, and hence, we consider the lowest
value of this parameter as the optimal one, due to the fact that the the
computational resources required to build and search the semantic space are proportional
to the value of seed length. Table 4 outlines optimal parameters: those that we
chose to use in the testing phase.</p>
        <p>Finally, the size of the dataset had a significant influence on MAP
(MannWhitney U Test, p &lt; 0.0001) for both Group 1 and 2 meaning that the larger
set (LLD2) resulted in producing the higher value of MAP for Group 1, while
for Group 2 the results were better with the smaller dataset (LLD1).</p>
        <p>Testing the model In what follows we explore whether the model built
using the optimal parameters just presented can be used to effectively test the
model. In our context, testing the model means evaluating the set of related
terms (literals and URIs) returned by our method for the set of testing keywords
given as input.</p>
        <p>We ran the search method using Group 2 as a testing set against the RI model
trained with Group 1, and then Group 1 as a testing set against the RI model
trained with Group 2. Results are shown in Table 5. The RI method results in
as good or better MAP for Group 2 in comparison to MAP for the best trained
model (Group 1 column in Table 4), while for Group 1 the resulting MAP for
LLD2 is as good as that of the best trained model (Group 2 column in Table 4),
while for LLD1 it is lower for 0.15. This is due to the distribution of keywords in
Group 1, due to which MAP for the RI model with optimal parameters is only
0.05 higher (0.55).</p>
        <p>In the testing phase, MAP across both groups reached 0.565 and 0.61 for
LLD1, and LLD2 respectively.</p>
        <p>Also important to observe is the fact that when the data corpus increases
(e.g. LLD2 vs LLD1) the method becomes very stable, and observed MAP values
in the training process are reproduced in the subsequent test phase. Arguably
this is due to the small difference in MAP across parameters, but it still shows
that RI is a stable method even in this unusual use-case we are dealing with.</p>
        <p>Human assessment. In order to assess overall difficulty of the tasks which
we solve using the RI method, we calculated Inter-annotator agreement, and
indeed Observed agreement and Cohen’s Kappa agreement (see Section 4.2).
The observed agreement across all keywords was 0.81, and the Cohen’s Kappa
was 0.61 which indicates that the given task of selecting relevant keywords for a
topic of interest was indeed difficult for domain experts.</p>
        <p>The code and datasets from the described experiment, including generated
virtual documents and semantic spaces, can be downloaded from the LarKC
Wiki13.</p>
        <p>
          Performance The parameter values affect not only the quality of results
but also the required resources and the indexing time. Increasing the value of
dimensionality and seed length almost exponentially increases the time to
generate the semantic space (from 0.67 minutes for 500 dimensions to 3 minutes
for 2500, LLD1; from 3.78 minutes for 500 to 11.5 minutes for 2500 dimensions,
LLD2). The higher the value for seed length and dimensionality, the higher the
requirements for the computational resources and RAM in particular14.
Application of RI to the whole LLD dataset poses the scalability issues related to the
size of our corpus. While indexing is a one-off operation (that takes 1˜6 hours
on MDC computer with 256G RAM), the search for ‘lung’ after the space is
generated takes 14 minutes. Therefore, in our related work reported elsewhere
([
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]) we looked at the parallelisation of the RI search algorithm in order to make
exploring large RDF graphs using the contextual similarities of the comprising
nodes applicable in real time applications.
5
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Conclusion and future work</title>
      <p>We described the application of the Random Indexing method for the task of
searching large and unknown RDF graphs. We tested our method on the subsets
of the Linked Life Data, by training it using the variation of parameters, and
then involving domain experts to judge on the relevance of retrieved terms. None
of the parameters had a significant influence on MAP, apart from the size of the
dataset. However, the values of MAP reaching 0.565 and 0.61 for LLD1, and
LLD2 datasets respectively, indicate that the generation of virtual documents as
described in this paper and generating the semantic index using the RI method
has promising results. The reason for the stability of the RI method might have
been the span of the parameters which we used, and hence in our future work
we will expand the variation span and also repeat the runs across the same
parameter variations in order to increase the significance of results.
Acknowledgments We would like to thank creators of SemanticVectors15
library which is used in the experiments reported in this paper. This research has
been supported by the EU-funded LarKC16 (FP7-215535) project.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Assel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cheptsov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Czink</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Damljanovic</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Quesada</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>MPI Realization of High Performance Search for Querying Large RDF Graphs using Statistical</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>13 http://wiki.larkc.eu/LarkcProject/statisticalSemantics</mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <article-title>14 The experiments are conducted on the MDC super-computer: 2 IBM x3950M2, 32 Cores (4 quad core Intel Xeon@2.93GHz per node), 256 Gbytes of main memory, production cluster for Java software and serial code</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>15 http://code.google.com/p/semanticvectors/</mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          16 http://www.larkc.eu/ Semantics . In
          <source>: Proceedings of the 1st Workshop on High-Performance Computing for the Semantic Web, Collocated with the 8th Extended Semantic Web Conference (ESWC</source>
          <year>2011</year>
          ). Heraklion,
          <string-name>
            <surname>Greece</surname>
          </string-name>
          (
          <year>June 2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          2.
          <string-name>
            <surname>Broekstra</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kampman</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Serql: A second generation rdf query language</article-title>
          .
          <source>In: In Proc. SWAD-Europe Workshop on Semantic Web Storage and Retrieval</source>
          . pp.
          <fpage>13</fpage>
          -
          <lpage>14</lpage>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          3. Cheng, G.,
          <string-name>
            <surname>Ge</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Qu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Falcons: Searching and Browsing Entities on the Semantic Web</article-title>
          .
          <source>In: Proceedings of WWW2008</source>
          . pp.
          <fpage>1101</fpage>
          -
          <lpage>1102</lpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          4.
          <string-name>
            <surname>Cohen</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schvaneveldt</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Widdows</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Reflective random indexing and indirect inference: A scalable method for discovery of implicit connections</article-title>
          .
          <source>Journal of Biomedical Informatics</source>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          5.
          <string-name>
            <surname>Cohen</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Exploring medline space with random indexing and pathfinder networks</article-title>
          .
          <source>AMIA ... Annual Symposium proceedings / AMIA Symposium. AMIA Symposium</source>
          pp.
          <fpage>126</fpage>
          -
          <lpage>130</lpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          6.
          <string-name>
            <surname>Croft</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Metzler</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Strohman</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Search Engines: Information Retrieval in Practice</article-title>
          .
          <source>Addison Wesley</source>
          ,
          <volume>1</volume>
          <fpage>edn</fpage>
          . (
          <year>February 2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          7.
          <string-name>
            <surname>Damljanovic</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Petrak</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cunningham</surname>
          </string-name>
          , H.:
          <article-title>Random Indexing for Searching Large RDF Graphs</article-title>
          .
          <source>In: Poster Session at the Proceedings of the 7th Extended Semantic Web Conference (ESWC 2010). Lecture Notes in Computer Science</source>
          , Springer-Verlag, Heraklion, Greece (
          <year>June 2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          8.
          <string-name>
            <surname>Deerwester</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumais</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Furnas</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Landauer</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Harshman</surname>
          </string-name>
          , R.:
          <article-title>Indexing by latent semantic analysis</article-title>
          .
          <source>Journal of the American Society for Information Science</source>
          <volume>41</volume>
          ,
          <fpage>391</fpage>
          -
          <lpage>407</lpage>
          (
          <year>1990</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          9.
          <string-name>
            <surname>Ding</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Finin</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Joshi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pan</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cost</surname>
            ,
            <given-names>R.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peng</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reddivari</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Doshi</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sachs</surname>
          </string-name>
          , J.:
          <article-title>Swoogle: a search and metadata engine for the semantic web</article-title>
          .
          <source>In: Proceedings of the 13th ACM international conference on Information and knowledge management</source>
          . pp.
          <fpage>652</fpage>
          -
          <lpage>659</lpage>
          . ACM, New York, NY, USA (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          10.
          <string-name>
            <surname>Eugenio</surname>
            ,
            <given-names>B.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Glass</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>The kappa statistic: a second look</article-title>
          .
          <source>Computational Linguistics</source>
          <volume>1</volume>
          (
          <issue>30</issue>
          ) (
          <year>2004</year>
          ),
          <article-title>(squib)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          11.
          <string-name>
            <surname>Hogan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Harth</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Decker</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Reconrank: A scalable ranking method for semantic web data with context</article-title>
          .
          <source>In: Second International Workshop on Scalable Semantic Web Knowledge Base Systems (SSWS</source>
          <year>2006</year>
          ). Athens, GA, USA (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          12.
          <string-name>
            <surname>Hripcsak</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heitjan</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Measuring agreement in medical informatics reliability studies</article-title>
          .
          <source>Journal of Biomedical Informatics</source>
          <volume>35</volume>
          ,
          <fpage>99</fpage>
          -
          <lpage>110</lpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          13.
          <string-name>
            <surname>Johnson</surname>
          </string-name>
          , W.B.,
          <string-name>
            <surname>Lindenstrauss</surname>
          </string-name>
          , J.:
          <article-title>Extensions to lipschiz mapping into hilbert space</article-title>
          .
          <source>Contemporary Mathematics</source>
          <volume>26</volume>
          (
          <year>1984</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          14.
          <string-name>
            <surname>Karlgren</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sahlgren</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>From words to understanding</article-title>
          . In: Uesaka,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Kanerva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Asoh</surname>
          </string-name>
          , H. (eds.) Foundations of Real-World Intelligence, pp.
          <fpage>294</fpage>
          -
          <lpage>308</lpage>
          . Stanford: CSLI Publications (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          15.
          <string-name>
            <surname>Prud'hommeaux</surname>
          </string-name>
          , E.,
          <string-name>
            <surname>Seaborne</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>SPARQL Query Language for RDF</article-title>
          .
          <source>W3C Recommendation - 15 January</source>
          <year>2008</year>
          , W3C (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          16.
          <string-name>
            <surname>Qu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hu</surname>
          </string-name>
          , W., Cheng, G.:
          <article-title>Constructing virtual documents for ontology matching</article-title>
          .
          <source>In: Proceedings of WWW2006</source>
          . pp.
          <fpage>23</fpage>
          -
          <lpage>31</lpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          17.
          <string-name>
            <surname>Sahlgren</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>An introduction to random indexing</article-title>
          .
          <source>In: Methods and Applications of Semantic Indexing Workshop at the 7th International Conference on Terminology and Knowledge Engineering</source>
          ,
          <string-name>
            <surname>TKE</surname>
          </string-name>
          <year>2005</year>
          .
          <string-name>
            <surname>Citeseer</surname>
          </string-name>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          18.
          <string-name>
            <surname>Tummarello</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Delbru</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Oren</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          :
          <article-title>Sindice.com: Weaving the open linked data</article-title>
          .
          <source>In: Proceedings of the 6th International Semantic Web Conference</source>
          . Busan,
          <string-name>
            <surname>Korea</surname>
          </string-name>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>