scieee AI-readable full text Open interactive document viewer

Exchanging Data amongst Linked Data applications

Rivero, Carlos R.; Hernández Salmerón, Inmaculada Concepción; Ruiz Cortés, David; Corchuelo Gil, Rafael

Abstract

The goal of data exchange is to populate the data model of a target application using data that come from one or more source applications. It is common to address data exchange building on correspondences that are transformed into executable mappings. The problem that we address in this article is how to generate executable mappings in the con-text of Linked Data applications, that is, applications whose data models are semantic-web ontologies. In the literature, there are many proposals to generate executable mappings. Most of them focus on relational or nested-relational data models, which cannot be applied to our context; unfortunately, the few proposals that focus on ontologies have important drawbacks, namely: they solely work on a subset of taxonomies, they require the target data model to be pre-populated or they interpret correspondences in isolation, not to mention the propos-als that actually require the user to handcraft the executable mappings. In this article, we present MostoDE, a new automated proposal to generate SPARQL executable mappings in the context of Linked Data applications. Its salient features are that it does not have any of the previous drawbacks, it is computationally tractable and it has been validated using a series of experiments that prove that it is very efficient and effective in practice.

Full text

Exchanging Data amongst Linked Data applications Carlos R. Rivero, Inma Hernández, David Ruiz, Rafael Corchuelo Abstract The goal of data exchange is to populate the data model of a target application using data that come from one or more source applications. It is common to address data exchange building on correspondences that are transformed into executable mappings. The problem that we address in this article is how to generate executable mappings in the con-text of Linked Data applications, that is, applications whose data models are semantic-web ontologies. In the literature, there are many proposals to generate executable mappings. Most of them focus on relational or nested-relational data models, which cannot be applied to our context; unfortunately, the few proposals that focus on ontologies have important drawbacks, namely: they solely work on a subset of taxonomies, they require the target data model to be pre-populated or they interpret correspondences in isolation, not to mention the propos-als that actually require the user to handcraft the executable mappings. In this article, we present MostoDE, a new automated proposal to generate SPARQL executable mappings in the context of Linked Data applications. Its salient features are that it does not have any of the previous drawbacks, it is computationally tractable and it has been validated using a series of experiments that prove that it is very efficient and effective in practice. Keywords Knowledge and data engineering · Data exchange · Linked Data · Executable mappings · SPARQL C. R. Rivero (B)·I. Hernández ·D. Ruiz ·R. Corchuelo University of Sevilla, ETSI Informática, Avda. Reina Mercedes, s/n, 41012 Seville, Spain e-mail: carlosri[email protected] I. Hernández e-mail: [email protected] D. Ruiz e-mail: [email protected] R. Corchuelo e-mail: [email protected] 1 Introduction As data become pervasive, there is an increasing need to integrate them [5,7,9,37]. Integration is a common term by means of which researchers refer to a variety of problems, including: data integration, which deals with answering queries posed over a target data model using a number of source data models only [24,31]; model matching, aka model mapping, whose goal is to unveil correspondences amongst the entities of two data models [17,49]; model evolution, which focuses on the modifications of an existing data model in response to a need for change [19,20,38]; or data exchange, which aims to populate the data model of a target application using data that come from one or more source applications [4,16,18,33,34,41, 45,47]. This article focuses on data exchange, which has been paid much attention in the fields of relational and nested-relational data models [4,18,45]. Recently, with the emergence of the Semantic Web [57] and Linked Data applications [9,22], the problem is motivating many authors to work on data exchange in the context of ontologies [16,33,34,41,47], that is, data models that are represented using RDF, RDFS or OWL and queried using SPARQL [3,26,57]. Without an exception, data exchange has been addressed using mediators, which, in turn, rely on so-called mappings [17,36]. In the literature, it is common to distinguish between two kinds of mappings: correspondences and executable mappings [17,45,49,51]. A correspondence is a hint that specifies which entities in the source and target data models correspond to each other, that is, are somewhat related [17,49]; an executable mapping, aka operational mapping, is an executable artefact that encodes how the correspondences must be interpreted, that is, how to perform data exchange [45,51]. (By executable artefact, we mean a SPARQL query, a Datalog rule, an XSLT script or other means to read, transform and output data). Note that correspondences are inherently ambiguous since there can be many different executable mappings that satisfy them, but generate different target data [2,8,16,45]. Creating mappings automatically is appealing because this relieves users from the burden of handcrafting them [7,43,48,49]. Regarding correspondences, the literature provides a number of proposals that help generate them (semi-) automatically [15,49], even in the context of ontologies [12,13,17]. Generating executable mappings automatically in the context of relational and nested-relational data models has been studied extensively [2,23,45]. Unfortunately, the proposals in this context are not applicable to ontologies due to the inherent differences amongst these data models [35,38,51]. This has motivated several authors to work on proposals that are specifically tailored towards ontologies, namely: Mergen and Heuser [33] presented a proposal that can deal with only a subset of taxonomies; Qin et al. [47] devised a proposal that requires the target model to be pre-populated; the proposal by Mocan and Cimpian [34] may lead to incoherent target data since it interprets correspondences in isolation, without taking their interrelationships into account; Dou et al. [16]and Parreiras et al. [41] presented two proposals that require the user to handcraft the executable mappings. In this article, we present a proposal called MostoDE to automatically generate SPARQL executable mappings in the context of ontologies that rely on quite a complete subset of the OWL 2 Lite profile. The salient features of our proposal are as follows: it does not suffer from any of the problems we mentioned before regarding other proposals in the literature; it is computationally tractable, since O(es4 et + es et4 + es2 et2(es + et )) is an upper bound to its worst-time complexity, where es and et denote the number of entities in the source and target ontologies, respectively; furthermore, it has been validated using 3,783 non-trivial experiments in which the time to execute our algorithms never exceeded one second, and the exchanged data were as expected by experts in every case. These results suggest that it is very efficient in practice and that the interpretation of correspondences that our executable mappings encode is appropriate. We presented a preliminary 14-page version of these results in [51]; in that version, we did not take incomplete data exchange problems into account (cf. Sect. 4.4), which, together with our formalisation, analysis of complexity and validation, constitute the major differences. The rest of the article is organised as follows: in Sect. 2, we report on several related proposals and compare them with ours; Sect. 3introduces the conceptual framework on which our proposal relies; Sect. 4presents our algorithms; in Sect. 5,wefirstprovethat they are correct and then prove that they are computationally tractable; in Sect. 6,wepresent the results of our validation; finally, we present our conclusions in Sect. 7. Appendix 8 characterises the subset of the OWL 2 Lite profile with which our proposal can deal. 2 Related work Theinitialworkondataexchangeinthecontextofontologiesputtheemphasisondefiningthe problem and the strategies to address it, which mainly consisted in devising handcrafted correspondencesandperformingdata exchangeusingadhoctechniques [32,39].Laterproposals performed data exchange using reasoners [16,34,56] or SPARQL query engines [41,44,51] instead of ad hoc techniques. The majority of current proposals in the literature rely on correspondences and executable mappings that interpret them; there are a few proposals, however, that require the user to provide executable mappings using ad hoc languages. Correspondences can be handcrafted usingvisualtools[1,48,50],ordiscoveredautomaticallyusingmodelmatchingproposals[13, 12,15,17,30,40,49]. In either case, finding them is orthogonal to the problem of generating executable mappings, which is the reason why we do not discuss them further; in the sequel, we assume that a set of correspondences is available. The most closely related proposals in the field of ontologies were presented by Mergen and Heuser [33], Qin et al. [47], Mocan and Cimpian [34], Dou et al. [16] and Parreiras et al. [41]; Popa et al. [45]presentedthe state-of-the-art proposal in the context of nested-relational data models. Below, we report on these proposals and compare them to ours. Mergen and Heuser [33] devised an automated proposal that works with a subset of taxonomiesin which there areonly classes, data propertiesand single specialisations amongst classes. Their algorithm analyses every class correspondence independently and tries to find the set of correspondences that are involved in its properties and superclasses; this helps identify data that must be exchanged together and the many possible exchanges that can be performed. These subsets of correspondences are then translated into an ad hoc script language that was devised by the authors. Contrarily, our proposal can deal with quite a complete subset of ontologies that adhere to the OWL 2 Lite profile, which allows for object properties and multiple specialisations between classes and properties. Furthermore, our proposal generates executable mappings that are represented in standard SPARQL, which allows to perform data exchange using a SPARQL engine. Qin et al. [47] devised a semi-automatic proposal that relies on data mining. They first require the user to select a subset of source and target data for each data property; these are used to feed a mining algorithm that attempts to discover a set of queries that can exchange these data; these queries are then sorted according to an ad hoc metric, and the top ones are selected and transformed into Datalog rules, SWRL rules or Web-PDDL, an ad hoc language that was designed by the authors. The most important problem with this proposal is that it requires the target data model to be pre-populated so that the data mining algorithm can work, which is not the case in common data exchange problems [2,7,18,45]; if the target cannot be pre-populated with actual data, then the user must provide representative-enough synthetic data. Furthermore, it requires the user to select appropriate subsets of data from both the source and target data models, that is, subsets of data that capture variability well enough; this is not a trivial task since the data have to be selected very carefully to avoid over-fitting, that is, generating executable mappings that can deal with only the selected training data. Contrarily, our proposal does not require the target data model to be pre-populated, and it does not require the user to provide any additional data to compute the resulting executable mappings. Mocan and Cimpian [34] studied the problem of data exchange in the context of semanticweb services. They presented a formal framework to describe correspondences in terms of first-order logic formulae that can be mapped onto WSML rules very easily. Their proposal is similar in spirit to the one by Omelayenko [39], whose focus was on B2B applications, and the one by Maedche et al. [32], whose focus was on modelling correspondences in a generalpurpose setting. The main difference with the previous proposals is that Mocan and Cimpian went a step beyond formalising correspondences and devised a mediator that executes them using a WSML reasoner. Note that no attempt is made to identify groups of correspondences that must be taken into account together, which may easily lead to incoherent target data, that is, data that do not satisfy the constraints in the target ontology [2,8,45]. Contrarily, our proposal identifies groups of correspondences that must be analysed together, which impedes the resulting executable mappings from producing incoherent data. Parreiras et al. [41] presented a proposal within the framework of model-driven engineering. They extended the active template library (ATL) metamodel to support OWL 1 ontologies, which allows to express constraints on them using the object constraint language (OCL). They devised a mapping language called MBOLT by means of which users can express executable mappings that are later transformed into SPARQL and Java by means of a library of ATL transformations. Their proposal does not build on correspondences, but requires users to handcraft and maintain their executable mappings using MBOLT. This is similar in spirit to the proposal by Dou et al. [16]; the difference is the language used to represent the executable mappings. Contrarily to these proposals, ours is able to compute the executable mappings automatically, which saves the user from the burden of designing them. The previous proposals have problems that hinder their applicability in practice: Mergen and Heuser [33] deal with only a subset of taxonomies, Qin et al. [47] require the target model to be pre-populated, Mocan and Cimpian [34] interpret correspondences in isolation, and Dou et al. [16] and Parreiras et al. [41] require the user to handcraft executable mappings. This motivated us to work on a new proposal to overcome these limitations. Our first step was to study the literature on data exchange in the context of relational, nested-relational and XML data models. Relational data models are a special case of nested-relational data models, which is the reason why we do not provide any further details [45]. A nested-relational data model is defined by means of a tree that comprises a number of nodes, which may be nested and have a number of attributes. Furthermore, it is also possible to specify referential constraints that relate attributes in this model. Fagin et al. [18] and Arenas and Libkin [4]presented the theoretical foundations for performing data exchange using executable mappings in the context of relational and XML data models, respectively. Popa et al. [45] devised the state-of-the-art proposal regarding data exchange in nestedrelational data models. Although it seems efficient and effective enough to be used in practical applications, it cannot be applied in the context of ontologies. The main reason is that it builds on computing primary paths from the root node of a data model to every attribute Fig. 1 A running example: exchanging data from DBpedia 3.2 to DBpedia 3.6 in this model and then applying a variation of the well-known Chase algorithm that takes referential constraints into account [14]. In general, an ontology is not a tree, but a graph in which there is not a root node, which prevents us from computing primary paths, and it can contain cycles, which prevents us from using the Chase algorithm. There are more differences between nested-relational data models and ontologies [35,38,51]. One of the most important is that executable mappings are encoded using XQuery or XSLT in the nested-relational context; these languages build on the structure of the XML documents on which they are executed; contrarily, in an ontology, these mappings must be encoded in a language that is independent from the structure of the documents used to represent it, since the same ontology may be serialised to multiple languages, e.g., XML, N3 or Turtle. 3 Conceptual framework In this section, we present the conceptual framework that we use to describe our proposal. We first define its foundations, triples, ontologies, executable mappings and data exchange problems; then, we define precisely what satisfying a constraint or a correspondence means. To illustrate our proposal, we use a non-trivial, real-world data exchange problem that is based on the evolution from DBpedia 3.2 to DBpedia 3.6 [10], which involved many major structural changes (cf. Fig. 1). 3.1 Foundations Entities lay at the heart of every ontology, and they are denoted by means of URIs. Entities can be classified into classes and properties; the latter can be further classified into data properties and object properties. We denote the sets of classes, data properties and object properties as follows: [Class,DataProperty,ObjectProperty] and define the set of entities and properties as follows: Entity == Class ∪Property Property == DataProperty ∪ObjectProperty Ontologies also build on resources, which refer to everything that can be identified by means of a URI, literals, which denote values of simple data types, and blank nodes, which denote anonymous data. We denote these sets as follows: [Resource,Literal,BlankNode] Entity is a subset of Resource,andResource,Literal,andBlankNode are pairwise disjoint sets [28]: Example 1 In Fig.1, we denote entities as rounded boxes, for example, dbp32:Person is a class, dbp32:academyaward isadataproperty,dbp32:starring is an object property, and they all are represented by means of URIs. We use the W3C notation to represent literals and blank nodes; for instance, ‘Best Actor’ˆˆxsd:string is a sample literal, and _:BestActorAward is a sample blank node. 3.2 Triples Triples are three-tuples in which the first element is called subject, the second predicate and the third object. They help describe both the structure and data of ontologies. We define the set of all triples as follows: Triple == Subject ×Predicate ×Object Subject == Resource ∪Literal ∪BlankNode Predicate == Property ∪BuiltInConstruct Object == Resource ∪Literal ∪BlankNode Note that there is a contradiction between the RDF and the SPARQL recommendations. On the one hand, the RDF recommendation does not allow to use literals in the subject of a triple [28]; on the other hand, the SPARQL recommendation actually allows to use literals in the subject of a triple [46]. Therefore, we can build triples in which the subject is a literal using SPARQL. Since our research focuses on SPARQL queries, we have decided to include literals in the subject of triples. Note, too, that a predicate can be a property or a built-in construct. By built-in construct, we mean a URI that denotes one of the predefined RDF, RDFS and Mosto constructs with which we deal. (In the sequel, we use prefix mosto:to refer to the constructs that we have defined in our proposal). We define these sets as follows: BuiltInConstruct == {rdf:type}∪ConstraintConstruct ∪ CorrespondenceConstruct ConstraintConstruct == {rdfs:subClassOf,rdfs:subPropertyOf, rdfs:domain,rdfs:range, mosto:strongDomain,mosto:strongRange} CorrespondenceConstruct == {mosto:classT oClass,mosto:dataToData, mosto:objectToObject,mosto:dataToClass} ConstraintConstruct does not actually include every possible construct in the OWL 2 Lite profile, but the minimal subset of constraints with which we deal. Section 3.6 provides additional details regarding the semantics of this subset of constraints, and ‘Appendix 8’ provides additional details on how to translate other constructs into this minimal subset. Set CorrespondenceConstruct includes the correspondence constructs with which we can deal. They allow to establish correspondences from classes to classes, data properties to data properties, object properties to object properties and data properties to classes. Section 3.7 provides additional details regarding the semantics of these constructs. For the sake of convenience, we also define the following subsets of triples: Constraint == Subject ×ConstraintConstruct ×Object Correspondence == Subject ×CorrespondenceConstruct ×Object Example 2 The following are examples of triples: (dbp32:starring,rdfs:domain,dbp32:Film) (dbp32:Unforgiven,rdf:type,dbp32:Film) (dbp32:Unforgiven,dbp32:starring,dbp32:ClintEastwood) (dbp32:starring,mosto:objectToObject,dbp36:starring) The first triple asserts that dbp32:starring is an object property whose domain is class dbp32:Film; the second triple asserts that dbp32:Unforgiven is of type dbp32:Film; the third triple asserts that dbp32:Unforgiven is related to dbp32:ClintEastwood by means of object property dbp32:starring; the fourth triple asserts that object property dbp32:starring in DBPedia 3.2 is related to object property dbp36:starring in DBPedia 3.6. In Fig. 1, we represent constraint constructs by means of labelled arrows and correspondences by means of labelled dashed arrows. Note that data properties like dbp32:academyaward do not have an explicit range since the OWL 2 Lite profile states that the object of a triple with the rdfs:range construct must be a class [6]; data properties are then implicitly assumed to range over the set of literals. 3.3 Ontologies Anontologyisarepresentationofadatamodel,whichcomprisesadescription of the structure of the data and the data themselves. For the purpose of this article, we just need the description of the structure. An ontology can thus be defined by means of a two tuple that consists of aset of entities and a set of constraints. We then define the set of all ontologies as follows, where Pdenotes powerset: Ontology == {E:PEntity;C:PConstraint | ∀s:Subject;p:ConstraintConstruct;o:Object · (s,p,o)∈C⇒{s,o}⊆E} For the sake of convenience, we define the following projection functions: Furthermore, we introduce the concept of path in an ontology, which comprises a sequence of one or more entities: Path == seq1Entity Given an ontology, we may wish to compute the set of all paths in that ontology, which is formally defined by the following function: An ontology is connected if there is a path between any two entities, or there exists an intermediate entity that is connected to them by means of two paths. This is formally defined by the following predicate: Example 3 In Fig. 1, the ontology on the left is not connected, for example, there are not any paths that connect entities dbp32:academyawards and dbp32:imdbI d, and there does not exist another entity that has a path to them both. Note, however, that the ontology formed by entities dbp32:academyawards and dbp32:Actor, together with their rd f s:domain constraint is connected. 3.4 Executable mappings In our proposal, executable mappings are SPARQL conjunctive queries of the construct type. Such queries consist of a construct clause that specifies which triples have to be constructed in the target ontology, and a where clause that specifies which triples should be retrieved from the source ontology. These clauses can then be represented as sets of triple patterns that are implicitly connected by means of a logical. A triple pattern generalises the concept of triple by allowing the subject, the predicate and/or the object to be variables. In the rest of this article, we refer to triple patterns as patterns for the sake of brevity. We denote the set of all variables as follows: [Variable] Fig. 2 A sample executable mapping and define the set of all patterns as follows: Pattern == Subject?×Predicate?×Object? Subject?== Subject ∪Variable Predicate?== Predicate ∪Variable Object?== Object ∪Variable An executable mapping can thus be represented as a two tuple in which the first component corresponds to the set of patterns in the construct clause, and the second component corresponds to the set of patterns in the where clause. We then define the set of all executable mappings as follows: ExecutableMapping == PPattern ×PPattern For the sake of convenience, we define an instance of a class as a pattern of the form: (s,rdf:type,c),inwhichs∈Subject?;c∈Class;and aninstanceofapropertyasapattern of the form: (s,p,o),inwhichs∈Subject?;p∈Property;o∈Object?. Furthermore, we define the following projection functions: Note that Triple ⊆Pattern, which implies that instances may refer to both triples and patterns, and that the previous projection functions can be applied to both triples and patterns. Example 4 Figure 2shows a sample executable mapping that comprises four patterns in the construct clause and three patterns in the where clause. In this example, ?xand ?yare variables, and _:ais a blank node. This executable mapping retrieves source instances whose type is dbp32:Workand dbp32:Film, which are related to the instances of dbp32:imdbId; it builds target instances of type dbp36:Work and dbp36:Film, which are related to the instances of dbp36:imdbId and dbp36:abstract. Note that the object of the instance of property dbp32:imdbId is copied to the object of the instance of property dbp36:imdbId; Fig. 6 Algorithm to find subontologies Fig. 7 Algorithm to find the correspondences between two subontologies constructed in isolation, but in the context of an instance of property dbp36:academy Award that has an instance of classes dbp36:Artist and dbp36:Person as subject. In the algorithm in Fig. 4, the computation of the kernel that is associated with a correspondence is performed at lines 10–12. Given correspondence v, we first find the subontologies that are associated with the subject and the object of v and then find the correspondences between them. We present the algorithm to compute subontologies in Fig. 6. It works on an input entity e and an input ontology o, and returns an ontology (E, C) that results from exploring e in depth. The algorithm iterates over a set of entities Q that is initialised to {e}; intuitively, Q stores the entities that remain to be explored. In each iteration of the main loop, the algorithm removes an entity f from set Q and then computes the subset of constraints whose subject is f , which is immediately added to the resulting set of constraints C; note, however, that we only add to Q the objects that have not been explored so far to prevent the algorithm from looping forever in the many common cases in which the ontology has cycles; set E keeps record of the entities that have been explored so far. We present the algorithm to compute the correspondences between two subontologies in Fig. 7. It takes two ontologies o1 and o2 and a set of correspondences V as input. The output is computed as the subset of correspondences from V whose subject belongs to the entities of ontology o1, and the object belongs to the set of entities of ontology o2. (a) (b) Fig. 8 Sample initial executable mapping and variable links 4.2 Step 2: computing initial executable mappings A kernel is just a starting point; it needs to be transformed into an executable mapping. This requires to transform its source and its target subontologies into two sets of initial patterns. The set that corresponds to the where clause must include a pattern to retrieve every instance of an entity in the source ontology of the kernel, whereas the set that corresponds to the construct clause must include a pattern to construct an instance of every entity in the target ontology of the kernel. Figure 8a presents the initial executable mapping of the kernel in Fig.5.Forexample, to retrieve the instances of class dbp32:Actor,weneedapatternoftheform (?y3,rdf:type,dbp32:Actor),where?y3denotes a fresh variable. Similarly, there is a property called dbp32:academyaward, which requires a pattern of the form (?y4,dbp32: academyaward,?y5),where?y4and ?y5denote fresh variables, as well. Note that, intuitively, we should link variables ?y3and ?y4since the subject of an instance of property dbp32:academyaward must be an instance of class dbp32:Actor; the initial executable mapping does not take these links into account, since computing them is the goal of the next step. In the algorithm in Fig. 4, the computation of the initial executable mapping is performed at lines 14 and 15. We present the algorithm to initialise the patterns in Fig. 9. It takes a set of entities Eas input and returns a set of patterns T. The resulting set is initialised to the empty set, and then the algorithm iterates over the set of entities. In each iteration, it adds a new pattern to the result set according to the type of entity being analysed, namely: for every class c, it adds a pattern of the form (?x,rdf:type,c),where?xdenotes a fresh variable; and for every property p, it adds a pattern of the form (?y,p,?z),where?yand ?zdenote two fresh variables. 4.3 Step 3: computing variable links The variables in the patterns generated by the previous step are pairwise distinct. This step is responsible for finding links amongst these variables. To find them, we need to analyse the constraints and the correspondences in the kernel that is associated with the correspondence being analysed. Fig. 9 Algorithm to initialise patterns Figure 8b presents the variable links regarding the initial executable mapping in Fig. 8a. Note that links can be naturally represented as an undirected graph in which the nodes are variables, and the edges indicate which variables are linked. For example, property dbp32:academyaward in our running example has a constraint of type rdfs:domain that indicates that its domain is class dbp32:Actor; this means that we need to locate the pattern that we generated for these entities and link their corresponding subjects, i.e., ?y3and ?y4. Similarly, there is a correspondence between property dbp32:academyaward and class dbp36:Award; this means that we need to locate the pattern that we generated for these entities and link ?y5and ?x3. We formally define the sets of links as follows: Link == Variable × Variable In the algorithm in Fig. 4, the computation of variable links is performed at lines 17–19. We first find the links that are due to the constraints in the source ontology, then the links that are due to the constraints in the target ontology, and finish the process by finding the links that are due to the correspondences. We present the algorithms to find the variable links due to constraints and correspondences in Figs. 10 and 11, respectively. They both operate very similarly: they iterate over the set of input constraints or correspondences, find the patterns associated with their subjects and objects and create the appropriate links. The only feature that requires a little explanation is that correspondences between object properties do not result in any links. The reason is that, according to inference rule O2O (cf. Sect. 3.7), an object property to object property correspondence does not specify how to link the subject or the object of the target instance; it only specifies that an instance of the source property must exist in the source patterns, and an instance of the target property must exist in the target patterns. The algorithm to find the pattern that is associated with an entity is presented in Fig. 12. Note that, due to the way we initialise patterns, their subject is always a variable; only the predicate or the object can be entities. This is the reason why this algorithm does not check the subject of the patterns it examines. 4.4 Step 4: computing and applying substitutions The result of the previous step is a graph in which every connected component includes a group of variables that are linked, that is, a group of variables that should actually be the Fig. 10 Algorithm to find variable links using constraints Fig. 11 Algorithm to find variable links using correspondences Fig. 12 Algorithm to find a pattern of an entity (a) (b) Fig. 13 Resulting substitution and executable mapping same. Consequently, the next step is to transform this graph into a substitution in which every variable in every connected component is replaced for the same fresh variable and then apply it to the initial executable mapping that we computed in the second step. Figure 13a highlights the two connected components in the variable links in Fig. 8b; the substitution maps the variables in each connected component to fresh variables ?z1 and ?z2, respectively. Figure 13b shows the executable mapping that results from applying the previous substitution to the initial executable mapping in Fig. 8a. In this example, every variable in the construct clause is linked to a variable in the where clause. There can be, however, cases in which there exists a variable in the construct clause that is not linked to any variables in the where clause. Whenever this happens, the interpretation is that the set of correspondences is not complete enough to describe the data exchange problem that is being analysed. In some situations, the set of correspondences can be completed to solve the problem, but there are others in which this is not possible because the target ontology provides more information than the source ontology; for instance, DBPedia 3.6 provides information about work abstracts (property dbp36:abstract), which is not present in DBpedia 3.2. In these cases, it makes sense to generate a blank node that acts as a placeholder; in other words, instead of failing to exchange any data due to this problem, we can exchange as much data as possible and highlight special cases using blank nodes. These placeholders are known as labelled nulls in the context of nested-relational data models [18]. We formally define a substitution as a finite map from variables onto variables and blank nodes, namely: Substitution == Variable  → Variable ∪ Blank Node In the algorithm in Fig. 4, the computation and the application of substitutions are performed at lines 21–23. We first find the substitution that corresponds to the variable links that we have found in the third step and then apply it to both the initial set of patterns in the construct and the where clauses that we computed in the second step. We present the algorithm to find substitutions in Fig. 14. It takes a set of links L and a set of patterns TW as input and returns a substitution S; we implicitly assume that TW is the set of triples in the where clause of an executable mapping. The algorithm first invokes f indConnectedComponents to find the set of connected components CC in the input Fig. 14 Algorithm to find substitutions variable links; we do not provide any additional details on this algorithm since it is well known in the literature [25]. It then initialises Sto the empty set and iterates through the set of connected components CC. In each iteration, it checks whether a component Kincludes variables from both the construct and the where clause, in which case a fresh variable is created;otherwise,wehavefoundagroup of variablesforwhichthereisnotacorrespondence that assigns values to them, which justifies the creation of a fresh blank node. Immediately after, it updates the resulting substitution Sby mapping every pair of variables to the fresh variable or blank node that was created previously. We present the algorithm to apply a substitution in Fig. 15. It takes a substitution Sand a set of patterns Tas input and returns a new set of patterns Tthat results from applying substitution Sto every subject and object in T. Fig. 15 Algorithm to apply substitutions 5 Analysis of our proposal In this section, we analyse our proposal to prove that it is correct and we also prove that its worst-case complexity is computationally tractable. 5.1 Analysis of correctness In the following theorem and propositions, we prove that our algorithm is correct. This requires us to prove the following: (1) that the kernels our algorithm computes are actually kernels; (2) that the executable mappings it generates retrieve source data that satisfy the source constraints and exchanges them into target data that satisfy the target constraints and the correspondences. Theorem 1 (Kernel satisfaction) Each data exchange problem created at lines 10–12 in Algorithm generateExecutableMappings is a kernel. Proof Let kbe the data exchange problem created at lines 10–12 in Algorithm generate ExecutableMappings. Note that o1is the source ontology, o2is the target ontology and V is the set of correspondences of k. According to the definition of kernel (cf. Sect. 3.5), kmust be contained in d, that is, the entities, constraints and correspondences of kmust be present in d. As it can be checked, algorithms findSubOntology and f indCorrespondences always iterate over the entities, constraints and correspondences of d; therefore, kis contained in dsince we do not use any external entity, constraint or correspondence. Furthermore, the source (target) ontology of kmust be connected; for every two entities e1and e2in the source (target) ontology, we can discern the following cases: – There exists a path that has e1as the first entity and e2as the last entity: Algorithm findSubOntology would find this path since, starting from e1, it adds a new entity if there exists a constraint that relates the previous entity with the next entity in the path, ending in e2. – There exists a path that has e2as the first entity and e1as the last entity: Algorithm findSubOntology would find this path as we have analysed in the previous case. – There exists an entity e3and two paths p1and p2, such that p1has e3as the first entity and e1as the last entity, and p2has e3as the first entity and e2as the last entity: Algorithm findSubOntology would find paths p1and p2in isolation as we have analysed in the first case. Another implication of the definition of kernel is that dmust not contain a source (target) constraint c that does not belong to k, but the subject of c belongs to the entities of k;ifthis constraint c exists, algorithm f ind SubOntology would add it to k (cf. line 12 in Fig. 6). The final implication of the definition of kernel is that d must not contain a correspondence v that does not belong to k, but the subject and object of v belong to the source and target entities of k, respectively; if this correspondence v exists, algorithm f indCorrespondences would add it to k. Theorem 2 (Generating executable mappings) Let d be a data exchange problem. The executable mappings generated by generateExecutableMappings(d) satisfy the following properties: i) every source triple it retrieves satisfies the constraints of source(d); ii) every target triple it generates satisfies the constraints of target(d); and iii) they satisfy the correspondences in the kernels from which they originate. Proof The proof builds on Propositions 1, 2 and 3, in which we prove each property of the resulting executable mappings independently. Proposition 1 (Source constraint satisfaction) Let d be a data exchange problem and m = (TC , TW ) any of the executable mappings that are returned by generateExecutable Mappings(d). m retrieves data that satisfy the constraints of the source ontology of d. Proof The proof follows from reductio ad absurdum: assume that z is a constraint in the source of d,and that TW does not satisfy it. Depending on the predicate of z,wemay distinguish the following cases: – If constraint zis of the form (c1,rdfs:subClassOf,c2),wherec1and c2denote two classes, then the initial patterns are of the form (?x1,rdf:type,c1)and (?x2,rdf:type, c2);thus,thealgorithmtofindconstraintlinksmustreturnalinkbetweenvariables?x1and ?x2, which, after computing the corresponding substitution and applying it to the initial patterns, results in two patterns of the form (?x,rdf:type,c1)and (?x,rdf:type,c2). According to inference rule SC (cf. Sect. 3.6), TWsatisfies constraint z. –Ifzis of the form (p1,rdfs:subPropertyOf,p2),wherep1and p2denote two properties, then the initial patterns are of the form (?x1,p1,?y1)and (?x2,p2,?y2); thus, the algorithm to find constraint links must return a link between variables ?x1and ?x2, and another link between variables ?y1and ?y2, which, after computing the corresponding substitution and applying it to the initial patterns, result in two patterns of the form (?x,p1,?y)and (?x,p2,?y). According to inference rule SP(cf. Sect. 3.6), TWsatisfies constraint z. –Ifzis of the form (p,rdfs:domain,c),wherepdenotes a property and cdenotes a class, then the initial patterns are of the form (?x1,p,?y1)and (?x2,rdf:type,c); thus, the algorithm to find constraint links must return a link between variables ?x1and ?x2, which, after computing the corresponding substitution and applying it to the initial patterns,results in two patterns oftheform (?x,p,?y1)and (?x,rdf:type,c). According to inference rule D(cf. Sect. 3.6), TWsatisfies constraint z. –Ifzis of the form (p,rdfs:range,c),wherepdenotes a property and ca class, then the initial patterns are of the form (?x1,p,?y1)and (?x2,rdf:type,c); thus, the algorithm to find constraint links must return a link between variables ?y1and ?x2, which, after computing the corresponding substitution and applying it to the initial patterns, results in two patterns of the form (?x1,p,?y)and (?y,rdf:type,c). Therefore, according to inference rule R(cf. Sect. 3.6), TWsatisfies constraint z. –Ifzisoftheform(c,mosto:strongDomain,p),wherecdenotesaclassand paproperty, then the initial patterns are of the form (?x1,rdf:type,c)and (?x2,p,?y2); thus, the algorithm to find constraint links must return a link between variables ?x1and ?x2,which, after computing the corresponding substitution and applying it to the initial patterns, results in two patterns of the form (?x,rdf:type,c)and (?x,p,?y2). According to inference rule SD (cf. Sect. 3.6), TWsatisfies constraint z. –Ifzis of the form (c,mosto:strongRange,p),wherecdenotes a class and pa property, then the initial patterns are of the form (?x1,rdf:type,c)and (?x2,p,?y2); thus, the algorithm to find constraint links must return a link between variables ?x1and ?y2,which, after computing the corresponding substitution and applying it to the initial patterns, results in two patterns of the form (?y,rdf:type,c)and (?x2,p,?y). According to inference rule SR (cf. Sect. 3.6), TWsatisfies constraint z. Since we have found a contradiction in every case, we can conclude that the initial hypothesis is wrong. As a conclusion, m retrieves data that satisfies the constraints of the source ontology of d. Proposition 2 (Target constraint satisfaction) Let d be a data exchange problem and m = (TC , TW ) any of the executable mappings that are returned by generateExecutable Mappings(d). m constructs data that satisfy the constraints of the target ontology of d. Proof The proof follows straightforwardly using the same reasoning as in the previous proposition. Proposition 3 (Correspondence satisfaction) Let d be a data exchange problem and m = (TC , TW ) any of the executable mappings that are returned by generateExecutable Mappings(d). Assume that v is the correspondence from which generateExecutable Mappings generated m, and that k is the kernel associated with v. m satisfies the subset of correspondences in k. Proof The proof follows from reductio ad absurdum: assume that v is a correspondence in correspondences(k),and that m does not satisfy it. Depending on the predicate of v,we may distinguish the following cases: –Ifvis of the form (c1,mosto:classToClass,c2),wherec1and c2denote two classes, the initial patterns of the where and the construct clauses contain two patterns of the form (?x1,rdf:type,c1)and (?y1,rdf:type,c2), respectively; the algorithm to find correspondence links must then find a link between variables ?x1and?y1, which, after computing the corresponding substitution and applying it, results in patterns (?x,rdf:type,c1) and (?x,rdf:type,c2). According to inference rule C2C(cf. Sect. 3.7), msatisfies this correspondence. –Ifvis of the form (p1,mosto:dataToData,p2),wherep1and p2denote two data properties, the initial patterns of the where and the construct clauses contain two patterns of the form (?x1,p1,?y1)and (?x1,p2,?y2), respectively; the algorithm to find correspondence links must then find a link between variables ?y1and ?y2,which,after computingthecorrespondingsubstitutionand applying it, results in patterns (?x1,p1,?y) and (?x2,p2,?y). According to inference rule D2D(cf. Sect. 3.7), msatisfiesthiscorrespondence. –Ifvis of the form (p1,mosto:objectToObject,p2),wherep1and p2denote two object properties, the initial patterns of the where and the construct clauses contain two patterns of the form (?x1,p1,?y1)and (?x1,p2,?y2), respectively; note that the algorithm to find correspondence links ignores this kind of correspondences and that, according to inference rule O2O(cf. Sect. 3.7), the initial patterns satisfy this correspondence. –Ifvis of the form (p,mosto:dataToClass,c),wherepdenotes a data property and c denotes a class, the initial patterns of the where and the construct clauses contain two patterns of the form (?x1,p,?y1)and (?x2,rdf:type,c), respectively; the algorithm to findcorrespondencelinksmustthenfindalinkbetweenvariables?y1and?x2,which,after computing the corresponding substitution and applying it, results in patterns (?x1,p,?y) and (?y,rdf:type,c). According to inference rule D2C(cf. Sect. 3.7), msatisfies this correspondence. Since we have found a contradiction in every case, we can conclude that the initial hypothesis is wrong. As a conclusion, m satisfies the correspondences in the kernel that is associated with the correspondence from which it originated. 5.2 Analysis of complexity In the following theorem and propositions, we analyse the worst-case complexity of our algorithm and its subalgorithms. The worst case is a data exchange problem in which every entity of the source ontology has a correspondence with every entity of the target ontology. Furthermore, the source and target ontologies are complete graphs, that is, every pair of entities are connected by a constraint. As a conclusion, in the worst-case problem, v= eset,cs=(e2 s−es)/2, and ct=(e2 t−et)/2, where esand etdenote the number of entities in the source and target ontologies, vdenotes the number of correspondences, and csand ct denote the number of source and target constraints, respectively. In our proofs, we assume that simple set operations like invoking a projection function, checking for membership, merging two sets, or constructing a tuple can be implemented in O(1)time with regard to the other operations. We also implicitly assume that data exchange problems must be finite, that is, the sets of entities, constraints and correspondences involved are finite. Theorem 3 (Generating executable mappings, cf. Fig. 4)Let d be a data exchange problem. O(e4 set+ese4 t+e2 se2 t(es+et)) is an upper bound for the worst-time complexity of algorithm generateExecutableMappings(d),wheree sand etdenote the number of entities in the source and target of d, respectively. Proof Algorithm generateExecutableMappings(d)has to iterate through the whole set of correspondences in d. It calls findSubOntology two times for each correspondence (lines 10 and 11): the first time is to compute the source subontology and the second time to compute the target subontology, which, according to Proposition 4, terminates in O(escs) and O(etct)time, respectively, where cs=(e2 s−es)/2 is the number of source constraints and ct=(e2 t−et)/2 is the number of target constraints. In the next step, the algorithm calls f indCorrespondences (line 12), which, according to Proposition 5, terminates in O(v) time, where v=esetdenotes the number of correspondences of d. Furthermore, the algorithm calls initialisePatterns two times (lines 14 and 15): the first time is to compute the initial source patterns and the second time to compute the initial target patterns, which, according to Proposition 6, terminates in O(es)and O(et)time, respectively. In the following steps, the algorithm calls f indConstraintLinks two times (lines 17 and 18): the first time is to compute the links that are related to the source constraints and the second time to compute the links that are related to the target constraints, which, according to Proposition 7, terminate in O(cstw)and O(cttc)time, where cs=(e2 s−es)/2 is the number of source constraints, tw=esis the number of patterns in the where clause, which is equal to the whole set of source entities in the worst case, ct=(e2 t−et)/2 is the number of target constraints and tc=etis the number of patterns in the construct clause, which is equal to the whole set of target entities in the worst case. In the next step, the algorithm calls f indCorrespondenceLinks (line 19), which, according to Proposition 8, terminates in O(v (tw+tc)) time, where v=esetdenotes the number of correspondences of d,tw=esis the number of patterns in the where clause, and tc=etis the number of patterns in the construct clause. In the next step, the algorithm calls findSubstitution (line 21), which, according to Proposition 10, terminates in O(l) time, where l=2cs+2ct+v=e2 s−es+e2 t−et+esetis the total number of links which, in the worst case, involves two links for each source and target constraint (subproperty constraint), and a link for each correspondence. Finally, the algorithm calls applySubstitution two times (lines 22 and 23): the first time is to compute the substitution of the where clause and the second time to compute the substitution of the construct clause, which, according not hinder its practical applicability since the constructs with which we cannot deal are not so common in real-world applications [21]. RDFS features: This group includes owl:Class,rdfs:subClassOf,rdf:Property, rdfs:subPropertyOf,rdfs:domain,rdfs:range,andowl:Individual. The only one that our proposal ignores is owl:Individual, since individuals are retrieved or constructed by means of the executable mappings we generate, but need not be dealt with explicitly in our proposal. Equality and inequality: The constructs of this group are owl:equivalentClass, owl:equivalentProperty,owl:sameAs,owl:dif ferentFrom,owl:AllDi f f erent,and owl:distinctMembers. The first two constructs need not be dealt with explicitly, since they are actually abbreviations. If an ontology contains a triple of the form (c1,owl:equivalentClass,c2), it can be replaced by the following triples, with which we can deal natively: (c1,rdfs:subClassOf,c2) (c2,rdfs:subClassOf,c1) Similarly, if it contains a triple of the form (p1,owl:equivalentProperty,p2),wemay replace it by the following triples, with which we can also deal natively: (p1,rdfs:subPropertyOf,p2) (p2,rdfs:subPropertyOf,p1) The remaining constructs in this category deal with individuals; thus, we may ignore them for data exchange purposes. Restricted cardinality: The constructs in this group allow to restrict the cardinality of a property, namely: owl:minCardinality,owl:maxCardinality and owl:cardinality. The owl:minCardinality construct can restrict the minimum cardinality of a property pwith respect to a class cto be zero as follows: (c,rdfs:subClassOf,_:x) (_:x,rdf:type,owl:Restriction) (_:x,owl:minCardinality,‘0’ˆˆxsd:int) (_:x,owl:onProperty,p) Note that, by default, all data and object properties have a minimum cardinality of zero. Therefore, it does not require any special treatment. Similarly, construct owl:minCardinality can restrict the minimum cardinality of a property pwith respect to a class cto be one as follows: (c,rdfs:subClassOf,_:x) (_:x,rdf:type,owl:Restriction) (_:x,owl:minCardinality,‘1’ˆˆxsd:int) (_:x,owl:onProperty,p) The previous set of triples can be replaced by (c, mosto:strongDomain, p), if property p has class c as domain, or by (c, mosto:strongRange, p), if property p has class c as range. Construct owl:maxCardinality can be used to restrict the maximum cardinality of a property to zero or one. In the former case, the property is annulated, which is a case with which our proposal cannot deal; we, however, have not found this to be a practical limitation since it is not common at all to annulate a property. The later case is the default in the OWL 2 Lite profile; thus, it does not require a special treatment. Construct owl:cardinality is a shorthand to combine the previous constructs; thus, neither does it require special treatment. Property characteristics: This group includes constructs owl:ObjectProperty and owl:DatatypeProperty, with which we deal natively; owl:TransitiveProperty must actually be dealt with by a semantic-web reasoner, that is, we can assume that their semantics have been made explicit before using our technique; the rest of constructs are shorthands, namely: owl:inverseO f,owl:SymmetricProperty,owl:FunctionalProperty, and owl:InverseFunctional Property. If an ontology contains a subset of triples of the form: (p1,rdfs:domain,c1) (p1,rdfs:range,c2) (p1,owl:inverseO f,p2) we can transform them into the following triples, with which we can deal natively: (p2,rdfs:domain,c2) (p2,rdfs:range,c1) Furthermore, we can transform (p,rdf:type,owl:SymmetricProperty)into a triple of the form (p,owl:inverseO f,p). Similarly, we can transform a triple of the form (p,rdf:type,owl:FunctionalProperty)into the following triples before using our technique: (_:x,rdf:type,owl:Restriction) (_:x,owl:minCardinality,‘0’ˆˆxsd:int) (_:x,owl:maxCardinality,‘1’ˆˆxsd:int) (_:x,owl:onProperty,p) Finally, if we find a subset of triples of the form: (p1,owl:inverseO f,p2) (p2,rdf:type,owl:InverseFunctional Property) we can transform it into the following triples before applying our technique: (p1,rdf:type,owl:FunctionalProperty) (p2,rdf:type,owl:FunctionalProperty) General property restrictions: This group includes a number of constructors that allow to express general constraints on properties, namely: owl:Restriction,owl:onProperty, owl:allValuesFrom and owl:someValuesFrom. We cannot deal with these constructs in a general problem, but only in the cases that we have mentioned in the previous paragraphs, that is, functional properties and cardinality restrictions. Class intersection: This group includes a single construct: owl:intersectionOf.We cannot deal with these constructs. Meta-information: This category comprises three groups of constructs in the OWL 2 Lite profile,namely:headerinformation,versioningandannotationtypes.Theyincludeconstructs like owl:Ontology,owl:imports,owl:versionInf o or owl:backwardCompatible With, to mention a few. They provide meta-information about an ontology, which make them irrelevant for data exchange purposes. References 1. Alexe B, Chiticariu L, Miller RJ, Pepper D, Tan WC (2008a) Muse: A system for understanding and designing mappings. In: SIGMOD, pp 1281–1284 2. Alexe B, Tan WC, Velegrakis Y (2008b) STBenchmark: towards a benchmark for mapping systems. PVLDB 1(1):230–244 3. Antoniou G, van Harmelen F (2008) A semantic web primer, 2nd edn. The MIT Press, Cambridge 4. Arenas M, Libkin L (2008) XML data exchange: consistency and query answering. J ACM 55(2):1–72 5. Arjona JL, Corchuelo R, Ruiz D, Toro M (2007) From wrapping to knowledge. IEEE Trans Knowl Data Eng 19(2):310–323 6. Bechhofer S, van Harmelen F, Hendler J, Horrocks I, McGuinness DL, Patel-Schneider PF, Stein LA (2004) OWL web ontology language reference. Technical report, W3C. http://www.w3.org/TR/owl-ref/ 7. Bernstein PA, Haas LM (2008) Information integration in the enterprise. Commun ACM 51(9):72–79 8. Bernstein PA, Melnik S (2007) Model management 2.0: manipulating richer mappings. In: SIGMOD, pp 1–12 9. Bizer C (2009) The emerging Web of Linked Data. IEEE intelligent systems 5(3):87–92 10. Bizer C, Lehmann J, Kobilarov G, Auer S, Becker C, Cyganiak R, Hellmann S (2009) DBpedia: a crystallization point for the Web of Data. J Web Semant 7(3):154–165 11. Bouquet P, Giunchiglia F, van Harmelen F, Serafini L, Stuckenschmidt H (2004) Contextualizing ontologies. J Web Semant 1(4):325–343 12. Candan KS, Kim JW, Liu H, Suvarna R (2006) Discovering mappings in hierarchical data from multiple sources using the inherent structure. Knowl Inf Syst 10(2):185–210 13. Choi N, Song I-Y, Han H (2006) A survey on ontology mapping. SIGMOD Rec 35(3):34–41 14. Deutsch A, Nash A, Remmel JB (2008) The chase revisited. In: PODS, pp 149–158 15. Dorneles CF, Gonçalves R (2011) Approximate data instance matching: a survey. Knowl Inf Syst 27(1): 1–21 16. Dou D, McDermott DV, Qi P (2005) Ontology translation on the semantic web. J Data Semant 2:35–57 17. Euzenat J, Shvaiko P (2007) Ontology matching. Springer, Berlin 18. Fagin R, Kolaitis PG, Miller RJ, Popa L (2005) Data exchange: semantics and query answering. Theor Comput Sci 336(1):89–124 19. Flouris G, Konstantinidis G, Antoniou G, Christophides V (2012) Formal foundations for RDF/S KB evolution. Knowl Inf Syst 1–39. doi:10.1007/s10115-012-0500-2 20. Flouris G, Manakanatas D, Kondylakis H, Plexousakis D, Antoniou G (2008) Ontology change: classification and survey. Knowl Eng Rev 23(2):117–152 21. Glimm B, Hogan A, Krötzsch M, Polleres A (2012) OWL: yet to arrive on the web of data? In: LDOW 22. Groza T, Grimnes G, Handschuh S, Decker S (2011) From raw publications to Linked Data. Knowl Inf Syst 1–21. doi:10.1007/s10115-011-0473-6 23. Haas LM, Hernández MA, Ho H, Popa L, Roth M (2005) Clio grows up: From research prototype to industrial tool. In: SIGMOD, pp 805–810 24. Halevy AY (2001) Answering queries using views: a survey. VLDB J 10(4):270–294 25. HopcroftJE,TarjanRE(1973)Efficientalgorithms for graphmanipulation[H](Algorithm 447). Commun ACM 16(6):372–378 26. Jing Y, Jeong D, Baik D-K (2009) SPARQL graph pattern rewriting for OWL-DL inference queries. Knowl Inf Syst 20(2):243–262 27. Klusch M, Fries B, Sycara KP (2009) OWLS-MX: a hybrid semantic web service matchmaker for OWL-S services. J Web Semant 7(2):121–133 28. Klyne G, Carroll JJ (2004) Resource description framework (RDF): concepts and abstract syntax. Technical report, W3C. http://www.w3.org/TR/rdf-concepts/ 29. Kobilarov G, Scott T, Raimond Y, Oliver S, Sizemore C, Smethurst M, Bizer C, Lee R (2009) Media meets semantic web: how the BBC uses DBpedia and Linked Data to make connections. In: ESWC, pp 723–737 30. Leite M, Ricarte I (2012) Relating ontologies with a fuzzy information model. Knowl Inf Syst 1–33. doi:10.1007/s10115-012-0482-0 31. Lenzerini M (2002) Data integration: A theoretical perspective. In: PODS, pp 233–246 32. Maedche A, Motik B, Silva N, Volz R (2002) MAFRA: A MApping FRAmework for distributed ontologies. In: EKAW, pp 235–250 33. Mergen SLS, Heuser CA (2006) Data translation between taxonomies. In: CAiSE, pp 111–124 34. Mocan A, Cimpian E (2007) An ontology-based data mediation framework for semantic environments. Int. J Semant Web Inf Syst 3(2):69–98 35. Motik B, Horrocks I, Sattler U (2009) Bridging the gap between OWL and relational databases. J Web Semant 7(2):74–89 36. Mrissa M, Ghedira C, Benslimane D, Maamar Z, Rosenberg F, Dustdar S (2007) A context-based mediation approach to compose semantic web services. ACM Trans Internet Tech 8(1):4 37. Noy NF (2004) Semantic integration: a survey of ontology-based approaches. SIGMOD Rec 33(4):65–70 38. Noy NF, Klein MCA (2004) Ontology evolution: not the same as schema evolution. Knowl Inf Syst 6(4):428–440 39. OmelayenkoB (2002)Integratingvocabularies:discoveringand representing vocabularymaps. In: ISWC, pp 206–220 40. Palopoli L, Rosaci D, Terracina G, Ursino D (2005) A graph-based approach for extracting terminological properties from information sources with heterogeneous formats. Knowl Inf Syst 8(4):462–497 41. Parreiras FS, Staab S, Schenk S, Winter A (2008) Model driven specification of ontology translations. In: ER, pp 484–497 42. Pedrinaci C, Domingue J (2010) Toward the next wave of services: linked services for the web of data. J UCS 16(13):1694–1719 43. Petropoulos M, Deutsch A, Papakonstantinou Y, Katsis Y (2007) Exporting and interactively querying web service-accessed sources: the CLIDE system. ACM Trans Database Syst 32(4):22 44. Polleres A, Scharffe F, Schindlauer R (2007) SPARQL++ for mapping between RDF vocabularies. In: OTM, pp 878–896 45. Popa L, Velegrakis Y, Miller RJ, Hernández MA, Fagin R (2002) Translating web data. In: VLDB, pp 598–609 46. Prud’hommeaux E, Seaborne A (2008) SPARQL query language for RDF. Technical report, W3C. http:// www.w3.org/TR/rdf-sparql-query/ 47. Qin H, Dou D, LePendu P (2007) Discovering executable semantic mappings between ontologies. In: ODBASE, pp 832–849 48. Raffio A, Braga D, Ceri S, Papotti P, Hernández MA (2008) Clip: A visual language for explicit schema mappings. In: ICDE, pp 30–39 49. Rahm E, Bernstein PA (2001) A survey of approaches to automatic schema matching. VLDB J 10(4): 334–350 50. Ressler J, Dean M, Benson E, Dorner E, Morris C (2007) Application of ontology translation. In: ISWC, pp 830–842 51. Rivero CR, Hernández I, Ruiz D, Corchuelo R (2011a) Generating SPARQL executable mappings to integrate ontologies. In: ER, pp 118–131 52. Rivero CR, Hernández I, Ruiz D, Corchuelo R (2011b) Mosto: Generating SPARQL executable mappings between ontologies. In: ER, pp 345–348 53. Rivero CR, Hernández I, Ruiz D, Corchuelo R (2011c) On benchmarking data translation systems for semantic-web ontologies. In: CIKM, pp 1613–1618 54. Rivero CR, Hernández I, Ruiz D, Corchuelo R (2012) Benchmarking data exchange amongst semanticweb ontologies. IEEE Trans Knowl Data Eng PP(99). doi:10.1109/TKDE.2012.175 55. Rivero CR, Ruiz D, Corchuelo R (2011d) Automatic generation of executable mappings: a semantic-web technologies approach. Technical report TDG-247, University of Sevilla. http://www.tdg-seville.info/ Download.ashx?id=247 56. Serafini L, Tamilin A (2007) Instance migration in heterogeneous ontology environments. In: ISWC, pp 452–465 57. Shadbolt N, Berners-Lee T, Hall W (2006) The semantic web revisited. IEEE Intell Syst 21(3):96–101