12: How many Enzyme have a Catalyst as purpose
Shaken formulation:
How many Enzyme have a Catalyst as a purpose?
Answer
There are no which are a Enzyme .
Question in KM
Template
How many <class> have <instance> as a <slot>?
Parameters
| CLASS | Enzyme |
|---|---|
| SLOT | purpose |
| INSTANCE | _Catalyst945 |
Code
("p2: How many <class> have <instance> as a <slot>? -> <number> <values>
This is the inverse version of p2 (What is the inverse (<slot>) of <instance>), so use p2 for this."
(defun answer-p2-data0 (class0 slot instance)
(let* ( (class (cond ((is-wildcard class0) '#$Thing) (t class0)))
(vals (km `#$(the ,CLASS ,SLOT of ,INSTANCE) :fail-mode 'fail)) )
`(answer
(question-type p2)
(class ,class)
(slot ,slot)
(instance ,instance)
(number ,(length vals))
(values ,vals)))))
Raw Answer
((question-type p2i) (class enzyme) (slot purpose) (instance _catalyst945) (number 0) (values nil) (explanations nil))
Terms
SHAKEN - Unpublished Copyright © 1999-2001, SRI Team