18 Sep 2010 13:24
Problem using instance-of
Kalle Fischer <fischer.kalle <at> gmail.com>
2010-09-18 11:24:47 GMT
2010-09-18 11:24:47 GMT
Hello, I am new to using PowerLoom and have some troubles with and exception that is thrown whenever I want to find all instances of one certain type of concept. I figured, since it is the only kind of concept for which this happens, that it is most probably something in my definition of that concept of one of the sub-concepts. (DEFCONCEPT WIND-SWELL (?S SWELL) :<=> (AND (HAS-CONDITION ?S ?SP) (SHORT-PERIOD ?SP) ) ) (DEFCONCEPT GROUND-SWELL (?S SWELL) :<=> (AND (HAS-CONDITION ?S ?LP) (LONG-PERIOD ?LP)) ) (DEFCONCEPT SHORT-PERIOD (?P PERIOD) :<=> (OR (= (HAS-PERIOD ?P) 7) (< (HAS-PERIOD ?P) 7) ) ) (DEFCONCEPT LONG-PERIOD (?P PERIOD) :<=> (OR (> (HAS-PERIOD ?P) 13) (= (HAS-PERIOD ?P) 13) ) ) (DEFCONCEPT PERIOD (SWELL-CONDITION) :=> (EXISTS ?I (AND (INTEGER ?I) (HAS-PERIOD ?SELF ?I)) ) ) (DEFCONCEPT SWELL (SURF-CONDITION) :=> (EXISTS ?P (AND (PERIOD ?P) (HAS-CONDITION ?SELF ?P)) ) :=> (EXISTS ?O (AND (ORIGIN ?O) (HAS-PROP ?SELF ?O)) ) :=> (EXISTS ?SD (AND (SWELL-DIRECTION ?SD) (HAS-CONDITION ?SELF ?SD)) ) :=> (EXISTS ?S (AND (SIZE ?S) (HAS-PROP ?SELF ?S)) ) :=> (EXISTS ?E (AND (EFFECT ?E) (HAS-EFFECT ?SELF ?E)) ) ) Those are all the concepts that are involved here and I only have one(Continue reading)
RSS Feed