38
Taxonomic RuleML Tab Onut Iosif- Viorel Sandeep Singh

Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Embed Size (px)

Citation preview

Page 1: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Taxonomic RuleML Tab

Onut Iosif-ViorelSandeep Singh

Page 2: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Contents

• Introduction

• TXRuleML Tab

• Modules

• Installing and Running TXRuleMLTab

• Limitations and Future Work

Page 3: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Introduction

• TXRuleML

• Protégé– Protégé API– Extending Protégé

Page 4: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Taxonomic RuleML

• Rules representing subsumption (sub-type) links

Mammal

Cat Dog

<sub> <_shead><rel>Mammal</rel></_shead> <_sbody> <sor> <rel>Cat</rel> <rel>Dog</rel> </sor> </_sbody></sub>

Page 5: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

The Protégé API

Protégé is-

• a tool which allows the user to: – construct a domain ontology

• Create Classes, Instances, Attributes & Slots

• View Class

• Create Class

• Delete Class

• View Attribute

• Create Attribute

• Delete Attribute

Page 6: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

The Protégé API

Protégé is-

• a tool which allows the user to: – construct a domain ontology

• Create Classes, Instances, Attributes & Slots

– customize data entry forms • Customize Slot-Widgets & TAB-Widgets

Page 7: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

The Protégé API

Protégé is-

• a tool which allows the user to: – construct a domain ontology

• Create Classes, Instances, Attributes & Slots

– customize data entry forms • Customize TAB-Widgets & Slot-Widgets

Page 8: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

The Protégé API

Protégé is-

• a tool which allows the user to: – construct a domain ontology

• Create Classes, Instances, Attributes & Slots

– customize data entry forms • Customize Slot-Widgets & TAB-Widgets

Page 9: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

The Protégé API

Protégé is-

• a tool which allows the user to: – construct a domain ontology

• Create Classes, Instances, Attributes & Slots

– customize data entry forms • Customize TAB-Widgets & Slot-Widgets

– enter data • GUI & API

• a platform which can be extended

Extendible GUI

• a library for other applications

Page 10: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Contents

• Introduction

• TXRuleML Tab

• Modules

• Installing and Running TXRuleMLTab

• Limitations and Future Work

Page 11: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

TXRuleML Tab

• What it is– Taxonomic RuleML Tab – A Plug-in to Protégé

• What it does – TXRuleML to Taxonomic Hierarchy– Taxonomic Hierarchy to TXRuleML– Validating TXRuleML

Page 12: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Importing

Page 13: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Importing

Page 14: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Importing

Page 15: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Exporting

Page 16: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Exporting

Page 17: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Validating

• Not well formed ruleML files are rejected

• Files are checked for– Order of tags– Completeness of tags– Invalid text

Page 18: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Validating

Missing Tag

Incorrect Order

Invalid Text

Page 19: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Validating

Page 20: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Validating

Page 21: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Contents

• Introduction

• TXRuleML Tab

• Modules

• Installing and Running TXRuleMLTab

• Limitations and Future Work

Page 22: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

OntologyConnection

Create Class

Get Class

Modules

• OntologyConnection Class

API

Page 23: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

TXRuleMLConnection

Process the file

Modules

• OntologyConnection Class

• TXRuleMLConnection Class

Page 24: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Modules

• OntologyConnection Class

• TXRuleMLConnection Class

• TXRuleMLTab Class

OntologyConnection

Create Class

Get Class

TXRuleMLConnection

Process the file

TXRuleMLTab

Initialize Tab Design

Page 25: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Modules

• OntologyConnection Class

• TXRuleMLConnection Class

• TXRuleMLTab Class

• Parser Class

TXRuleMLConnection

Process the file

Parser

Validation

Page 26: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Contents

• Introduction

• TXRuleML Tab

• Modules

• Installing and Running TXRuleMLTab

• Limitations and Future Work

Page 27: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Installing and Running TXRuleMLTab

• Installing Protégé

• Copying the Jar File

• Choosing the Plug-in

Page 28: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Installing Protégé

• http://protege.stanford.edu/

Page 29: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Copying the Jar File

Page 30: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Choosing the Plug-in

Page 31: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

The Result

Page 32: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Contents

• Introduction

• TXRuleML Tab

• Modules

• Installing and Running TXRuleMLTab

• Limitations and Future Work

Page 33: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Limitations and Future Work

• Support for Multiple Inheritance

• TXRuleML Editor

• Auto correcting the TXRuleML File

Page 34: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Support for Multiple Inheritance

• TXRuleML Tab does not support relations likeMammal

Cat

Carnivore

<sub> <_shead> <sand> <rel>Carnivore</rel> <rel>Mammal</rel> </sand> </_shead> <_sbody> <rel>Cat</rel> </_sbody></sub>

Page 35: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

RuleML Editor

• Ability to compose the TXRuleML file in the Protégé window itself

Page 36: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Auto-correcting TXRuleML Files

• Suggesting appropriate changes to be made

• Making corrections which are too obvious

Page 37: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Questions?

Page 38: Taxonomic RuleML Tab Onut Iosif-Viorel Sandeep Singh

Taxonomic RuleML Tab

Onut Iosif-ViorelSandeep Singh