KnowledgeWorks and Prolog User Guide

NextPrevTopContents

Index

Symbols

* 4

+ 5

/== 150

::= 4

<..> 4

= 150

=.. 150

== 150

@< 150

@=< 150

@> 150

@>= 150

[..] 4

| 5

A

action 3 , 25 , 35

add-explanation 69

Advanced Topics

main chapter 65

agenda 29

all-debug 32 , 83

any 34 , 84

any Prolog interface function 136

append 150

arg 129 , 150

arity 33 , 50

assert 27 , 28 , 79 , 84

asserta 150

assertion 28

assertz 150

atomic 150

B

backward chaining 2 , 11 , 25 , 33 , 77

debugging 35

definition of rules 34

implementation notes 174

interpreter 34

syntax 33

bagof 150

browsers 10

class 15 , 53

object 12 , 20 , 56

rule 10 , 18 , 58

system 52

C

C 1

call 150

certainty factor 70

certainty factors 70 , 73

*c-factor* 70

chaining 2

class browser 53

classes 15

named 38

relational database 39

unnamed 38

clause 150

clear 51

clear-all 51 , 81 , 85

clear-rules 51 , 86

CLOS 2 , 3 , 7 , 9 , 12 , 21 , 25 , 33 , 51 , 74

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 127

condition 25

syntax 26

conflict resolution 17 , 26 , 30 , 72

-lex 31 , 76

lex 31

-mea 31 , 76

mea 31

optimizing 76

-order 31

order 30 , 31

-priority 30

priority 30

-recency 30 , 76

recency 30

-specificity 31

specificity 31

tactics 30 , 76

use of contexts 76

user definable 72

user-definable 72

conflict resolution strategy 72

conflict resolution tactic 30 , 72

conflict-set 86

context 29 , 65

context 27 , 28 , 87

context definition 32

contexts 10 , 30

control

flow of 29 , 65

creep 19 , 59

current-cycle 88

cut 78

cut 88

*cycle* 89

cycle

of forward chaining 26

D

DCG 145

debug 150

debugger

in Prolog 139

debugging 2 , 18 , 32 , 59

backward chaining 35

forward chaining 32

debugging 150

default-context 29 , 51 , 86

defclass 89 , 91

defclass macro in LispWorks 38

defcontext 30 , 32 , 66 , 91

defdetpred 153

defdetrel 150

defdetunipred 154

defexplain 69

defgrammar 145 , 150

Defining Contexts 32

Definite Clause Grammars 145

def-kb-class 38 , 70 , 78 , 80 , 89

def-kb-struct 74 , 75 , 90

defmethod 78

def-named-kb-class 38 , 90

defrel 128 , 150

defrelmacro 145 , 150

defrel-special-form-macro 151

defrule 25 , 28 , 33 , 65 , 66 , 71 , 77 , 79 , 80 , 81 , 93

defstruct 74 , 90

deftactic 72 , 94

def-view-class in LispWorks 40

destroy-inferencing-state 81 , 95

deterministic 151

documentation strings 25 , 30 , 72 , 92 , 93 , 95

dynamic conflict resolution 76

E

Edinburgh Prolog 35

Edinburgh Syntax 148

compatible predicates 154

editor 51

editor window 11

environment

graphic environment in Prolog 149

erase 27 , 96 , 151

explanations 68

expression

syntax 27

F

fail 96 , 151

field

pattern 13 , 57

query 57

findall 34 , 98 , 136 , 151

findallset 136 , 151

find-inferencing-state 81 , 97

fire-rule 66 , 99

forward chaining 2 , 9 , 25 , 74 , 75

cycle 26 , 65 , 66

debugging 32

history 16 , 62

implementation notes 173

interpreter 29

rule definition 29

syntax 26

functor 129 , 151

G

get-kb-object 38 , 99

goals 3

graphical tools 2

H

halt 151

history 16

forward chaining 16 , 62

I

Implementation Notes

appendix 173

implication strength 70

*implic-strength* 70 , 71

infer 9 , 19 , 29 , 81 , 100

inference engine 3

inferencing states

creating and maintaining 81

current 81 , 101

definition of 80

uses 81

*inferencing-state* 81 , 101

inferencing-state-name 101

*in-interpreter* 100

inspector

instances 54

instantiation 66 , 67 , 104

instantiations 67

inst-bindings 67 , 102

inst-rulename 67 , 103

inst-token 67 , 103

integer 151

interface functions in Prolog 136

interpreter

backward chaining 34

forward chaining 29

Introduction

main chapter 1

is 151

K

keysort 151

keyword

:backward 25

:forward 25

:meta 66

: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, 181

generic functions 55

historical perspective 1

inspector 54

instances 54

listener 50

mixin class 39

object base 33

objects 34

podium 8

rule development 49

rule monitor 58 , 60

rules in 25

running the tutorial 9

spy window 58

structures 48 , 74

technical overview 2

tools 20

Use of Meta-Classes 78

kw-class 106

L

leap 20 , 59

leash 151

leashing 139

-lex 31 , 76 , 107

lex 31 , 107

Lisp 1 , 7 , 27 , 36 , 37

integration of 21

LispWorks 1 , 7 , 22 , 33

accessing Lisp from Prolog 132

availability in KnowledgeWorks 49

Common Prolog Logic Listener 50

SQL interface 39

Lispworks

calling Prolog 134

LispWorks IDE 21

list-all-inferencing-state 81 , 105

listener 9 , 50

listing 151

loading files 9

logic 134

logic interpreter 130

logic listener 149

logical 27 , 79

M

macro

in Prolog 145

make-inferencing-state 81 , 108

make-instance 38 , 74 , 79 , 109

-mea 31 , 76 , 110

mea 31 , 110

member 151

menu button

creep 19 , 59

leap 20 , 59

menu item

browse 15

class browser 15

Classes 15

clear 51

context 58

FC History 16

Inspect 57

Instantiations 57

KnowledgeWorks 9 , 15 , 16

Listener 9

Objects 12 , 57

Rules 10 , 58

:meta keyword 66

Meta Object Protocol (MOP) 4

Meta Rule Protocol (MRP) 4 , 65

meta-interpreter 65

metaprotocols 2

meta-rule 65

mixin 4 , 38

monitor window 18 , 60

MYCIN 70

N

name 38 , 105

named classes 38

named-kb-object 38 , 91 , 111

node 11

no-debug 32 , 112

nodebug 151

nonvar 151

nospy 151

not 27 , 112 , 151

notrace 152

O

object 34

browser 20 , 56

certainty factor 70

named 37

object base 19 , 48

and inferencing states 80

clearing 51

main chapter 37

uncertainty 70

object browser 12

object system 2

once 152

OPS5 75 , 181

optimization 74

optimization of KnowledgeWorks 48

-order 31 , 113

order 30 , 31 , 114

output-defrels 152

P

pattern 13 , 57

matching 77

popup 9

Preferences... command 13 , 57 , 59

*print-verbose* 114

-priority 30 , 115

priority 30 , 116

procedural language 2

programming environment

main chapter 49

Prolog 33 , 35 , 184

accessing Lisp 132

adding built in predicates 153

built in predicates 150

calling from LispWorks 134

cut 78

debugging 139

Edinburgh Syntax 148

exiting the interpreter 132

graphic environment 149

interface functions 136

leashing 139

logic interpreter 130

logic listener 149

macros 145

main chapter 127

overview 127

predicates compatible with Edinburgh syntax 154

retrieving multiple solutions in 130

specifying multiple goals in 131

spy points 139

syntax 128

tracing 139

Q

query 57

R

read-query-print loop 130

read-term 152

-recency 30 , 76 , 116

recency 30 , 117

recorda 152

recorded 152

recordz 152

relational database classes 39

repeat 152

reset 51 , 81 , 118

retract 152

return 27 , 28 , 30 , 118

rule 25

action 25

backward chaining 34

browser 18

condition 25

definition of forward chaining 29

editing definitions 20

groups 16

implication strength 70

single-stepping 19

rule browser 58

rule monitor 58 , 60

rule preconditions 75

rulebase 39

rule-defined conflict resolution 76

Rules

main chapter 25

S

setof 152

*signal-kb-name-clash* 119

sort 152

-specificity 31 , 119

specificity 31 , 120

spy 152

spy points 139

spy window 19 , 58 , 59

standard- kb-object 40 , 78

standard-class 78

standard-context 121

standard-db-object 40

standard-kb- object 78

standard-kb-class 78

standard-kb-object 53 , 89 , 122

start-cycle 66 , 122

start-kw 123

static conflict resolution 76

structures 48 , 51 , 74

subclasses 15

syntax

backward chaining 33

expression 27

forward-condition 26

of forward chaining 26

syntax of Prolog 128

system browser 52

systems 22

T

tactic 30 , 72 , 94

Tail Recursion 77

test 123

Tools menu

Preferences... 13 , 57 , 59

trace

in Prolog 139

trace 152

translate-vars 152

true 153

truth maintenance 27 , 79

Tutorial

main chapter 7

U

undefcontext 32 , 123

undefrule 29 , 124

unleash 153

unnamed classes 38

V

var 153

W

window

browser 10

editor 11 , 51

listener 9 , 10 , 50 , 58

monitor 18 , 60

podium 8

popup 9

spy 19 , 58 , 59

subclasses 15

with-prolog 139

with-rule-actions 124


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

NextPrevTopContents