Hi!
I'm trying to build a systems for my family tree where I can ask
questions like 'What people with surname "Vermeer" are not related to
ID' where ID is and ID to some individual.
I have set up some rules to generate triplets like (Ancestor ?id1 ?id2)
and (Related ?id1 ?id2) and made a query that wil answer the above question:
(defquery find-person-with-name-not-related-to-id
""
(declare (variables ?surn ?id))
(Individual (id ?someone) (surn $? ?surn $?) (givn $? ?givn $?))
(Individual (id ?id))
(not (Related ?someone ?id)))
This works fine for a small example but when I read in my GEDCOM file of
2700 people a huge amount of (Related ?id1 ?id2) facts are generated and
java gives an out of memory error.
Is there a way around this? This system is poorly scalable because of
the Related facts. Can I do more difficult pattern matching in a query
and skip the generation of Related facts?
kind regards,
Gerwin
[EMAIL PROTECTED] wrote:
--
Welcome to the jess-users mailing list!
Please save this message for future reference. Thank you.
If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:
unsubscribe jess-users
or from another account, besides [EMAIL PROTECTED]:
unsubscribe jess-users [EMAIL PROTECTED]
If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <[EMAIL PROTECTED]> .
This is the general rule for most mailing lists when you need
to contact a human.
Here's the general information for the list you've subscribed to,
in case you don't already have it:
[Last updated on: Fri Nov 9 9:00:29 2001]
The jess-users list is for discussion of Jess, the rule engine for the
Java platform, from Sandia National Laboratories.
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------