HTML superclass-subclass list extractor

From WandoraWiki
Jump to: navigation, search

HTML superclass-subclass list extractor starts with menu option File > Extract > HTML structures > HTML superclass-subclass list extractor... or selecting the extractor as the Drag and Drop extractor and dropping HTML fragments from WWW browser.

Extractor read HTML file or fragment and interprets encountered HTML ordered and unordered lists as nested superclass-subclass associations. A topic is created for each list element (content of li element). Created topic is associated to outer list element with super-subclass association. Outer element is considered as a superclass. List structure depth is unlimited. Topic named as ListRoot is set a superclass of first level topics. As an example consider simple list:

  • Mammal
    • Cat
    • Horse
    • Pig
  • Bird
    • Parrot
    • Duck

If given to the extractor, this HTML fragment generates topics for Mammal and Cat among others and Mammal topic is set as a superclass of the Cat. Mammal and Bird are subclasses of ListRoot topic.

There is also another similar extractor named HTML instance list extractor generating instance-of relations instead of superclass-subclass relations.

Personal tools