<!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>Topic Modeling for RDF Graphs</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jennifer Sleeman</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tim Finin</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Anupam Joshi</string-name>
          <email>joshig@cs.umbc.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Computer Science and Electrical Engineering University of Maryland</institution>
          ,
          <addr-line>Baltimore County Baltimore. MD 21250</addr-line>
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Topic models are widely used to thematically describe a collection of text documents and have become an important technique for systems that measure document similarity for classi cation, clustering, segmentation, entity linking and more. While they have been applied to some non-text domains, their use for semi-structured graph data, such as RDF, has been less explored. We present a framework for applying topic modeling to RDF graph data and describe how it can be used in a number of linked data tasks. Since topic modeling builds abstract topics using the co-occurrence of document terms, sparse documents can be problematic, presenting challenges for RDF data. We outline techniques to overcome this problem and the results of experiments in using them. Finally, we show preliminary results of using Latent Dirichlet Allocation generative topic modeling for several linked data use cases.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Data presented as RDF triples can be problematic for tasks that involve
identifying entities, nding entities that are the same, nding communities of entities
and aligning ontological information. Data describing a resource can be sparse,
making it harder to distinguish one resource from other similar resources. Data
describing a resource can be noisy, having excessive data that is not relevant to
the resource. There can be large volumes of data which may contribute to an
increase in noise, errors, and ambiguities.</p>
      <p>
        When data originating from multiple sources is used, combining and resolving
resource information can be challenging. For example, when aligning attributes
from one ontology to another, often there are attributes that simply are not
alignable [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ]. In this paper, we show how topic modeling can be used to
support tasks such as aligning ontologies, recognizing type information, community
detection and resolving resources that are the same. Though topic modeling can
be challenged by problems related to sparseness and noise, we show ways to
overcome these problems.
      </p>
      <p>
        Topic modeling has quickly become a popular method for modeling large
document collections for a variety of natural language processing tasks. Topic
modeling is based on statistics of the co-occurrence of terms (typically words)
and establishes topics that are groupings of terms to describe documents. It has
been used to describe [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and classify documents [
        <xref ref-type="bibr" rid="ref1 ref21">21, 1</xref>
        ], as a feature selection
method [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], sentiment analysis [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] and as a tool for clustering things of interest.
      </p>
      <p>
        Topic modeling is a statistical method
that results in abstract categories or
topics from the processing of a set of
documents. Several methods have been
developed for generating topics. Early work by
Deerwester et al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] introduced the
concept of Latent Semantic Analysis (LSA)
which uses singular value decomposition
for nding the semantic structure of
documents to improve indexing and retrieval. Fig. 1: The Graphical Model for
Hofmann [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] later used the concept of LDA
Probabilistic Latent Semantic Indexing (pLSI) to introduce a probabilistic
generative approach. More recent work that has grown in popularity is Latent Dirichlet
Allocation (LDA) [
        <xref ref-type="bibr" rid="ref2 ref3">3, 2</xref>
        ] which is also a probabilistic approach but di ers from
pLSI by the introduction of a conjugate Dirichlet prior and uses variational and
sampling based methods to estimate posterior probabilities. The LDA graphical
model is typically conveyed by a plate diagram as can be seen in Figure 1 where
W represents the words, 1::k are the topics, d;k is the topic proportion of topic
k in document D, and Zd;k is the topic assignments.
      </p>
      <p>
        With LDA, the terms in the collection of documents produce a vocabulary
that is then used to generate the latent topics. Documents are treated as a
mixture of topics, where a topic is a probability distribution over this set of
terms. Each document is then seen as a probability distribution over the set of
topics. We can think of the data as coming from a generative process that is
de ned by the join probability distribution over what is observed and what is
hidden [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. This generative process is de ned as follows.
      </p>
      <p>For each document: (1) Choose a distribution over topics; (2) For each
word in the document: (a) select a topic from the document's distribution
over topics and (b) select a term from the associated distribution over
terms.</p>
      <p>
        The computational portion of LDA involves learning the topic distributions by
means of inference. Though there are a number of variational and sampling based
methods for performing the inference, Gibbs sampling [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] is frequently used.
      </p>
      <p>
        We describe how one might use topic modeling for RDF data and explore
its application to several problems faced by the Semantic Web community. RDF
data is less typical in terms of the documents that are used to create a topic
model but since a bag of words is typically used with this model, we will show
how RDF data can be used. Topic modeling was originally used to characterize
relatively long documents, such as newswire articles or scienti c papers. More
recently, researchers have outlined successful strategies [
        <xref ref-type="bibr" rid="ref15 ref21 ref22 ref28">28, 15, 21, 22</xref>
        ], for using
topic modeling for short texts such as tweets and SMS messages. We build on
these ideas to establish an approach to using topic modeling with RDF data.
dbp:Alan_Turing dbpo:award dbp:Order_of_the_British_Empire .
dbp:Alan_Turing dbpo:birthDate "1912-06-23+02:00"^^xsd:date .
dbp:Alan_Turing dbpo:birthPlace dbp:Paddington .
dbp:Alan_Turing dbpo:field dbp:Computer_science .
dbp:Alan_Turing rdfs:label "Alan Turing"
dbp:Alan_Turing rdf:type dbpo:Scientist .
dbp:Alan_Turing rdf:type foaf:Person .
alan turing award birth date birth place field 1912-06-23+02:00 order
of the british empire paddington computer science scientist person
      </p>
      <p>
        There are several issues in applying topic models to short texts [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ]. The rst
is the discriminative problem, where words in short documents do not
discriminate as well as in longer ones. The second is that short documents provide much
less context than longer ones. RDF data shares both of these and adds a third:
none of its serializations are like any natural, human language.
      </p>
    </sec>
    <sec id="sec-2">
      <title>Topic models and RDF graphs</title>
      <sec id="sec-2-1">
        <title>Topic models for text</title>
        <p>To give light to these problems we show how topic modeling for text documents
di er from RDF documents by describing how topic models are used with text
documents and how we apply them to RDF graphs.</p>
        <p>Although there are a number of algorithms for de ning and using topic
models, they share several common aspects. A topic model uses a xed set of K topics
to describe documents in a corpus. K varies with the application and is usually
between 100 and 1000. A text documents could be anything from a tweet to a
30-page scienti c article, but they typically contain at least several paragraphs
of text. The mixture of topics in a document is represented as a vector of real
numbers between 0 and 1, where the kth number speci es the amount of topic
k that the document exhibits. Using topic vectors makes it easy to de ne the
\semantic" distance between two documents (often using the cosine similarity).</p>
        <p>
          The K topics making up a topic model are not speci ed in advance, but
learned by a statistical process that discovers the `hidden thematic structure
in a document collection' [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. This stems from the probability that a word will
appear in a document about a di erent topic, which leads to an e ective way to
compute the topic model vector for a document given its the bag of words.
        </p>
        <p>One common problem is that many of the automatically induced topics in a
model may not correspond to concepts that are easy for people to identify. For
topic models over text documents, the best that can be done is to list the most
frequent words associated with each topic. This is often su cient to recognize
that topic number 32 has something to do with politics and elections where
as topic number 126 seems to be about software and computer applications.
However, there are typically topics that are di cult or impossible to associate
with familiar concepts.</p>
        <p>Once a topic model has been learned or trained from a document collection,
it can be used to infer a document's topic vector from its bag of words. These
vectors can then be used for a number of di erent tasks, such as classifying,
clustering or recommending documents.
While topic models were originally de ned for text documents, they have been
applied to other kinds of data (e.g., images and generic sequences) and can be
used with RDF graphs. To do this, we must de ne what we will mean by a
\document" and the word-like elements within them and also how to compile large
collections of those \documents" to train our topic modeling system. For natural
language, topic models sometimes exploit linguistic concepts like part-of-speech
tags, stop words, and word lemmas and also apply normalization operations (e.g.,
downcasing, punctuation removal, abbreviation expansion, etc.) to improve
performance or accuracy, so we might consider analogs to these notions for RDF
data.</p>
        <p>What's a document? We assume that a knowledge base is represented by
triples, where a triple has a subject s, predicate p, and an object o, forming a
t(s; p; o) with the following de nitions.</p>
        <p>s 2 (U RI [ Blank),p 2 (U RI) and o 2 (U RI [ Blank [ Literal)
We de ne an 'entity' by t1:::tn 2 T associated with a common s URI. In our
current model, we treat a document as the set of triples that describe a single
'entity'. We experiment with this de nition of a document by working with
di erent parts of the triple, supplementing the triples with additional data, and
including 1-hop in-bound and out-bound links.</p>
        <p>Alternatively, we could de ne it as the set of triples in which a given node is
either the subject or the object. If we consider a large dataset like DBpedia to
be a document collection, we probably want to further restrict the nodes in the
graph that we will consider to be documents. A node like dbp:Alan Turing makes
a good subject but T-box nodes like owl:sameAs or dbpo:birthDate probably do
not. Similarly, structural nodes such as Freebase's compound value type nodes
or nodes that link a measurement with a units and a numeric value may not be
suitable subjects for documents.</p>
        <p>What's a word? The \words" in a document are extracted from the subjects,
predicates and objects of each of its triples and the extractions are treated as
bags of words. The words related to an entity (given by a URI) are tokenized by
extracting all the triples related to a particular URI from a triple store. Then
by removing paths from subjects, predicates and objects. Speci cally, literals,
i.e., strings, are used in which they are rst sanitized with stop words removed.
Figure 2 shows an example of a set of triples forming a simple document and its
associated word-like tokens.
2.3</p>
      </sec>
      <sec id="sec-2-2">
        <title>RDF Short Text Problem</title>
        <p>
          Short text su ers from two distinct problems: sparseness a ects how well the
model can discriminate and the lack of context a ects word senses [
          <xref ref-type="bibr" rid="ref28">28</xref>
          ]. If a
word has multiple meanings often context can be used to identify the correct
meaning. RDF data also su ers from \unnatural" language since RDF data is
represented as triples, the natural structural clues found in human languages are
not present.
        </p>
        <p>Sparseness. RDF data can su er from sparseness. If we choose to think of a
document as a set of triples associated with a resource de ned by an URI, the
set can be large, resulting in a larger, more context enriched bag of words or
small, o ering very little information at all as shown in Figure 3. Even of the
large set of triples, the data that could actually be used in the bag of words,
after pre-processing could result in a smaller set of words.</p>
        <p>Lack of Context. Context can be particularly problematic for RDF data, as
often words are used that can have multiple meanings and due to the potential
sparseness of RDF data in addition to the unnatural language characteristic, it
could be hard to distinguish that meaning. For example, the description
Alternative rock contains the word rock, without additional context, this word could
be interpreted in multiple ways.
Unnatural Language. RDF data su ers from unnatural language issues. Since
RDF data is graph-based the natural structure of a sentence does not exist. Often
the components of a sentence provide additional context for understanding words
which may be polysemous or homonymous. In addition, the text is more prone
to error during pre-processing. For example, it is not uncommon to nd parts
of a triple that have unexpected characters, unusual letter casing, pointers to
another resource and data that is simply hard to parse. We show some of these
examples in Table 1.</p>
        <p>The short text problems in RDF. Researchers tend to take two approaches
to overcoming short text related problems. They either supplement the text
or they create modi ed versions of LDA to support their speci c problem.
We currently use the approach of supplementing text using a set of baseline
techniques. Our future work will include additional techniques for
supplementing text and a modi ed LDA algorithm for RDF graphs. We show ways to
supplement RDF data in Figure 4. We could simply use the object literals
of the triple, for example \University of North Carolina" is an object literal
for the resource \University of North Carolina at Greensboro". We could also
use the predicates, in addition to the object literal. For example, the predicate
\http://dbpedia.org/property/name\, may be the predicate for the triple with
the object literal \University of North Carolina". We may also choose to use
Wordnet to supplement the RDF data. For example, for the word \Boston" if
we take a subset of synsets and the de nition, we enrich the word \Boston"
with the following data: [capital of Massachusetts, state capital and largest city
of Massachusetts; a major center for banking and nancial services, Beantown,
Bean Town, Boston, Hub of the Universe]. We also looked at using 1-hop in-links
and 1-hop out-links. For example, \Boston" may refer to a mayor, which with
1-hop we could consume the triples related to the mayor of Boston. We could
do this similarly with in-links.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Related Work</title>
      <p>
        Work by Hong et al. [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] focuses on Twitter data and takes the approach of both
developing a modi ed version of LDA and also de ning a number of modeling
schemes to be used. They take the approach of inferring a topic mixture for
messages and authors where each word in a document is associated with an author
latent variable and a topic latent variable. In our work we are not proposing a
modi cation to LDA but rather a way to supplement RDF triples such that the
data is better suited for LDA modeling.
      </p>
      <p>
        Since topic modeling works on the co-occurrences of terms, sparse documents
can be problematic. Work by Yan et al. [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ] bring light to this problem in terms
of 'short text'. As described in this work, often researchers aggregate short text
documents or customize the topic model to train on aggregated data. Others
make assumptions as to how documents relate to topics. They take the approach
of a generative model speci cally for 'biterms' which is an 'unordered word-pair
      </p>
      <p>Fig. 4: Bag of Words Variations
co-occurrence'. Again, they speci cally address short text by modifying LDA.
Though we think this work has merit in this paper we speci cally look at how
to modify the data itself.</p>
      <p>
        Work by Phan et al. [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ] describes how external data sources can supplement
short text. They describe a framework for classifying short, sparse text which
includes collecting large data sets that are used to create hidden topics. These
hidden topics are then used in conjunction with the small data set to support
classi cation. In this approach they were able to address the data sparseness
problem and expand their training set to be more representative. This approach
di ers from ours in that they supplement the short text with large data sets that
they apply topic modeling to whereas we supplement the RDF and then apply
topic modeling.
      </p>
      <p>
        Work by Dietz et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] uses topic modeling for bibliographical data and
the results are presented as RDF data. However this work does not address the
problem of using topic modeling directly on RDF data.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Applying Topic Modeling</title>
      <p>Given our description of topic modeling and how it could be used with RDF
data, we have outlined a number of ways topic modeling could be applied to
research tasks within the Semantic Web community.
4.1</p>
      <sec id="sec-4-1">
        <title>Predicting entity types</title>
        <p>
          Often there is a need to associate type information with entities that are
dened within RDF data [
          <xref ref-type="bibr" rid="ref17 ref20 ref26">17, 26, 20</xref>
          ]. For example, it is not clear from its name
what the resource 'http://dbpedia.org/resource/City of Golden Shadow' refers
to. However, with associated type information, the types book, WrittenWork
and Creative Work are associated with the resource. By predicting type
information, when type information does not exist, types provide additional
information about the entity, supporting tasks such as knowledge base population,
entity coreference resolution and entity linking.
        </p>
        <p>We use topic modeling to support entity type recognition by creating a topic
model from a sample of data which contains known type information. We use
the model to associate topics to the types. Given new data with missing type
information, we then infer topics for new entities. Using KL divergence, for each
entity with an unknown type, we measure the divergence between its topic vector
and the topic vectors of each known type. Based on this measure we assign known
types to new entities.
4.2</p>
      </sec>
      <sec id="sec-4-2">
        <title>Entity Disambiguation</title>
        <p>
          The need to match instances across di erent data sets or to link new instance
information with existing knowledge base instances is common [
          <xref ref-type="bibr" rid="ref10 ref14 ref25 ref27">10, 27, 14, 25</xref>
          ].
This method usually involves taking information from each instance and applying
a matching algorithm to identify which instances are likely the same. Topic
modeling supports creating clusters of entities that are closely related, which
can be used as a preprocessing step for matching instances or disambiguating
entities. In our work, we assume an existing knowledge base and create a topic
model from its data. With this, we can compute topic vectors for new entities
to be integrated into the knowledge base. We use cosine similarity to compare
the new entity topic vectors to vectors for existing KB entities. We treat this
approach as a candidate selection method, where the entities that have similar
topic vectors should be evaluated for similarity.
4.3
        </p>
      </sec>
      <sec id="sec-4-3">
        <title>Ontology alignment - Class and Property Alignment</title>
        <p>
          Ontology alignment [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ] can include classes, properties and instances. For
example, from the OAEI initiative [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ] oaei 101#author 1 from ontology 1 aligns with
oaei 103#author from ontology 3. We use a topic model based on one ontology
then we infer topic vectors for our second ontology, making our properties and
classes our 'entities' of interest. We take the cosine similarity to directly align
properties and classes.
1 We use the abbreviation oaei 101, oaei 103, and oaei 205 for
http://oaei.ontologymatching.org/tests/101/onto.rdf,
http://oaei.ontologymatching.org/tests/103/onto.rdf and http://oaei.ontologymatching.org/tests/205/onto.rdf, respectively.
Fig. 5: Example of Fantasy Literature Penguin Publishing Author Community
4.4
        </p>
      </sec>
      <sec id="sec-4-4">
        <title>Community detection</title>
        <p>
          Community detection approaches [
          <xref ref-type="bibr" rid="ref11 ref29 ref9">29, 11, 9</xref>
          ] can be categorized as topological or
topical [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. We address topical detection in this work. By examining the graphs
of RDF data and based on highly connected vertices, communities can be
detected by node connections. As an example, we took a set of resources from a
DBpedia [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] sample and clustered resources that are ction literature and
produced communities based on sharing the same publishers and the same genre.
A community of authors can be seen in Figure 5.
        </p>
        <p>This topical approach can be performed by using topic modeling. For
example, authors of the Fantasy Literature and Penguin Publishing community
might have more topics in common than authors of other genres associated with
di erent publishing companies.</p>
        <p>In our work we build a topic model from a data set that we identify as having
communities of interest. From this model we then associate topic vectors to each
entity. We look for entities which have a number n of topics in common. In order
to nd entities which have n topics in common, we create a histogram from the
topic probabilities for each entity. Assuming a topic de nes a sub-community,
we use the histogram to tell us where the most density is among topics for the
entity and set a threshold so that we only consider the topics which are most
relevant to the entity. From this we assign entities to topic sub-communities. We
then nd entities that have n sub-communities in common.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Experiments and Results</title>
      <p>
        We experimented with di erent ways to build a bag of words from the RDF
data based on approaches in Figure 4. For each problem which we outlined
previously, we used LDA without any modi cations to the algorithm itself. Our goal
with this work was to show how to supplement RDF data to overcome issues
related to spareness, lack of context and the use of unnatural language. We did
see improvement in supplementing the RDF data with repetition of key words,
and using a limited set of synsets and de nitions from Wordnet. Speci cally,
when working with large graphs, using the object literals alone may be su
cient but we have observed better results when including either the predicate
or the predicate and the subject. We have also found that where the graphs
are particularly sparse, using Wordnet [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] synsets and de nitions can improve
performance. Using 1-hop in-links and 1-hop out-links often increased the noise
factor which negatively impacted the performance. We limited the data we
incorporated from in-links and out-links to predicates that were of type name and
label. This approach reduced the noise but we didn't see signi cant improvements
in performance. Our future work will include exploring links more, possibly by
examining graph similarities.
5.1
      </p>
      <sec id="sec-5-1">
        <title>Predicting entity types</title>
        <p>We used DBpedia data and created two di erent randomly selected data sets.
One was used to actually build the topic model, it had 6000 unique resources.
The second data set had 100 unique resources. We associated topics to known
types and then used the model to infer types for each entity in the second data
set. We then used KL divergence to compare topic vectors. From this we mapped
types from the rst data set to entities in the second data set. We tested with
200 topics and 400 topics with resources that had an average of seven types that
should be recognized. Our ground truth in this case was the type de ntions in
the DBpedia data set. We removed the type de ntions for our test data set then
evaluated our predictions with what was de ned by DBpedia. Though our test
set was relatively small, we were able to see how precision changed based on
data variations. As can be seen in Figure 6 we saw the highest precision using
predicates and objects and in Figure 7 we saw the highest precision using
predicates and objects that included the Wordnet synsets and de nitions. Though it
was clear that objects alone did not perform as well as including the predicate,
future work will further explore the relationship between supplemental data and
the number of topics chosen for the model.
5.2</p>
      </sec>
      <sec id="sec-5-2">
        <title>Entity Disambiguation</title>
        <p>For this experiment we took a subset of DBpedia data as our knowledge base
including 300 unique entities with an average of 19 triples per entity and used this
data set to build a topic model. We created a second data set with 100 unique
entities obtained from the same data, except we obfuscated the subjects such that
subjects could not be directly matched. For example, the unobfuscated subject
\Falling in Love with Jazz" became \Jxiiwhw wh Uaka kwki Uxhh". We used
this approach as to create a ground truth for entity matching. We used a lookup
table to correlate between the obfuscated subjects and the unobfuscated
subjects to evaluate our approach. We associated topics with each entity in our
knowledge base. We then took our obfuscated data set and inferred topics for
each entity. From this we used cosine similarity to compare entities and tried to
match entities from the two data sets. Though topic modeling is too coarse to
use directly to match instances, it does provide a way to signi cantly reduce the
number of candidates that need to be matched. Our experiments showed topic
modeling was a reasonable approach for candidate selection reducing on average
the number of candidates from 1000s to 100s. However, more work is required
to show how this method could be used in conjunction with a entity matching
algorithm.
5.3</p>
      </sec>
      <sec id="sec-5-3">
        <title>Ontology alignment</title>
        <p>We tested two di erent alignments that included aligning properties and classes.
We used the data from oaei 101 and oaei 103, where the class and property
names are identical. We also used the data from oaei 101 and oaei 205, where
class and property names to be aligned are not spelled the same. For example,
oaei 101#Booklet and oaei 205#Brochure should be recognized as alignable.
We used the OAEI ref alignments to evaluate our approach. This alignment
document indicates which properties and classes should be aligned. We excluded
instance alignments for this evaluation. We did however extract the instance data
only to generate a topic model. Our evaluation examined how well we aligned
properties and classes. We tested with 25, 50, 100 and 200 topics and saw the
best performance with 50 topics. We exercised the di erent variations for the
RDF data. The ontologies are good examples of sparseness, by using repetition
and supplemental data we were able to get approximately 80% precision, where
we selected the top N candidates of either an attribute or class match.
We took a sample of the DBpedia data set and performed topic modeling using
50, 100, and 200 topics. From this we associated a set of topics with each
entity. We then looked for entities that had n topics in common. Commonality is
based on rst identifying topics for each entity that are most relevant given their
probabilities. then comparing entities based on this subset of topics. Our data
set did not include ground truth for this evaluation. However, as seen in gure
10 our preliminary results found interesting communities, such as a community
that included Vini Lopez and Bruce Springsteen who are related by playing in
the same band. Future work will perform more comprehensive experiments to
evaluate this method further.
6</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusion</title>
      <p>We described a framework for applying topic modeling to RDF graph data and
described how it can be used in a number of linked data tasks, including
predicting entity types, instance matching, ontology alignment, context identi cation
and community detection. By supplementing RDF data we can address the
problems related to spareness, lack of context and unnatural language. We have used
di erent problems in Semantic Web research to exercise LDA modeling. For
preliminary results over a small amount of data, topic modeling shows promise for
a number of tasks. Repetition and Wordnet supplemental data improves
performance. More work is needed to determine how we could use in-links and out-links
to supplement the data without increasing the noise. Our results, though
preliminary, provide some insight into how a basic LDA model might perform given</p>
      <p>Fig. 10: Community Detection
variations of the text. Our future work looks to modify the LDA algorithm itself
to work speci cally with graph based data.</p>
      <p>Acknowledgment. This work was supported by NSF grants 0910838 and 1228673.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1. B ro, I.,
          <string-name>
            <surname>Szabo</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Benczur</surname>
            ,
            <given-names>A.A.</given-names>
          </string-name>
          :
          <article-title>Latent dirichlet allocation in web spam ltering</article-title>
          .
          <source>In: 4th int. Workshop on Adversarial Information Retrieval on the Web</source>
          . pp.
          <volume>29</volume>
          {
          <fpage>32</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Blei</surname>
            ,
            <given-names>D.M.</given-names>
          </string-name>
          :
          <article-title>Probabilistic topic models</article-title>
          .
          <source>Comm. of the ACM</source>
          <volume>55</volume>
          (
          <issue>4</issue>
          ),
          <volume>77</volume>
          {
          <fpage>84</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Blei</surname>
            ,
            <given-names>D.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ng</surname>
            ,
            <given-names>A.Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jordan</surname>
            ,
            <given-names>M.I.</given-names>
          </string-name>
          :
          <article-title>Latent dirichlet allocation</article-title>
          .
          <source>the Journal of machine Learning research 3</source>
          , 993{
          <fpage>1022</fpage>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. DBpedia:
          <article-title>Dbpedia data set</article-title>
          . http://dbpedia.org/Datasets (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Deerwester</surname>
            ,
            <given-names>S.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumais</surname>
            ,
            <given-names>S.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Landauer</surname>
            ,
            <given-names>T.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Furnas</surname>
            ,
            <given-names>G.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Harshman</surname>
            ,
            <given-names>R.A.</given-names>
          </string-name>
          :
          <article-title>Indexing by latent semantic analysis</article-title>
          .
          <source>JAsIs</source>
          <volume>41</volume>
          (
          <issue>6</issue>
          ),
          <volume>391</volume>
          {
          <fpage>407</fpage>
          (
          <year>1990</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Dietz</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stewart</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Utilize probabilistic topic models to enrich knowledge bases</article-title>
          .
          <source>In: Proc. of the ESWC 2006 Workshop on Mastering the Gap: From Information</source>
          Extraction to Semantic Representation (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Ding</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Community detection: Topological vs</article-title>
          .
          <source>topical. Journal of Informetrics</source>
          <volume>5</volume>
          (
          <issue>4</issue>
          ),
          <volume>498</volume>
          {
          <fpage>514</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Duric</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Song</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Feature selection for sentiment analysis based on content and syntax models</article-title>
          .
          <source>Decision Support Systems</source>
          <volume>53</volume>
          (
          <issue>4</issue>
          ),
          <volume>704</volume>
          {
          <fpage>711</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Ereteo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <article-title>Bu a</article-title>
          , M.,
          <string-name>
            <surname>Gandon</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grohan</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Leitzelman</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sander</surname>
            ,
            <given-names>P.:</given-names>
          </string-name>
          <article-title>A state of the art on social network analysis and its applications on a semantic web</article-title>
          .
          <source>In: 7th Int. Semantic Web Conference</source>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Ferraram</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nikolov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , Schar e, F.:
          <article-title>Data linking for the semantic web</article-title>
          .
          <source>Semantic Web: Ontology and Knowledge Base Enabled Tools, Services and Applications</source>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Fortunato</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Community detection in graphs</article-title>
          .
          <source>Physics Reports</source>
          <volume>486</volume>
          (
          <issue>3</issue>
          ),
          <volume>75</volume>
          {
          <fpage>174</fpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12. Gri ths, T.:
          <article-title>Gibbs sampling in the generative model of latent dirichlet allocation (</article-title>
          <year>2002</year>
          ), http://bit.ly/1IA88Pc
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Hofmann</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Probabilistic latent semantic indexing</article-title>
          .
          <source>In: Proceedings of the 22nd annual international ACM SIGIR conference on Research and development in information retrieval</source>
          . pp.
          <volume>50</volume>
          {
          <fpage>57</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Hogan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zimmermann</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Umbrich</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Polleres</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Decker</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Scalable and distributed methods for entity matching, consolidation and disambiguation over linked data corpora</article-title>
          .
          <source>Journal of Web Semantics</source>
          <volume>10</volume>
          ,
          <issue>76</issue>
          {
          <fpage>110</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Hong</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Davison</surname>
            ,
            <given-names>B.D.</given-names>
          </string-name>
          :
          <article-title>Empirical study of topic modeling in twitter</article-title>
          .
          <source>In: Proceedings of the First Workshop on Social Media Analytics</source>
          . pp.
          <volume>80</volume>
          {
          <fpage>88</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Lin</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>He</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Joint sentiment/topic model for sentiment analysis</article-title>
          .
          <source>In: 18th ACM Conf. on Information and Knowledge Management</source>
          . pp.
          <volume>375</volume>
          {
          <issue>384</issue>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Ma</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tran</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bicer</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Typi er: Inferring the type semantics of structured data</article-title>
          .
          <source>In: 29th Int. Conf. on Data Engineering</source>
          . pp.
          <volume>206</volume>
          {
          <fpage>217</fpage>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Miller</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Wordnet: a lexical database for English</article-title>
          .
          <source>CACM</source>
          <volume>38</volume>
          (
          <issue>11</issue>
          ),
          <volume>39</volume>
          {
          <fpage>41</fpage>
          (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <article-title>Ontology alignment evaluation initiative - OAEI 2014 campaign</article-title>
          , http://oaei.- ontologymatching.org/2014/
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Paulheim</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bizer</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Type inference on noisy rdf data</article-title>
          . In: International Semantic Web Conference (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Phan</surname>
            ,
            <given-names>X.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nguyen</surname>
            ,
            <given-names>L.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horiguchi</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Learning to classify short and sparse text &amp; web with hidden topics from large-scale data collections</article-title>
          .
          <source>In: 17th WWW Conf</source>
          . pp.
          <volume>91</volume>
          {
          <fpage>100</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Ramage</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumais</surname>
            ,
            <given-names>S.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liebling</surname>
            ,
            <given-names>D.J.:</given-names>
          </string-name>
          <article-title>Characterizing microblogs with topic models</article-title>
          .
          <source>ICWSM 10</source>
          ,
          <issue>1</issue>
          {
          <issue>1</issue>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Shvaiko</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Euzenat</surname>
          </string-name>
          , J.:
          <article-title>Ontology matching: state of the art and future challenges. Knowledge and Data Engineering</article-title>
          , IEEE Transactions on
          <volume>25</volume>
          (
          <issue>1</issue>
          ),
          <volume>158</volume>
          {
          <fpage>176</fpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Sleeman</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Alonso</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pope</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Badia</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Opaque attribute alignment</article-title>
          .
          <source>In: Proc. 3rd Int. Workshop on Data Engineering Meets the Semantic Web</source>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <surname>Sleeman</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Finin</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Computing FOAF co-reference relations with rules and machine learning</article-title>
          .
          <source>In: 3rd Workshop on Social Data on the Web. ISWC</source>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <surname>Sleeman</surname>
            ,
            <given-names>J.</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>
          :
          <article-title>Entity type recognition for heterogeneous semantic graphs</article-title>
          .
          <source>In: AI Magazine</source>
          . vol.
          <volume>36</volume>
          , pp.
          <volume>75</volume>
          {
          <fpage>86</fpage>
          . AAAI Press (
          <year>March</year>
          2105)
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <surname>Song</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , He in, J.:
          <article-title>Domain-independent entity coreference for linking ontology instances</article-title>
          .
          <source>Journal of Data and Information Quality</source>
          <volume>4</volume>
          (
          <issue>2</issue>
          ),
          <volume>7</volume>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <string-name>
            <surname>Yan</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guo</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lan</surname>
          </string-name>
          , Y., Cheng, X.:
          <article-title>A biterm topic model for short texts</article-title>
          .
          <source>In: 22nd Int. Conf. on the World Wide Web</source>
          . pp.
          <volume>1445</volume>
          {
          <issue>1456</issue>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <surname>Zhang</surname>
          </string-name>
          , H.,
          <string-name>
            <surname>Giles</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Foley</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yen</surname>
          </string-name>
          , J.:
          <article-title>Probabilistic community discovery using hierarchical latent gaussian mixture model</article-title>
          .
          <source>In: AAAI</source>
          . pp.
          <volume>663</volume>
          {
          <issue>668</issue>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>