Questions tagged [clips]

CLIPS is an acronym for C Language Integrated Production System, rules-based programming framework designed for building expert systems.

CLIPS is an acronym for C Language Integrated Production System.

It is a rules-based programming framework designed for building expert systems. Its programming language COOL is similar to LISP and allows object-oriented as well as procedural programming. CLIPS itself is written in C and can be embedded in programs of other languages.

CLIPS core is a forward-chaining inference engine based on the Rete algorithm designed by Dr. Charles L. Forgy of Carnegie Mellon University.

It was developed starting 1985 at NASA to replace the existing LISP based expert system building tool ART*Inference and released into the public domain in the 1990s.

The original name of CLIPS was NASA's AI Language(NAIL).
Links:
CLIPS Web Site
CLIPS source forge

733 questions
3
votes
1 answer

In Clips, Can I use the Instance to completly replace the Fact? What‘s the meaning of Fact's existence?

In my opinion, The Instance can do everything that Fact can, What's the meaning of the Fact's existence? In other words, What is the difference between the Instance and the Fact? Is there a situation that only Fact can be used? It bothers me a lot…
NE555
  • 33
  • 3
3
votes
2 answers

CLIPS Python3 CLIPSError

I've run into a bit of an issue with some CLIPSpy code. I've narrowed down the issue to either the encode method of CLIPS_CONSTRUCTS.encode() or the environment.load(constructs_file.name). The goal I'm trying to capture is to fire a rule when the…
Jay Py
  • 141
  • 9
3
votes
1 answer

clips [EXPRNPSR3] Missing function declaration for person

; template person (deftemplate person (slot name (type STRING)) (slot gender (type SYMBOL)(allowed-symbols m f)); male, female (slot birthyear (type INTEGER)) (slot birthPlace(type STRING)) (slot Fname (type STRING)) (slot Mname (type…
Nadine Salem
  • 31
  • 1
  • 2
3
votes
1 answer

How to translate JBoss / DROOLS rules to CLIPS clp

I need to convert from rules defined as DROOLS .drl files to CLIPS .clp. As I understand, it should be possible to convert DROOLS rules into ruleML, and ruleML into CLIPS .clp. I understand well that the matter is more complex than converting…
benjist
  • 2,740
  • 3
  • 31
  • 58
3
votes
2 answers

Does anyone have experience with Clipsmm?

I have been looking at using CLIPS as an expert system for a simulator i am working on, and so i had a look at clipsmm. The only problem is that their sourceforge page has broken links and private forums. I was just curious if anyone has had…
Craig
  • 1,199
  • 1
  • 13
  • 27
3
votes
1 answer

How to get response from .clp(CLIPS) file?

I am trying to load .clp file in my iPhone application. For that I am using below code NSString *filePath = [[NSBundle mainBundle] pathForResource:@"autodemo" ofType:@"clp"]; environment = CreateEnvironment(); …
Ankur
  • 5,086
  • 19
  • 37
  • 62
3
votes
1 answer

Clips rules and functions

Hi, I have several questions: Can I modify a fact in a function in clips or can I use a fact without giving it as a parameter to the call of the function. Can I generate a random number in a rule? Can I execute a certain rule in another rule? Can I…
exilonX
  • 1,712
  • 3
  • 26
  • 50
2
votes
1 answer

CLIPS using (not (a-fact $?)) doesn't fire

I'm having a slight difficulty in understanding how the not function interacts with pattern matching. I'd like to write a pattern match that goes "such a fact doesn't exist". Namely, what I want is: (defrule init-count (not (highest-debt ?)) …
Francis Drake
  • 315
  • 2
  • 11
2
votes
1 answer

CLIPS Error: Illegal use of the module specifier in clipspy

I'm using clipspy. I want to define some module-rules to assert module-facts. The rule is based on facts from multiple modules. I get a CLIPS Error: Illegal use of the module specifier import clips env =…
dokgom
  • 35
  • 4
2
votes
0 answers

Build a SKOS Reasoner rule-based

I have to build a reasoner for ontologies SKOS to reason with rules made ​​in CLIPS / Jess. I want to have simple forms of automated reasoning. I could not find anything specifically to help me create a reasoner for ontologies with rules, not even…
frencisdrame
  • 53
  • 1
  • 5
2
votes
1 answer

How to get a fact value in clipspy and store it in a python variable

Say I have inserted a rule : (defrule matching (fever ?fever) (headache ?headache) (disease (fever ?fever) (disname ?disname1) (headache ?headache)) => (assert (dis ?disname1))) Now I want to fetch the value of ?disname1 into a…
2
votes
1 answer

CLIPS missing function declaration for template

I'm trying to write a program that asks the user for the name of the person whose birthday is today to update his age but I'm getting this error (Missing function declaration for data.) (deftemplate data (slot name) (slot height) (slot weight)…
Abeer
  • 23
  • 3
2
votes
1 answer

Access a slot from multifield in deffunction

I have this function which calculates some value based on multiple slots of multiple multifield facts. Because quite some slots are involved and all of them are needed in the function I was thinking if I could pass a whole fact to a function and…
Armen Ablak
  • 167
  • 3
  • 14
2
votes
1 answer

CLIPS incrementing a variable with a rule

I want to increment security when the rule is run. Right now it changes nothing. The fact (human_resources n) does exist. (defglobal ?security = 0) (defrule rule1 (human_resources n) => (defglobal ?security = (+ ?security 1)) ) This…
Matt
  • 21
  • 1
  • 3
2
votes
1 answer

Accessing values from definstances in CLIPS

I am working on a CLIPS program for an assignment that handles electric circuits. I have used Protege to create my ontology and from there I have created the clp file and loaded it into CLIPS. The result is the following: (defclass systemEntity …
thelaw
  • 570
  • 4
  • 14
1
2
3
48 49