Project: talenddataquality
Issue TDQ-10718: Semantic analysis improvements
h3. add checks with wordnet before adding attributes into the ontology (UI interaction required) See some existing code https://github.com/Talend/tdq-siq/blob/master/JenaSemProject/src/org/talend/ontology/matching/WorNetVerification.java -- add a new wizard page after the action page and before the new analysis page (see mockup) -- move the "run enrichment" button to this page -- move the "enrichment report" to this page too. -- the new page will list all actions with a validation status --- the user must confirm each action with the "run enrichment" button --- when we switch from the action page to this page, the status of each action is computed as follows: ---- when the field words to add in the ontology do not exist in wordnet, then the status is invalid with a warning icon. ---- when the field words exist in wordnet and does not exist already in the ontology repository, then the status is valid. ---- when the field words exist in wordnet and already exist in the ontology repository, then the status is invalid (with a red cross icon). --- By default, the confirmation checkboxes of all valid actions are checked and those of the invalid actions are unchecked. --- the user can confirm the addition of fields with an invalid status if he wants to force the addition of this field into the ontology (except when the attribute name already exists in the ontology - invalid with red cross - In this case, the checkbox must be disabled). --- the enrichment (with all confirmed actions) happens when the user clicks on the "run enrichment" button. --- after the enrichment, a log is written to the "enrichment report" --- the table can be sorted when click on the header (action column, "validation status" column or the "confirm" column) h4. Tooltips: -- on the valid icon, add the following tooltip text: "This attribute can be added to the selected concept in the ontology repository. Use the checkbox to confirm." -- on the triangle icon (invalid wordnet validation), add the following tooltip text: "This attribute name may not be correct. Please, make sure it's correctly written. Use the checkbox if you still want to add it to the selected concept in the ontology repository." -- on the invalid icon (red cross), add the following tooltip text: "This attribute already exists in the selected concept in the ontology repository. "
Story points: 20