RE: JESS: convert OWL/SWRL to JESS

2004-06-30 Thread Govoni, Darren
I actually did this in a round about way using Tucana RDF database (www.tucanatech.com). I loaded OWL directly into it and using Tucana's RDQL-like query languae can pull statements out of it and from there generate Jess facts quite easily. Then, it's trivial to use JESS forward chaining to writ

query writing help

2004-03-29 Thread Govoni, Darren
Title: query writing help Hi,    Is there a practical reason why the query below returns facts of wn_sense and not wn_hyp as I would like? I was trying to get the query to first match wn_sense, unify over ?hypid and filter matches over wn_hyp, but  it returns wn_sense. The facts will support

JESS: Tricky rule help

2004-03-29 Thread Govoni, Darren
Title: Tricky rule help Hi,    I have a rather tricky problem I'd like to solve with a rule. Essentially, I want a rule that OR's together some number of possibilities of facts on the LHS, and then know how many of those OR parts actually were true. As a psuedo-code example: (defrule bmo ;

RE: JESS: query performance

2004-03-25 Thread Govoni, Darren
nce is to blame. Darren -Original Message- From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Thu 3/25/2004 1:42 PM To: [EMAIL PROTECTED] Cc: Subject:Re: JESS: query performance I think Govoni, Darren wrote: [Charset windows-1252 unsupported, filtering to ASCII..

JESS: query performance

2004-03-25 Thread Govoni, Darren
Title: query performance Hi,   I loaded wordnet senses and hypernym data into Jess which generates about 300,000 facts and I did a simple query below: (defquery q_wn_hyp (declare (variables ?word))     (wn_sense (syn_id ?hypid) (word ?w))     (wn_hyp (hypo_id ?synid) (hyper_id ?hypi

JESS: retrieving new facts

2004-03-18 Thread Govoni, Darren
Title: retrieving new facts Hi,     Newbie question here. How can I execute rete from Java and get just the list of facts that where triggered from rules? I was expecting to see a run() method with an Iterator return value or something similar. Is there an easy way to do this? Sorry if I miss

RE: JESS: Query query...

2004-02-24 Thread Govoni, Darren
Title: RE: JESS: Query query... I'm no JESS expert, but shouldn't your query match your fact template?   (Attribute (ElementID ?elID) (AttributeName "xmlID"))) Seems to be missing: (DocumentName ?dn) Just a thought. Not sure if that matters though. -Original Message- From:   [EMA

RE: JESS: A Different Rule Programming Technique

2004-02-20 Thread Govoni, Darren
My initial feeling is that the syntax of rule languages and scripting is perhaps less of a barrier to overcome than being a qualified Java developer who understands OOP, UML, frameworks and the like. Of course, that is if you're not already one. :) Generally speaking there is more overhead in a