Adding Conflict Resolution Features to a Query Language for Database Federations
解决矛盾的英语作文

解决矛盾的英语作文英文回答:Conflict is an unavoidable part of life. It arises in various forms and can stem from differences in perspectives, values, interests, and communication styles. While conflict can be challenging, it also presents an opportunity for growth and understanding. Resolving conflicts effectively requires a combination of empathy, communication skills,and a willingness to compromise.One crucial aspect of conflict resolution is empathy.By trying to understand the other person's viewpoint, wecan gain a deeper understanding of their motivations and feelings. This empathy allows us to approach the situation with compassion and to identify potential areas for compromise. Active listening and non-judgmental communication are key in fostering empathy.Effective communication is another essential element inresolving conflicts. Clear and direct communication helps prevent misunderstandings and allows both parties toexpress their perspectives openly. It is important to use "I" statements to express feelings and to avoid blaming language. Additionally, using open-ended questions can encourage the other person to share their thoughts and perspectives.Compromise is often necessary in conflict resolution.It involves finding a solution that both parties can accept, even if it does not fully meet their initial expectations. To achieve compromise, both parties need to be willing to negotiate and to consider the other person's interests. A spirit of collaboration and a willingness to find amutually acceptable solution are essential for effective compromise.In addition to these core components, there are several other strategies that can facilitate conflict resolution. These include:Seeking professional help: If the conflict isparticularly complex or difficult to resolve, seeking professional help from a therapist or mediator can provide an objective perspective and facilitate constructive dialogue.Taking breaks: When emotions are running high, it can be helpful to take a break from the conflict. Stepping away from the situation can allow both parties to冷静下来 and approach it with a fresh perspective.Focusing on the future: Instead of dwelling on past grievances, focus on finding a solution that will create a more positive and collaborative future. This can help shift the mindset from blame to problem-solving.中文回答:冲突是生活中不可避免的一部分。
conflict的用法和搭配

conflict的用法和搭配一、conflict的定义和基本用法在英语中,"conflict"(冲突)是一个常见的词汇,用来描述不同方面或个体之间的争执、对立和矛盾。
该词既可作名词也可作动词,在不同的语境中具有不同的意义和搭配。
下面将介绍conflict在名词和动词两个层面上的用法和常见搭配。
【名词用法】1. 定义:作为名词,"conflict"指代一种产生于不同目标、需求或立场之间的矛盾状态,可能涉及意见、权利、资源等方面。
它通常是人与人之间或团体与团体之间无法调和的冲突。
2. 例句:There is a conflict between his personal interests and his professional responsibilities.(他个人利益与职业责任之间存在冲突)3. 搭配:- conflict resolution(解决冲突): 关注冲突如何通过协商、谈判或其他方式得到解决。
- conflict management(处理冲突): 着重于如何预防、调停和减轻由于冲突产生的负面影响。
- conflict of interest(利益冲突): 表示一个人在职业或权益上存在矛盾或抵触。
【动词用法】1. 定义:作为动词,"conflict"表示发生冲突、对立或争执。
它可以描述个人、观点、目标之间的矛盾,并经常与介词"with"连用。
2. 例句:His opinion conflicts with mine.(他的观点与我的意见不一致)3. 搭配:- conflict with(与...冲突): 描述两者之间存在明显的不和谐或互斥。
- conflict against(与...相抵触): 表示一个事物或行动与另一个事物或行动发生冲突。
- conflict on/over/around(关于...有分歧): 指涉及某个特定话题或领域时产生分歧。
矛盾冲突的英文作文

矛盾冲突的英文作文Conflict and Resolution.Conflict is an inherent part of human interaction. It can arise from a variety of sources, including differences in values, beliefs, goals, and interests. While conflict can be destructive, it can also be productive, leading to positive outcomes such as increased understanding, empathy, and creativity. The key to managing conflict effectively is to find ways to resolve it in a constructive manner.There are a number of different approaches to conflict resolution. One common approach is negotiation, which involves the two parties involved in the conflict working together to find a mutually acceptable solution. This can be a challenging process, but it can be effective in resolving conflicts that are based on misunderstandings or differences in perspectives.Another approach to conflict resolution is mediation.In mediation, a neutral third party helps the two parties involved in the conflict to communicate and work towards a resolution. Mediation can be helpful in conflicts that are particularly difficult to resolve, such as those that involve strong emotions or power imbalances.In some cases, it may not be possible to resolve a conflict completely. However, it is still possible to manage the conflict in a way that minimizes its negative impact. One way to do this is to set clear boundaries and expectations. This can help to prevent misunderstandings and reduce the likelihood of conflict escalating.Another way to manage conflict is to focus on building relationships. When people have strong relationships, they are more likely to be able to resolve conflicts constructively. This is because they have a vested interest in maintaining the relationship and are more likely to be willing to compromise.Conflict is a natural part of life. It is important to remember that conflict can be both destructive andproductive. The key to managing conflict effectively is to find ways to resolve it in a constructive manner. By doing so, we can minimize the negative impact of conflict and maximize its potential for positive outcomes.Here are some additional tips for resolving conflict constructively:Stay calm and objective. It is important to stay calm and objective when you are in a conflict. This will help you to think clearly and make rational decisions.Listen to the other person's perspective. It is important to listen to the other person's perspective, even if you do not agree with it. This will help you to understand their point of view and find a mutually acceptable solution.Be willing to compromise. In most cases, it is necessary to compromise in order to resolve a conflict. This means that both parties need to be willing to give up something in order to get something.Seek professional help if needed. If you are unable to resolve a conflict on your own, you may want to seek professional help from a therapist or counselor. Atherapist can help you to identify the underlying causes of the conflict and develop strategies for resolving it.。
如何处理冲突英文作文

如何处理冲突英文作文Title: Conflict Resolution: A Guide to Effective Problem Solving;Introduction:Conflict is a natural part of human interaction, and it is essential to have effective strategies for resolving conflicts. In this essay, we will explore some practical steps for handling conflicts in a constructive manner, promoting understanding, and reaching mutually satisfactory solutions. Body:1. Recognize and acknowledge the conflict:The first step in conflict resolution is to acknowledge the existence of the conflict. It is important to approach the situation with an open mind, recognizing that conflicts arise due to differences in opinions, values, or interests. By acknowledging the conflict, we can begin the process of findinga resolution.2. Active listening and empathy:Active listening is crucial for understanding the perspectives and feelings of all parties involved. Each person should have an opportunity to express their thoughts and concerns without interruption. It is important to demonstrate empathy by putting ourselves in the shoes of others and trying to understand their point of view. Through active listening and empathy, we can foster better communication and build trust.3. Identify the underlying issues:To effectively resolve a conflict, it is necessary to identify the underlying causes. This may involve asking probing questions and engaging in open dialogue to uncover the root causes of the conflict. By addressing the core issues, we can prevent recurring conflicts in the future.4. Collaborative problem-solving:Instead of resorting to a win-lose mentality, aim for a win-win solution through collaboration. Encourage all parties to brainstorm ideas and contribute to finding a resolution. Focus on common interests and seek compromises that satisfy everyone involved. This approach promotes cooperation and strengthens relationships.5. Communication and negotiation:Clear and respectful communication is vital during conflict resolution. Ensure that all parties have an equal opportunity to express their needs and concerns. Negotiation skills, such as finding common ground, compromising, and finding creative solutions, can help bridge the gaps and reach a mutually agreeable outcome.6. Seek mediation if necessary:In some cases, conflicts may be too complex or emotionally charged to resolve directly between the parties involved. In such situations, seeking the assistance of a neutral third party, such as a mediator, can be beneficial. A skilled mediator can facilitate communication, manage emotions, and guide the parties towards a resolution.Conclusion:Conflict resolution is an essential skill that contributes to healthy relationships and productive environments. By recognizing conflicts, actively listening, identifying underlying issues, and engaging in collaborative problem-solving, individuals can work towards mutually satisfactory resolutions. Through effective communication and negotiation, conflicts can be transformed into opportunities for growth, understanding, and strengthened relationships.。
如何化解同学之间的矛盾,和谐相处英语作文

如何化解同学之间的矛盾,和谐相处英语作文How to Resolve Conflicts Among Classmates and Harmonize RelationshipsConflicts are inevitable in any human interaction, including among classmates. Differences in personalities, opinions, and backgrounds can often lead to misunderstandings and disagreements. However, it is essential to address these conflicts amicably and find ways to harmonize relationships among classmates. In this article, we will discuss some effective strategies to resolve conflicts and promote harmony among classmates.1. Communication is KeyThe first step in resolving conflicts among classmates is open and honest communication. Encourage students to express their thoughts and feelings calmly and respectfully. Allow each party to voice their perspective and listen attentively to each other's views. Effective communication can help clarify misunderstandings and find common ground for resolution.2. Seek MediationIf the conflict escalates and cannot be resolved through direct communication, seeking mediation from a teacher orcounselor may be necessary. A neutral third party can help facilitate a constructive dialogue between the conflicting parties and guide them towards a mutually agreeable solution. Mediation can provide a safe and supportive environment for students to address their issues and work towards reconciliation.3. Practice Empathy and UnderstandingEncourage classmates to empathize with each other's feelings and perspectives. Remind them that everyone has unique experiences and emotions that shape their behavior. By understanding each other's backgrounds and motivations, students can develop empathy and compassion towards their classmates, fostering a sense of unity and solidarity.4. Foster a Culture of RespectCreate a classroom environment that values respect and tolerance for diversity. Emphasize the importance of treating others with kindness and consideration. Encourage students to appreciate each other's differences and celebrate the uniqueness of each individual. By promoting a culture of respect, conflicts can be minimized, and relationships among classmates can thrive.5. Collaborate on Projects and ActivitiesEngaging students in collaborative projects and activities can promote teamwork and cooperation among classmates. Working together towards a common goal can strengthen bonds and build trust among students. Encourage students to communicate effectively, share ideas, and support each other in achieving success. Collaborative projects can foster a sense of unity and camaraderie, reducing conflicts and promoting harmony in the classroom.6. Encourage Conflict Resolution SkillsTeach students valuable conflict resolution skills to help them navigate disagreements and disputes effectively. Provide guidance on active listening, problem-solving, negotiation, and compromise. Encourage students to practice these skills inreal-life scenarios and empower them to resolve conflicts independently. By equipping students with conflict resolution skills, they can address conflicts proactively and maintain harmonious relationships with their classmates.In conclusion, conflicts among classmates are a common occurrence in school settings. However, by implementing strategies such as open communication, mediation, empathy, respect, collaboration, and conflict resolution skills, conflicts can be effectively resolved, and harmonious relationships can beestablished among classmates. Encourage students to work together, support each other, and embrace diversity, creating a positive and inclusive classroom environment where everyone feels valued and respected. Remember, it takes effort and commitment from everyone to build and maintain harmonious relationships among classmates.。
英语作文-有效的冲突解决策略

英语作文-有效的冲突解决策略Conflict is an inevitable part of human relationships. Whether in the workplace, in personal relationships, or in broader societal interactions, conflicts arise from differences in values, motivations, perceptions, ideas, or desires. However, the manner in which conflict is approached and resolved can significantly impact the outcome and the relationship between the parties involved. Effective conflict resolution strategies are essential for maintaining harmony and achieving mutually beneficial outcomes.Active Listening。
One of the most critical components of resolving conflicts effectively is active listening. This involves fully concentrating on what is being said rather than just passively 'hearing' the message of the speaker. Active listening requires the listener to fully engage and process the information being shared, and then respond appropriately. It is not merely an act of silence but an active process of understanding the speaker's perspective.Empathy。
家庭矛盾的建议英语作文

家庭矛盾的建议英语作文题目:Navigating Family Conflicts: A Pathway to Resolution and HarmonyFamily conflicts are an inevitable part of any household, stemming from differences in opinions, personalities, and expectations. However, they need not become insurmountable barriers to familial harmony. Here are some constructive strategies to approach and resolve such disagreements effectively.1. Open Communication: Encourage open and honest dialogue without judgment or blame. Each member should feel safe to express their thoughts and feelings. Active listening is vital –giving full attention, paraphrasing to show understanding, and avoiding interrupting. This creates a platform for mutual understanding and empathy, which are fundamental to conflict resolution.2. Empathy and Understanding: Endeavor to see the situation from the other person's perspective. Recognize that differing viewpoints stem from unique experiences, values, and emotions. Empathy fosters compassion and helps diffuse tension, allowing individuals to move past their defensive stance and find common ground.3. Stay Focused on the Issue: Avoid personal attacks and keep the discussion centered on the specific problem at hand. It's easy to get sidetracked by past grievances or unrelated issues, but staying focused increases the likelihood of findinga viable solution.4. Compromise and Collaboration: Acknowledge that neither party may get everything they want. Strive for solutions that satisfy everyone's core concerns, even if it means making concessions. Brainstorming together can generate innovative, mutually acceptable alternatives that promote unity rather than division.5. Professional Help if Needed: If conflicts persist or escalate despite efforts to resolve them, consider seeking the guidance of a professional counselor or mediator. An objective third party can facilitate constructive conversations, teach effective communication techniques, and help families develop lasting conflict-resolution strategies.6. Practice Forgiveness and Letting Go: After a conflict is resolved, it's essential to forgive, forget, and move forward. Holding grudges only perpetuates tension and hampers the healing process. Emphasize the importance of rebuilding trust and strengthening bonds through shared positiveexperiences.。
面对冲突解决问题的英语作文

Navigating Conflicts and Resolving IssuesIn our daily lives, conflicts are inevitable. They can arise in various settings, from personal relationships to professional environments. However, the key lies in how we approach and resolve these conflicts effectively.Firstly, it is crucial to recognize that conflicts are not always negative. They can serve as opportunities for growth and improvement. Therefore, maintaining a positive and open mindset is essential. By approaching conflicts with a willingness to understand and learn, we can transform them into positive experiences.Secondly, communication is the cornerstone of conflict resolution. Effective communication involves listening actively, expressing oneself clearly, and maintaining a respectful tone. When faced with a conflict, it is important to listen carefully to the other party's viewpoint and understand their perspective. This helps us gain a deeper understanding of the issue and identify potential solutions.Thirdly, seeking common ground is a powerful strategy in conflict resolution. By focusing on shared interests and goals, we can build bridges and find solutions that satisfy both parties. This requires a degree of flexibility and open-mindedness, as we need to be willing to compromise and consider alternative solutions.Moreover, it is important to remain calm and rational during conflicts. Emotions can often cloud our judgment and lead to impulsive decisions. Therefore, it is crucial to take a step back, assess the situation objectively, and think through our actions before responding.Lastly, if the conflict is too complex or involves sensitive issues, seeking the help of a mediator or third party can be beneficial. These individuals can provide an unbiased perspective and assist in facilitating a constructive dialogue between the parties.In conclusion, conflict resolution is a skill that can be honed and improved over time. By maintaining a positive mindset, communicating effectively, seeking common ground, remaining calm and rational, and seeking external assistance when necessary, we can navigate conflicts and resolve issues in a constructive and beneficial manner.。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Adding Conflict Resolution Features to a Query Language for Database FederationsKai-Uwe Sattler,Stefan Conrad,and Gunter SaakeDepartment of Computer Science,University of MagdeburgP.O.Box4120,D-39016Magdeburg,GermanyDepartment of Computer Science,University of MunichOettingenstr.67,D-80538M¨u nchen,GermanyAbstract.A main problem of data integration is the treatment of conflicts causedby different modeling of real-world entities,different data models or simply bydifferent representations of one and the same object.During the integration phasethese conflicts have to be identified and resolved as part of the mapping betweenlocal and global schemata.Therefore,conflict resolution affects the definition ofthe integrated view as well as query transformation and evaluation.In this pa-per we present a SQL extension for defining and querying database federations.This language addresses in particular the resolution of integration conflicts byproviding mechanisms for mapping attributes,restructuring relations as well asextended integration operations.Finally,the application of these resolution strate-gies is briefly explained by presenting a simple conflict resolution method.1IntroductionNowadays integrating heterogeneous data sources is a significant challenge to the database community.The availability of numerous sources,ranging from legacy sys-tems and enterprise databases to public Internet sources,increases the demand for tools and techniques integrating,condensing and abstracting data.Recently,several integra-tion approaches were developed,particularly multidatabase systems[LA86,BHP92], mediators[Wie92]and federated database systems[SL90].More or less these ap-proaches are based on the idea of providing an integrated view on the sources.Defining this view is subject of schema integration.During the integration process the individ-ual schemata are analyzed,the global schema is defined andfinally the mapping be-tween local and global schema is described.The mapping information provides the base for query processing.A global query is decomposed according to the mapping and translated into sub-queries for the individual sources.After local evaluation of the sub-queries,the sub-results have to be combined to the global result.Independent from the direction of the schema integration process(bottom-up–inte-gration of all the relevant data vs.top-down–integrating data for a given goal[Has99]) the designer has to resolve conflicts resulting from the heterogeneity of the participat-ing data sources.Examples of conflicts are among others different identifiers for the This work was supported in part by the German Research Council(DFG):FOR345/1-1.same fact(e.g.entities or attributes),using different modeling concepts for represent-ing real-world entities or conflicts,arising from overlapping of data.Resolving these conflicts is an important step in defining the mapping between local and global schema and therefore affects the query processing.In this paper we present the query language F RA QL,a lightweight SQL exten-sion for defining integrated object-relational schemata as well as formulating queries on them.This language is implemented as part of a query system for federated databases. The main contribution is the treatment of integration conflicts.The paper is organized as follows:After a brief survey on related work in Section2,we introduce the query lan-guage and the underlying software architecture in Section3.The resolution of conflicts with the help of the F RA QL language features is discussed in Section4.In Section5 we sketch basic principles of a method which we are currently developing for resolving conflicts as part of data integation.Finally,Section6concludes the paper and outlines future work.2Related WorkThe more general problem of schema integration is addressed by several approaches [BLN86,PBE95].For describing conflicts arising in the integration phase various clas-sifications were developed,e.g.in[KS91,SCG93,SPD92].Data models and query languages supporting the integration of heterogeneous sources are particularly multidatabase languages like MSQL[GLRS93],SQL/M [KGK95]and SchemaSQL[LSS96].Examples of system implementations are feder-ated database systems like IRO-DB[GGF96],Pegasus[ASD91]or IBM DataJoiner [VZ98]as well as mediator-based systems like TSIMMIS[GPQ97]or Information Manifold[LRO96].MSQL provides basic features for accessing schema labels and converting them into data values.SQL/M addresses mainly description conflicts by pro-viding mechanisms for scaling and unit transformation.More advanced conflict resolu-tion is addressed for example by the restructuring techniques proposed in SchemaSQL, which support the specification of relations with data dependent output schemata.Pegasus uses a functional object-oriented data manipulation language called HOSQL with non-procedural features,DataJoiner is based on DB2and therefore pro-vides essentially standard SQL features for conflict resolution.In mediator systems such as TSIMMIS the mediator is specified by a set of rules.Each rule maps a set of source objects into a virtual mediator object.In this way,conflicts are resolved by defining appropriated rules.The special problem of combining objects from different sources (object fusion)in mediators is addressed in[PAGM96].Furthermore,structural conflicts and resolution strategies are discussed in detail in [KCGS95].Techniques for managing schematic heterogeneity(meta conflicts)based on SchemaSQL features are presented in[Mil98].Resolving description conflicts by us-ing a rule-based data conversion language is described in[CDSS98],[MZ98]presents a schema-based data translation solution.In[Ken91]solving domain and schema mis-match problems with an object-oriented database language is discussed.In[LCC99]an approach is proposed,where the origin of integrated data is included as an additional tuple attribute in order to improve the interpretation of global data.An-other approach,presented in[SSR94],introduces the notion of semantic values enabling the interoperability of heterogeneous sources by representing context information.3F RA QL:An OverviewThe objective of the F RA QL development is the investigation of techniques for query processing in loosely-coupled database federations.In this context several problems arise,which make query processing and optimization more difficult.These include:het-erogeneity of data,missing or uncertain statistical information about data distribution and access paths,the limited query capabilities as well as non-predictable responses of the sources[IFF99].In the following we will focus on the aspect of resolving conflicts caused by heterogeneity of data.F RA QL is a query language for object-relational database federations.It extends SQL by features for defining federations,accessing meta-data in queries,restructuring query results,and resolving integration conflicts.This is comparable with other mul-tidatabase languages like MSQL or SchemaSQL,but in contrast to these F RA QL is extensible by user-defined data types and functions and it supports dynamic integra-tion of new sources.With this features F RA QL could form the base for advanced data integration and fusion tasks[SS99].In this context,F RA QL is not intended as an end user language,but an intermediate language for specifying the integrated views.There-fore,users can query the global integrated relations by means of usual SQL operations without knowledge of the F RA QL extensions.In F RA QL a federation is a set of databases consisting of relations.A database can be provided by a full-featured DBMS or even by a Web source encapsulated by a wrapper[RS97,SH99].This wrapper has to implement the query mechanisms which are not supported directly by the source.F RA QL is based on an object-relational data model:it supports the definition of object types and object tables derived from types. Using object-relational features simplifies the integration of post-relational data sources (e.g.ODBMS-based sources or XML datastores)and provides more advanced modeling concepts for schema definition.Object types describe the structure of objects as sets of attributes and their domains. Types can be organized in a specialization hierarchy.Object tables represent global vir-tual relations of the federation,i.e.data from the sources are not materialized,except for caching purposes in order to speed up query evaluation.Here we distinguish between import and integration relations.An import relation is a projection of a local relation of a data source.The import relation is defined by specifying the origin(the identifier of the source)and,if required,a mapping between local and global attributes.create type type name under type names](attrib definition);create table global name of type nameas import from source.local name[mapping definitions];An integration relation is a view on other global relations combined by using operators like union,-join and outer join.In addition,the standard SQL operations selectionand projection are provided,too.An integration relation is defined as follows,where the term table expression denotes a SQL view definition with extensions explained later.create table global name of type name as table expression;Furthermore,F RA QL supports user-defined functions,which are stored in the database of the federation layer(i.e.,in the query processing server)and are callable in queries. These functions are implemented in Java and registered in the query system.In order to be able to rewrite queries during optimization,two functions can be specified as inverse to each other.Similar to SQL,the union and join operations can be refined by an on clause spec-ifying the comparison attributes(for the union operator)resp.the comparison expres-sion(for join operators),e.g.:table1union table2on attr1,attr2table1join table2on table1.attr1=table2.attr1Both the union and join operators can be applied with an additional reconciled by clause which denotes a user-defined function for conflict resolution(see Section4): table1join table2on attr1=attr2reconciled by funcRestructuring of relations is implemented in a way inspired by SchemaSQL.Variables of a query can not only be bound to relations as tuple variables,but also to meta-data, like the set of attributes of a relation or the set of relations of a schema.But in con-trast to SchemaSQL,where meta-data access in queries is implemented as a language extension,in our approach the schema catalog is used.So,the catalog relation cata-log.columns contains information about attributes of all global relations,whereas the relation catalog.tables describes the global relations.Naturally,any global user relation with information about other relations can be used as meta-data source,too.As an extension to standard SQL,attributes of tuple variables in queries can be obtained during evaluation.This means,while in SQL names of attributes and relations are constants,in F RA QL they can be constructed from current values of other tuple attributes.This variable substitution is written in the notation$var and can appear everywhere in a query,where names of attributes or relations are expected.For example, the expression tbl1.$(tbl2.col)means the attribute of the current tuple of relation tbl1,whose name is obtained from the current value of tbl2.col.In the same way,a relation in the from clause or a query could be dynamically determined.The following query selects ISBN and title information from all relations implementing the object type book.So it is equivalent to a union of all these relations.select t2.isbn,t2.titlefrom catalog.tables t1,$()t2where t1.type name=’book’;This technique enables aflexible transformation of schemata by view definition.But we have to take into consideration the effects on query optimization.Therefore,static optimization techniques,which create a complete query plan before beginning theevaluation,are inappropriated for queries containing variable substitutions.Better ap-proaches should support runtime re-optimization at certain points of query processing [GW89,KD98].F RA QL is implemented as part of a federated query system.This system consists of the following main components:the query parser,the decomposer and the global op-timizer,the query evaluator,the Java VM for evaluating user-defined functions,and the catalog.The adapter layer contains the management component as well as the individ-ual adapters providing a uniform access interface to the data sources.The interface to the adapters and the query processor itself are implemented using CORBA.Therefore, adapters can be plugged into the system at runtime.On top of the query interface we have developed a JDBC driver and an interactive query tool.4Conflict Resolution in F RA QLIn F RA QL an integrated schema is defined only by global relations which are views on local relations.Therefore,data integration and conflict resolution are parts of query pro-cessing,particularly view decomposition,query transformation and result composition. So the main issues for conflict resolution in F RA QL are:–renaming of attributes as well as transformation of attribute values,–integration operations like union and joins,and–restructuring of relations by combining data and meta-data.In the following we discuss the application of these techniques for description conflicts, semantic conflicts,and structural conflicts.These are three of the four conflict classes introduced in[SPD92].We close this section by briefly considering the remaining class of heterogeneity conflicts.Description Conflicts.First,we consider description conflicts.This kind of conflicts occurs,when the same real-word entity is modeled with different properties.In F RA QL we eliminate these differences by defining an import relation.Beginning with the ob-ject type describing the desired global properties,we specify how the local relation implements this type.Here the following rules apply to this mapping:1.Each local attribute corresponding to an attribute defined by the global object typein terms of identifier and type becomes an attribute of the global relation.2.The notation g name is l name means renaming the local attribute to g name.Thisrequires type compatibility.3.The notation g name is func(l name)defines that the global attribute value is cal-culated by using the user-defined function func on the local attribute value.4.The definition g name is@tbl(l name,src,dest,default)means that the databasetable tbl is used for mapping the values from the local attribute l name.This value of the global attribute is obtained by looking for the value of attribute l name in column src and retrieving the corresponding value of column dest.Thefield default denotesa default value,either as literal or as local attribute,which is assigned to the globalattribute,if the value of l name is not found in the table.5.The remaining local attributes are suppressed.6.To all attributes of the global relation without a mapping the NULL value is assigned. The next example demonstrates these concepts.First we define an object type book: create type book(isbn varchar(20),title varchar(100),price float); Furthermore we assume a local relation buch from the source src,which differs from the object type by the attribute names and the currency of the price attribute(DM instead of Dollar).Therefore,a function dm2dollar for converting the value is required which could be implemented by accessing a database table.Now we can define the global relation german books as follows:create table german books of book as import from src.buch( title is titel,price is dm2dollar(preis));Based on these definitions the global queryselect title,isbn from german books where price<50;is transformable into a local query.Beside renaming attributes this requires a transfor-mation of the selection expression.Because user-defined functions are available only at the federation layer and not in the source itself,the selection operation has to be performed at global level or–for a constant expression–the expression has to be pre-computed by applying the inverse function.For the given example this results in the following transformed query:select titel,isbn from buch where preis<93.60;Of course,this requires that a function,e.g.dollar2dm,is being registered in the global query system as the inverse of dm2dollar.Semantic conflicts.Semantic conflicts arise,when the relations overlap,which have to be integrated,i.e.there are tuples from both relations representing the same real-world object.First of all,this kind of conflicts can be resolved in F RA QL by applying the standard SQL union operation.However,the following problems remain:–We have to decide,when two tuples from different relations represent the same real-world object(tuple identity).–How to process tuples representing the same object but containing different values for the same attribute(data conflicts)?The problem of tuple identity is solved by specifying the attributes relevant for deciding equivalence,as illustrated in Fig.1:create table books of book as books1union books2on isbn; The attributes have to identify the tuples of each relation uniquely,e.g.by using the primary key,in order to avoid duplicates.Data conflicts are resolved in F RA QL with the help of user-defined reconciliation functions.A reconciliation function is called for each pair of tuples fulfilling the com-parison condition.The affected tuples are passed as arguments to the function,the re-sulting tuple is inserted into the global relation.isbn author title 382578Williams,T.Otherland 326523Gibson,W.Idoru(a)books1isbn author title 382578Tad Williams Otherland 276830St.Lem Solaris(b)books2Fig.1.Tuple identity conflictsisbn number 33245242 67107672(a)bstore1isbn number3324524112678942(b)bstore2isbn number332452431267894267107672(c)storesFig.2.Resolving data conflictsIn the example from Fig.2we want to integrate two overlapping relations bstore1 and bstore2.Both relations contain an attribute number.In the integrated relation stores this attribute should represent the sum of both values.Therefore we define this relation as follows:create table stores of book asbstore1union bstore2on isbn reconciled by book resolve; The reconciliation function is implemented as a stored function in Java and registered in the query system:create function book resolve(book,book)returns book external name’Books.resolver’;In this example the F RA QL type book is mapped to a Java type.However,in the current implementation we use generic objects for representing tuples.Structural Conflicts.Representing a real-world aspect by different modeling concepts results in structural conflicts during integration.Depending on the variety of the data models several kinds of conflicts can occur.In the following we focus only on two spe-cial kinds:partitioning and meta conflicts.The resolution of other structural conflicts, particularly for the relational data model,is discussed for example in[KCGS95].Partitioning occurs,when the relations which have to be integrated represent dif-ferent aspects of the global relation,but still contain semantically equivalent attributes. This kind of conflicts is usually resolved by applying a-join or outer join operation. Like for the union operator a reconciliation function can be specified for resolving data conflicts.Meta conflicts arise,when a concept is represented as data object in one schema, whereas it is modeled as schema object(attribute or relation)in another one.In the example in Fig.3the database db1stores books and journals in a single relation publication,where each tuple contains a discriminating attribute type withid title type 382660Databases book 017062Computer journal(a)db1.publication id title382660Databases361556Java(b)db2.bookid title017062Computer000102CACM(c)db2.journalFig.3.Meta conflicts:relation vs.attributepossible values"book"and"journal".In database db2books and journals are stored in separate relations.Integrating both databases requires the adaptation of the relations from db2to the structure of publication.A straightforward solution would be a union of the relations book and journal with a constant value for the type attribute: create table publication of publ type asselect id,title,"book"from db2.bookunionselect id,title,"journal"from db2.journal;In a moreflexible approach the names of the relations in the from clause are determined from the schema catalog by using variable substitution:create table publication of publ type asselect t2.id,t2.title,from catalog.tables t1,$()t2where t1.schema=’db2’;In this way no modifications of the global relation are required,when new relations(e.g. representing another publication type like reports)have to be added.Without the language extension for variable substitution the above query could be evaluated by a dynamic SQL program as illustrated in the following pseudo code: exec sql create table publication(proj list);exec sql select name from catalog.tables where schema=’db2’;foreach tuple tqstr:=’insert into publication select id,title,’|| ||’from’||;exec sql prepare query from:qstr;exec sql execute query;endIn contrast,in F RA QL this query is processed directly by the query evaluator.In the second example(Fig.4)the relation of database db1contains books with their prices and suppliers.For each supplier a book is represented by a separate tuple.In contrast,the relation of database db2contains the supplier prices as separate attributes. By using the schema catalog and variable substitution we are able to transform the relation of db2according to the relation of db1.select b.isbn, b.$(), from db2.book b,catalog.attributes awhere a.table=’book’and <>’isbn’;isbn price supplier 3893423759.00meyers 3893423748.00jones(a)db1.book isbn meyers jones 3893423759.0048.00 2266051327.0029.00(b)db2.bookFig.4.Meta conflicts:attributes vs.data valueHeterogeneity Conflicts.This kind of conflicts occurs if the data of the local data sources is represented in different data models.In F RA QL these conflicts are resolved mainly by the adapters which map the modeling concepts and hide system-dependent differences(e.g.SQL dialects).5A Method for Conflict ResolutionBased on the features discussed above we can develop a simple method for conflict resolution as part of data integration.It is not intended as a replacement for schema integration,rather it complements existing integration methods.In the following we sketch the basic ideas of such method.We propose three steps reflecting the main concepts of F RA QL:object types,import relations and integration relations:1.First,the global types have to be defined,either top-down or bottom-up by integrat-ing the local types.2.Next,we have to define the import relations.Here we resolve description conflictsby specifying the mappings of attributes.3.In the last step we try to integrate import relations representing semantically equiv-alent real-world entities.In this context we have to consider two subtasks:–Resolving structural conflicts using standard SQL operations like projection, selection,renaming,the join operation with reconciliation functions as well as the restructuring mechanisms provided by F RA QL.–Resolving semantic conflicts by applying the union operator in conjunction with reconciliation functions.In practice a lot of existing conflicts are not obvious from only considering the schemata of data sources to be integrated.Therefore,classical schema integration techniques must be enhanced by additional means to detect such conflicts.Due to the fact that data from the data sources is available at integration time we can directly use their data to validate decisions made in the integration process.In addition,conflicts can be detected which are only visible on the data layer.Therefore,the stepwise integration of data sources by means of a language like F RA QL seems to be essential for obtaining an integration result of high quality.In particular,we expect the following kinds of contributions a stepwise integration using F RA QL can make to database integration:–Following the(preliminary)results of schema integration F RA QL can be used to define corresponding queries(or views)describing the integrated relations.By ap-plying such queries on real data from the data sources the F RA QL system can check whether there are additional conflicts on the data layer,e.g.not identical values for the same property of corresponding data objects in different data sources.By pre-senting all non-matching values(or,in case the number of conflicting values is too large,by presenting selected examples)the system can give important hints for re-solving such conflicts of which we were not aware when integrating the schemata.–Furthermore,we strive for enhancing the F RA QL system in such a way that the system can already propose possible ways for resolving such conflicts detected when computing a query(or view)describing an integrated relation.If the system proposes a conflict resolution it should directly generate a reconciliation function which can be used for that query(in the resolved by clause).Of course,such an automated generating of reconciliation functions is only possible in certain,re-stricted cases,e.g.if the conflict is due to a different scaling of numerical values in the data sources.Assuming that a large number of conflicts occuring in practice is of a kind for which a conflict detection and automated generation of conflict reso-lution functions is possible,this is an important and valueable help in carrying out an integration.By means of this functionality we aim at supporting an integration method based on an integration by example principle.In particular,the third issue,i.e.giving the system examples of conflicting values for automated conflict resolution,will be an essential part in this method.6ConclusionResolving conflicts is an important step in integrating heterogeneous data sources.Here, differences at schema level as well as problems caused by different data representations have to be eliminated.In this paper we have discussed conflict resolution techniques as part of the query language F RA QL.Integration conflicts are resolved at global level by defining views on the imported relations.In addition to the well-known SQL oper-ations our language provides more advanced mechanisms like renaming,value trans-formation as well as structural transformation.By using these mechanisms most of the integration conflicts are resolvable.Regarding conflict resolution we see our approach as an extension to DataJoiner and SchemaSQL.DataJoiner’s query language SQL per-mits accessing and querying foreign databases without further resolution mechanisms. SchemaSQL contributes among other things features for restructuring relations and with it for resolving meta conflicts and F RA QL extends these by additional resolution tech-niques for description and structural conflicts.F RA QL is currently being implemented in C++as part of a query processing system for loosely-coupled database federations.Furthermore,we have implemented adaptors to the Oracle and MySQL DBMS.Apart from the JDBC driver and the query tool mentioned before,a graphical design und query workbench for interactive definition of integrated schemata is under development.Moreover,in the future we will examine dynamic optimization techniques for interleaving query planning and execution.。