<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">HInT : Hybrid and Incremental Type Discovery for Semantic Graphs</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Alexander</forename><surname>Miraka</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Computer Science Department</orgName>
								<orgName type="institution">University of Crete</orgName>
								<address>
									<settlement>Heraklion</settlement>
									<country key="GR">Greece</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Nikos</forename><surname>Kardoulakis</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution">FORTH-ICS</orgName>
								<address>
									<settlement>Heraklion</settlement>
									<country key="GR">Greece</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Kenza</forename><surname>Kellou-Menouer</surname></persName>
							<affiliation key="aff2">
								<orgName type="laboratory">ETIS Lab</orgName>
								<orgName type="institution">ENSEA</orgName>
								<address>
									<settlement>Cergy</settlement>
									<country key="FR">France</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Georgia</forename><surname>Troullinou</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution">FORTH-ICS</orgName>
								<address>
									<settlement>Heraklion</settlement>
									<country key="GR">Greece</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Zoubida</forename><surname>Kedad</surname></persName>
							<affiliation key="aff3">
								<orgName type="institution">Univ. of Versailles -Paris Saclay</orgName>
								<address>
									<country key="FR">France</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Dimitris</forename><surname>Plexousakis</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution">FORTH-ICS</orgName>
								<address>
									<settlement>Heraklion</settlement>
									<country key="GR">Greece</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Haridimos</forename><surname>Kondylakis</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution">FORTH-ICS</orgName>
								<address>
									<settlement>Heraklion</settlement>
									<country key="GR">Greece</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">HInT : Hybrid and Incremental Type Discovery for Semantic Graphs</title>
					</analytic>
					<monogr>
						<idno type="ISSN">1613-0073</idno>
					</monogr>
					<idno type="MD5">E58DB748AE1389B9D7CDB995A264EF1F</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-25T03:14+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>Semantic Graphs</term>
					<term>Schema Discovery</term>
					<term>RDF</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>The rapid proliferation of the semantic web has led to the emergence of many weakly structured and incomplete data sources. On these sources typing information might be partially or completely missing. On the other hand, type information is essential for a number of tasks such as query answering, integration, summarization, and partitioning. Existing approaches for type discovery, either completely ignore type declarations available in the dataset (implicit type discovery approaches), or rely only on existing types, in order to complement them (explicit type enrichment approaches). In this demonstration, we present HInT, the first incremental and hybrid type discovery system for RDF datasets. To achieve this goal HInT identifies the patterns of the various instances, and then indexes and groups them to identify the types. Besides discovering new types, HInT exploits type information if available, to improve the quality of the discovered types by guiding the classification of the new instance in the correct group and by refining the groups already built.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>The proliferation of the semantic web and the explosion of the information now available as linked data have led to many weakly structured, irregular, and incomplete data sources, where declarations on the schema as primitives might be incomplete or missing. On the other hand, type information is crucial for a number of tasks such as federated query answering, data integration, summarization, and data partitioning.</p><p>As such, several works have focused in the past on type discovery. Based on our recent survey on semantic schema discovery <ref type="bibr" target="#b0">[1]</ref>, existing approaches proceed in two completely different ways. The implicit type discovery approaches <ref type="bibr" target="#b1">[2,</ref><ref type="bibr" target="#b2">3,</ref><ref type="bibr" target="#b3">4]</ref> rely on the analysis of the structure of the ISWC-Posters-Demos-Industry 2022 (International Semantic Web Conference (ISWC) 2022: Posters, Demos, and Industry Tracks) * Corresponding author. Envelope csd3804@csd.uoc.gr (A. Miraka); nickkard@ics.forth.gr (N. Kardoulakis); kenza.kellou.menouer@gmail.com (K. Kellou-Menouer); troulin@ics.forth.gr (G. Troullinou); Zoubida.Kedad@uvsq.fr (Z. Kedad); dp@ics.forth.gr (D. Plexousakis); kondylak@ics.forth.gr (H. kondylakis) instances and completely ignore schema declarations even when they are partially provided in the data source. Existing algorithms for implicit type discovery employ clustering algorithms such as k-means variations, hierarchical clustering or DBScan. However, the number of clusters is not usually known, whereas most of the algorithms require exhaustive comparisons between the instances. On the other hand the explicit type enrichment approaches <ref type="bibr" target="#b4">[5,</ref><ref type="bibr" target="#b5">6,</ref><ref type="bibr" target="#b6">7,</ref><ref type="bibr" target="#b7">8]</ref> rely on the schema declarations to complement or enrich them. However, these approaches cannot process sources that have little or no schema information. Finally, existing approaches do not natively support incrementality. Each time new information is added, the types recomputed from scratch, and previously computed information is completely ignored. However, RDF KBs are constantly updated and evolved <ref type="bibr" target="#b8">[9,</ref><ref type="bibr" target="#b9">10]</ref> .</p><p>In this paper, we move beyond the state of the art by demonstrating HInT, the first incremental and hybrid type discovery system for RDF datasets. HInT exploits the structure of the instances in order to discover typing information (as implicit type discovery approaches do), but also when typing information is available for some instances, it also takes it into consideration in order to guide and improve the type discovery process (as explicit schema discovery approaches do). Our approach first identifies the pattern of a given instance, then assigns the instance to the groups with similar patterns, using Locality Sensitive Hashing, and finally identifies the ones sharing the same type. We reduce instance processing to pattern processing, where each instance is treated independently, whereas our approach is incremental and suitable for large data sets. In addition, our approach enables type discovery in datasets where only some of the instances have types, and/or new types should be introduced besides assigning instances to existing ones. The full paper has already been recently presented at the SSDBM <ref type="bibr" target="#b10">[11]</ref> conference, whereas a video demonstrating our system is also available online<ref type="foot" target="#foot_0">1</ref> . The high-level architecture of our system is shown in Fig. <ref type="figure" target="#fig_0">1</ref>. It consists of the graphical user interface (GUI) and the back-end subsystem. The GUI has been implemented in HTML and CSS using the Vue JS framework whereas the back-end is implemented in Python.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">System Architecture</head><p>GUI. Using the GUI the users are able to upload an RDF dataset, for which they would like to discover the schema or to provide a URL for the file, if it is already available on the web. The file is then processed through the back-end subsystem and the identified types are presented along with statistics. In addition discovered patterns for each type are shown and example instances are presented. The bigger the types on the interface the more instances they contain. In addition, users are able to select the identified types in order to see the number of instances available for that type, to visualize example instances, and to see the patterns identified for that type. Furthermore, if the ground truth of the dataset is available it can be loaded as well and graphs for the precision, the recall and the f-measure are presented. A screenshot is shown in Fig. <ref type="figure" target="#fig_1">2</ref>.</p><p>Back-end. Pattern Discovery Module. As soon as the RDF file is parsed, each instance is described using an instance vector. An instance vector contains the properties of the specific instance, as properties provide a descriptive representation of it. In the instance vector, we do not store potentially available typing information as types are later considered in the type assignment module. In our approach, we first try to reduce instance processing, to pattern processing. As such, based on the instance vectors of the various instances, we gradually identify the patterns existing in a dataset.</p><p>Note that multiple types can be assigned to an instance vector and as a consequence to a pattern. A pattern represents a set of instances that use exactly the same set of properties. As a result, patterns improve the efficiency of the approach by: (i) avoiding unnecessary processing on the subsequent index structures for instances having the same structure, e.g., insertions, queries, etc., and (ii) reducing the memory footprint by not storing duplicate information, e.g., storing multiple times the same instance vector for similar instances.</p><p>Locality Sensitive Hashing Module. To achieve a native incremental type discovery, we use a Locality-Sensitive Hashing (LSH) method. The major advantage of LSH is the fact that each input is treated independently. As a result, we can avoid the pairwise comparisons between the constructed patterns. In our approach, we build an LSH index according to the hash values provided for the patterns in our dataset. As described earlier, when a new instance arrives for which a pattern does not exist, a new pattern is generated. The LSH module is responsible for generating the signature based on the generated pattern, which is then used to insert the pattern to the LSH Index. Then, in order to retrieve similar patterns, we query the LSH index using a pattern's signature. When such a query is issued, a group of similar patterns will be returned, that are candidates for belonging to the same type -remember that LSH is an approximate algorithm. Note that LSH only works for retrieving similar instances and not for type assignment which is happening in a following step.</p><p>Type Assignment Module. The type assignment module builds groups of similar patterns according to the values of their signatures from the sensitive-hashing functions and according to the provided typing declarations. Each pattern can be assigned to one or more groups, whereas a group represents a collection of patterns. The main idea of the algorithm is that the classification of a pattern does not fully depend on the results retrieved by LSH. On the contrary, the available type declarations in the dataset are not only used to complement the results retrieved by LSH, but they also have a high impact on the classification process.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Demonstration Scenario &amp; Conclusions</head><p>The goal for the demonstration is to show, through experimentation, the challenges involved in semantic schema discovery and to understand the benefits of a hybrid and incremental approach like HInT. We will start by explaining the objective of semantic schema discovery and guiding participants through the different design choices for HInT. We will then walk them through the following steps.</p><p>Configuration. We will use five datasets which will be presented to the users: BNF, Conference, DBpedia, HistMunic and LUBM ranging in both size (from 381 to 91 million triples), and in complexity. LUBM is a synthetic benchmark and includes an ontology along with a data generator, which was used to generate 91M triples. The Conference dataset consists of 1,430 triples. The BNF dataset exposes data for the French National Library and contains 381 triples. The third dataset is extracted from DBpedia and contains 19,696 triples. Finally, histmunic is an open government dataset that contains 119,151 triples. For each dataset, we will show non-trivial examples, where schema information is missing and should be inferred.</p><p>Schema Discovery Ignoring Known Types. In this step, we will configure HInT to ignore typing information that might already be available in the dataset. Then we will explain the various steps for discovering the schema and the algorithms used for pattern discovery, LSH indexing and type assignment. Upon each execution the detected types will be presented along with statistical information (e.g. the number of instances and patterns for each type) and the user will be able to explore the patterns for a selected type and also visualize a sample of its instances. Further, as for these datasets we already know the ground truth, the precision, recall and f-measure will be graphically visualized and a discussion on the quality of the discovered types will be made.</p><p>Schema Discovery Exploiting Typing Information. In this step, we will run exactly the same scenarios as in the previous step, but this time we will configure the system to exploit available typing information. Again the various steps for pattern discovery, LSH indexing and type assignment will be presented, explaining where the type information is used for improving the discovered types. The precision, recall and f-measure will be calculated for the various datasets and compared with the previous step, demonstrating the improvement of the schema discovery task.</p><p>Conclusions. We demonstrate HInT, the first hybrid and incremental type discovery system for RDF datasets. The core innovations are that a) we reduce instance comparisons to pattern comparisons, b) we employ LSH functions that enable incremental schema discovery and c) we can both detect missing types of available instances and generate new types that are missing. We demonstrate the versatile new performance and trade-offs that HInT provides, and we allow conference participants to understand the challenges of such a complex task. Finally, we allow conference participants to actively explore the developed infrastructure and the corresponding algorithms.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: HInT high-level architecture.</figDesc><graphic coords="2,130.96,453.66,333.36,137.94" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 2 :</head><label>2</label><figDesc>Figure 2: Screenshot from schema discovery using HInT.</figDesc><graphic coords="4,110.13,160.37,375.03,183.35" type="bitmap" /></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0">https://users.ics.forth.gr/~kondylak/HInT.mp4</note>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Acknowledgments</head><p>This research project was supported by the Hellenic Foundation for Research and Innovation (H.F.R.I.) under the "2nd Call for H.F.R.I. Research Projects to support PostDoctoral Researchers" (iQARuS Project No 1147).</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">A survey on semantic schema discovery</title>
		<author>
			<persName><forename type="first">K</forename><surname>Kellou-Menouer</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">VLDB Journal</title>
		<imprint>
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">An algorithm for extracting shape expression schemas from graphs</title>
		<author>
			<persName><forename type="first">Y</forename><surname>Tsuboi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Suzuki</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">ACM DocEng</title>
		<imprint>
			<biblScope unit="volume">32</biblScope>
			<biblScope unit="page">4</biblScope>
			<date type="published" when="2019">2019</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Statix-statistical type inference on linked data</title>
		<author>
			<persName><forename type="first">A</forename><surname>Lutov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Roshankish</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Khayati</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Cudré-Mauroux</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">IEEE Big Data</title>
		<imprint>
			<biblScope unit="page" from="2253" to="2262" />
			<date type="published" when="2018">2018</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Structure inference for linked data sources using clustering</title>
		<author>
			<persName><forename type="first">K</forename><surname>Christodoulou</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><forename type="middle">W</forename><surname>Paton</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">A</forename><surname>Fernandes</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Trans. on Large-Scale Data-and Knowledge-Centered Systems XIX</title>
				<imprint>
			<date type="published" when="2015">2015</date>
			<biblScope unit="page" from="1" to="25" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Browsing linked open data with auto complete</title>
		<author>
			<persName><forename type="first">H</forename><surname>Paulheim</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Semantic Web Challenge</title>
				<imprint>
			<date type="published" when="2012">2012</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<monogr>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">G</forename><surname>Nuzzolese</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Gangemi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Presutti</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Ciancarini</surname></persName>
		</author>
		<title level="m">Type inference through the analysis of wikipedia links</title>
				<imprint>
			<publisher>LDOW</publisher>
			<date type="published" when="2012">2012</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Type inference on noisy rdf data</title>
		<author>
			<persName><forename type="first">H</forename><surname>Paulheim</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Bizer</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">ISWC</title>
				<imprint>
			<date type="published" when="2013">2013</date>
			<biblScope unit="page" from="510" to="525" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Dbpedia entity type inference using categories</title>
		<author>
			<persName><forename type="first">L</forename><surname>Fang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Q</forename><surname>Miao</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Meng</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">ISWC 2016 Posters &amp; Demons</title>
				<imprint>
			<date type="published" when="2016">2016</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">Ontology evolution in data integration: Query rewriting to the rescue</title>
		<author>
			<persName><forename type="first">H</forename><surname>Kondylakis</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Plexousakis</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">ER</title>
		<imprint>
			<biblScope unit="volume">6998</biblScope>
			<biblScope unit="page" from="393" to="401" />
			<date type="published" when="2011">2011</date>
			<publisher>Springer</publisher>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">Ontology evolution: Assisting query migration</title>
		<author>
			<persName><forename type="first">H</forename><surname>Kondylakis</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Plexousakis</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">ER</title>
		<imprint>
			<biblScope unit="volume">7532</biblScope>
			<biblScope unit="page" from="331" to="344" />
			<date type="published" when="2012">2012</date>
			<publisher>Springer</publisher>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<monogr>
		<title level="m" type="main">Hint: Hybrid and incremental type discovery for large RDF data sources</title>
		<author>
			<persName><forename type="first">N</forename><surname>Kardoulakis</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2021">2021</date>
			<publisher>SSDBM</publisher>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
