KnowledgeWorks and Prolog User Guide

NextPrevTopContents

Index

Symbols

* 5

+ 5

/== 152

::= 4

<..> 5

= 152

=.. 152

== 152

@< 152

@=< 152

@> 152

@>= 152

[..] 5

| 5

A

action 3 , 25 , 35

add-explanation 71

Advanced Topics

main chapter 67

agenda 29

all-debug 32 , 85

any 34 , 86

any Prolog interface function 138

append 152

arg 131 , 152

arity 33 , 50

assert 27 , 28 , 81 , 86

asserta 152

assertion 28

assertz 152

atomic 152

B

backward chaining 2 , 11 , 25 , 33 , 79

debugging 35

definition of rules 34

implementation notes 176

interpreter 34

syntax 33

bagof 152

browsers 10

class 15 , 54

object 12 , 20 , 57

rule 10 , 18 , 59

system 52

C

C 1

call 152

certainty factor 72

certainty factors 72 , 75

*c-factor* 72

chaining 2

class browser 54

classes 15

named 38

relational database 39

unnamed 38

clause 152

clear 51

clear-all 52 , 83 , 87

clear-rules 52 , 88

CLOS 2 , 3 , 7 , 9 , 12 , 22 , 25 , 33 , 51 , 76

class categories in KnowledgeWorks 37

classes in KnowledgeWorks 37

objects in 4 , 37

CLOS mixin class 4

CLOS/SQL class 39

Common Lisp Interface 36

Common Lisp Object System (CLOS) 2 , 7

Common Prolog main chapter 129

condition 25

syntax 26

conflict resolution 17 , 26 , 30 , 74

-lex 31 , 78

lex 31

-mea 31 , 78

mea 31

optimizing 78

-order 31

order 30 , 31

-priority 30

priority 30

-recency 30 , 78

recency 30

-specificity 31

specificity 31

tactics 30 , 78

use of contexts 78

user definable 74

user-definable 74

conflict resolution strategy 74

conflict resolution tactic 30 , 74

conflict-set 88

context 29 , 67

context 27 , 28 , 89

context definition 32

contexts 10 , 30

control

flow of 29 , 67

creep 20 , 61

current-cycle 90

cut 80

cut 90

*cycle* 91

cycle

of forward chaining 26

D

DCG 147

debug 152

debugger

in Prolog 141

debugging 2 , 18 , 32 , 60

backward chaining 35

forward chaining 32

debugging 152

default-context 29 , 52 , 88

defclass 91 , 93

defclass macro in LispWorks 38

defcontext 30 , 32 , 68 , 93

defdetpred 155

defdetrel 152

defdetunipred 156

defexplain 71

defgrammar 147 , 152

Defining Contexts 32

Definite Clause Grammars 147

def-kb-class 38 , 72 , 80 , 82 , 91

def-kb-struct 76 , 77 , 92

defmethod 80

def-named-kb-class 38 , 92

defrel 130 , 152

defrelmacro 147 , 152

defrel-special-form-macro 153

defrule 25 , 28 , 33 , 67 , 68 , 73 , 79 , 81 , 82 , 83 , 95

defstruct 76 , 92

deftactic 74 , 96

def-view-class in LispWorks 40

destroy-inferencing-state 83 , 97

deterministic 153

documentation strings 25 , 30 , 74 , 94 , 95 , 97

dynamic conflict resolution 78

E

Edinburgh Prolog 35

Edinburgh Syntax 150

compatible predicates 156

editor 51

editor window 11

environment

graphic environment in Prolog 151

erase 27 , 98 , 153

explanations 70

expression

syntax 27

F

fail 98 , 153

field

pattern 13 , 57

query 57

findall 34 , 100 , 138 , 153

findallset 138 , 153

find-inferencing-state 83 , 99

fire-rule 68 , 101

forward chaining 2 , 9 , 25 , 76 , 77

cycle 26 , 67 , 68

debugging 32

history 16 , 64

implementation notes 175

interpreter 29

rule definition 29

syntax 26

functor 131 , 153

G

get-kb-object 38 , 101

goals 3

graphical tools 2

H

halt 153

history 16

forward chaining 16 , 64

I

Implementation Notes

appendix 175

implication strength 72

*implic-strength* 72 , 73

infer 9 , 20 , 29 , 83 , 102

inference engine 3

inferencing states

creating and maintaining 83

current 83 , 103

definition of 82

uses 83

*inferencing-state* 83 , 103

inferencing-state-name 103

*in-interpreter* 102

inspector

instances 55

instantiation 68 , 69 , 106

instantiations 69

inst-bindings 69 , 104

inst-rulename 69 , 105

inst-token 69 , 105

integer 153

interface functions in Prolog 138

interpreter

backward chaining 34

forward chaining 29

Introduction

main chapter 1

is 153

K

keysort 153

keyword

:backward 25

:forward 25

:meta 68

:name 38

:priority 17

Knowledge Based Systems (KBS) 1 , 4

KnowledgeWorks 1 , 9

backward chaining engine 33

clearing 51

CLOS objects 33 , 37

Converting Other Systems Into, 183

generic functions 56

historical perspective 1

inspector 55

instances 55

listener 50

mixin class 39

object base 33

objects 34

podium 8

rule development 49

rule monitor 60 , 62

rules in 25

running the tutorial 9

spy window 60

structures 48 , 76

technical overview 2

tools 20

Use of Meta-Classes 80

kw-class 108

L

leap 20 , 61

leash 153

leashing 141

-lex 31 , 78 , 109

lex 31 , 109

Lisp 1 , 7 , 27 , 36 , 37

integration of 22

LispWorks 1 , 7 , 23 , 33

accessing Lisp from Prolog 134

availability in KnowledgeWorks 49

Common Prolog Logic Listener 50

SQL interface 39

Lispworks

calling Prolog 136

LispWorks IDE 22

list-all-inferencing-state 83 , 107

listener 9 , 50

listing 153

loading files 9

logic 136

logic interpreter 132

logic listener 151

logical 27 , 81

M

macro

in Prolog 147

make-inferencing-state 83 , 110

make-instance 38 , 76 , 81 , 111

-mea 31 , 78 , 112

mea 31 , 112

member 153

menu button

creep 20 , 61

leap 20 , 61

menu item

browse 15

class browser 15

Classes 15

clear 51

context 59

FC History 16

Inspect 58

Instantiations 58

KnowledgeWorks 8 , 10 , 12 , 15 , 16 , 57 , 59

Listener 8

Objects 12 , 57

Rules 10 , 59

:meta keyword 68

Meta Object Protocol (MOP) 4

Meta Rule Protocol (MRP) 4 , 67

meta-interpreter 67

metaprotocols 2

meta-rule 67

mixin 4 , 38

monitor window 18 , 62

MYCIN 72

N

name 38 , 107

named classes 38

named-kb-object 38 , 93 , 113

node 11

no-debug 32 , 114

nodebug 153

nonvar 153

nospy 153

not 27 , 114 , 153

notrace 154

O

object 34

browser 20 , 57

certainty factor 72

named 37

object base 19 , 48

and inferencing states 82

clearing 51

main chapter 37

uncertainty 72

object browser 12

object system 2

once 154

OPS5 77 , 183

optimization 76

optimization of KnowledgeWorks 48

-order 31 , 115

order 30 , 31 , 116

output-defrels 154

P

pattern 13 , 57

matching 79

popup 9

Preferences... command 13 , 58 , 60

*print-verbose* 116

-priority 30 , 117

priority 30 , 118

procedural language 2

programming environment

main chapter 49

Prolog 33 , 35 , 186

accessing Lisp 134

adding built in predicates 155

built in predicates 152

calling from LispWorks 136

cut 80

debugging 141

Edinburgh Syntax 150

exiting the interpreter 134

graphic environment 151

interface functions 138

leashing 141

logic interpreter 132

logic listener 151

macros 147

main chapter 129

overview 129

predicates compatible with Edinburgh syntax 156

retrieving multiple solutions in 132

specifying multiple goals in 133

spy points 141

syntax 130

tracing 141

Q

query 57

R

read-query-print loop 132

read-term 154

-recency 30 , 78 , 118

recency 30 , 119

recorda 154

recorded 154

recordz 154

relational database classes 39

repeat 154

reset 51 , 83 , 120

retract 154

return 27 , 28 , 30 , 120

rule 25

action 25

backward chaining 34

browser 18

condition 25

definition of forward chaining 29

editing definitions 21

groups 16

implication strength 72

single-stepping 19

rule browser 59

rule monitor 60 , 62

rule preconditions 77

rulebase 39

rule-defined conflict resolution 78

Rules

main chapter 25

S

setof 154

*signal-kb-name-clash* 121

sort 154

-specificity 31 , 121

specificity 31 , 122

spy 154

spy points 141

spy window 20 , 60

standard- kb-object 40 , 80

standard-class 80

standard-context 123

standard-db-object 40

standard-kb- object 80

standard-kb-class 80

standard-kb-object 54 , 91 , 124

start-cycle 68 , 124

start-kw 125

static conflict resolution 78

structures 48 , 51 , 76

subclasses 15

syntax

backward chaining 33

expression 27

forward-condition 26

of forward chaining 26

syntax of Prolog 130

system browser 52

systems 23

T

tactic 30 , 74 , 96

Tail Recursion 79

test 125

Tools menu

Preferences... 13 , 58 , 60

trace

in Prolog 141

trace 154

translate-vars 154

true 155

truth maintenance 27 , 81

Tutorial

main chapter 7

U

undefcontext 32 , 126

undefrule 29 , 126

unleash 155

unnamed classes 38

V

var 155

W

window

browser 10

editor 11 , 51

listener 8 , 9 , 50

monitor 18 , 62

podium 8

popup 9

spy 20 , 60

subclasses 15

with-prolog 141

with-rule-actions 127


KnowledgeWorks and Prolog User Guide (Unix version) - 22 Dec 2009

NextPrevTopContents