set echo = off;

    # KEHOME/kb/simple.html
    # May/25/2003

    at view = tabula rasa;
    at view = simplemkr;

    #===========#
    # knowledge #
    #===========#
    percept     := man do perceive od entity         done;
    concept     := man do classify od percept        done;
    measurement := man do measure  od characteristic done;
    proposition := man do identify od entity         done;
    definition  := man do define   od concept        done;
    proposition := man do reason   od proposition    done;

    knowledge   := man do identify od existent       done;
    knowledge   haspart proposition list;

    #=======================#
    # simple tabula rasa	#
    #-----------------------#
    # no lists, Sets, etc.	#
    # no variables		#
    # no methods		#
    # no n-ary relations	#
    # no conditionals	#
    # no iterations		#
    # no Knowledge Explorer	#
    # no questions		#
    # no commands		#
    # no assignments	#
    #=======================#
    begin hierarchy simplehi;
    existent;
    /    entity;
    //      man;
    //	OBJECT;
    ///         percept;
    ///         concept;
    ///         measurement;
    ///         symbol;
    /    characteristic;
    //      differentia;
    //      part;
    //      attribute;
    ///         purpose;
    ///         space;  # where action occurs
    ///         time;   # when  action occurs
    ///         view;   # name of proposition list
    //      relation;
    //      action;
    ///	    perceive;
    ///	    classify;
    ///         measure;
    ///         identify;
    ///         define;
    ///         reason;
    //      interaction;
    ///         causality;
    /    proposition;
    //	context;
    //	statement;
    ///	    definition;

    symbol;
    /	separator;
    /	word;
    separator;
    /	=;
    /	;;
    /	{;
    /	};
    word;
    /	at;
    /	of;
    /	with;
    /	out;
    /	od;
    /	from;
    /	to;
    /	is;
    /	isa;
    /	haspart;
    /	has;
    /	do;
    /	done;
    /	causes;
    end hierarchy simplehi;

    #=======================#
    # simple MKR grammar 	#
    #-----------------------#
    # no lists, Sets, etc.	#
    # no variables		#
    # no methods		#
    # no n-ary relations	#
    # no conditionals	#
    # no iterations		#
    # no Knowledge Explorer	#
    # no questions		#
    # no commands		#
    # no assignments	#
    #=======================#
    proposition ::=
    	at context { sentence };

    context ::=
    	space=s, time=t, view=v

    sentence ::=
    	subject is  object;			# identity
    	subject isa object with differentia;	# definition
    	subject isa object;			# hierarchy
    	subject rel object;			# binary relation
    	subject haspart part = partvalue;	# part
    	subject has attribute = value;		# attribute
    	subject do  action = event		# action
    		with action characteristics
    		out  action products
    		od   direct objects
    		from initial characteristics
    		to   final characteristics
    		done;
    	event:1 causes event:2;			# interaction