Claims
- 1. A method for visually mapping a schema from at least one source schema to a target schema, comprising:
creating a mapping of data from the at least one source schema to the target schema; selectively extracting data examples from the at least one source database; displaying the data examples to a user for selectively accepting the data examples, thus revising the mapping; and automatically generating a query corresponding to a mapping revised by the user.
- 2. The method of claim 1, wherein selectively accepting the data examples comprises selectively rejecting the data examples.
- 3. The method of claim 1, wherein extracting data examples comprises extracting positive and negative examples.
- 4. The method of claim 3, wherein selectively accepting the data examples, comprises selectively switching between the positive and negative examples.
- 5. The method of claim 2, wherein selectively extracting data examples comprises extracting only representative data examples.
- 6. The method of claim 1, further comprising the user selecting data values for displayed data examples.
- 7. The method of claim 6, further comprising the user chasing the data values by finding the same data values in a database.
- 8. The method of claim 6, further comprising the user walking the data values by following predefined paths through a database.
- 9. The method of claim 1, wherein creating the mapping from the at least one source database to the target schema comprises defining each mapping as a union of joint terms, with each joint term mapping different parts of the data.
- 10. The method of claim 9, wherein displaying the data examples comprises displaying at least one data example per joint term.
- 11. The method of claim 1, wherein displaying the data examples comprises displaying the mapping at a schema level
- 12. The method of claim 1, wherein displaying the data examples comprises displaying the mapping at a data level.
- 13. The method of claim 1, wherein creating the mapping of data comprises determining locations at which source data values appear in the target schema.
- 14. The method of claim 13, wherein creating the mapping of data further comprises determining how source tuples from different relations should be combined to form a target tuple.
- 15. The method of claim 14, wherein creating the mapping of data further comprises determining which source tuples should be used in forming the target tuple.
- 16. A system for visually mapping a schema from at least one source database to a target schema, comprising:
a first set of instructions for creating a mapping of data from the at least one source database to the target schema; a second set of instructions selectively extracting data examples from the at least one source database; a third set of instructions for displaying the data examples to a user for selectively accepting the data examples, thus revising the mapping; and a fourth set of instructions for automatically generating a query corresponding to a mapping revised by the user.
- 17. The system of claim 16, wherein the third set of instructions allows the user to selectively reject the data examples.
- 18. The system of claim 16, wherein the data examples comprise positive and negative data examples.
- 19. The system of claim 18, wherein the third set of instructions allow the user to selectively switch between the positive and negative data examples.
- 20. The system of claim 17, wherein the data examples comprise only representative data examples.
- 21. A system for visually mapping a schema from at least one source database to a target schema, comprising:
means for creating a mapping of data from the at least one source schema to the target schema; means for selectively extracting data examples from the at least one source database; means for efficiently extracting data examples from the at least one source database; means for displaying the data examples to a user for selectively accepting the data examples, thus revising the mapping; and means for automatically generating a query corresponding to a mapping revised by the user.
- 22. The system of claim 21, wherein the means for displaying allows the user to selectively reject the data examples.
- 23. The system of claim 21, wherein the data examples comprise positive and negative data examples.
- 24. The system of claim 23, wherein the means for displaying allows the user to selectively switch between the positive and negative data examples.
- 25. The system of claim 22, wherein the data examples comprise only representative data examples.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] The present application relates to co-pending U.S. patent application Ser. No. 09/658,303, filed on Sep. 8, 2000, titled “System and Method for Schema Mapping,” and Ser. No. 09/500,648, filed on Feb. 9, 2000, titled “User-Defined Relationships For Diagramming User-Defined Database Relations,” both of which are assigned to the same assignee as the present application.