Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] writing morphology rules in JESS!

Samson Tu swt at
Tue Aug 4 16:02:08 PDT 2009

Assuming your classes have a slot like "has_name", then your Jess rule 
in JessTab would be something like

(defrule DerivedNoun
   (object (is-a Verb)(has_name ?verb))
   (not (object (is-a DerivedNoun)(has_name ?y(eq ?y (str-cat ?verb 
"er")) )))
   (bind ?noun (make-instance of DerivedNoun (has_name (str-cat ?verb 

You shoul consult the Jess and JessTab manuals for exact syntax.


Laila Ibrahim wrote:
> Dear all friends:
> how r u??
> i've a class in protege called verb,
> other class called derived nouns, and a property (derives), an inverse 
> property called (is dervied from)
> if an instance *read* from class verb
> then *reader *is the derived noun from *read* verb 
> the rule: to derive a noun from the verb, we add *er *at the end of the 
> verb.
> i use protege 3.4.1, JESS tab, how to write such rule??
> many thnx 4 u. 

More information about the protege-discussion mailing list