Leco2Jena
Table of Contents

Overview

This tool calls LeCo to build a concept lattice. This output special format can be translated with JENA API [1] in an OWL ontology.

Synopsis

Usage: ./tool03_leco2jena.sh  <database>  <min_supp>  [-names]

Parameters:
   <database>            database file
   <min_supp>            minimum support, integer or double followed by '%'
                         example: 2 or 20% or 1.75%

Option:
   -names                Attribute and object numbers are replaced by their names.
                         Only relevant with .rcf input files!

Example

Command:

./tool03_leco2jena.sh sample/animals.rcf 50% -names

Output:

C3 : {ostrich, canary, duck, shark, salmon, frog, crocodile} x {egg}
C1 : {ostrich, canary, duck, frog, crocodile} x {egg, air}
C2 : {duck, shark, salmon, frog, crocodile} x {egg, swim}
C4 : {} x {egg, feather, tooth, fly, swim, air}

Formal output:

'Concept id, formed with the letter C and its number' + ' : ' + '{extension} x {intension}'

Bibliography
1. Jena is a Java framework for building Semantic Web applications. It provides a programmatic environment for RDF, RDFS and OWL, SPARQL and includes a rule-based inference engine. See http://jena.sourceforge.net/ for more informations.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License