Hello,<br><br>1. we wish to make an application that stores relations basically subject-predicate-object<br> For example : Force-dependson-mass, Force-dependson-acceleration, whale-isa-mammal.<br><br>2. What we have decided is to make separate persistent class for each predicate. For example<br>
in the examples given above we have two predicates "dependson" and "isa".<br><br>3. (defpclass dependson ()<br> ((subject :accessor subject)<br> (predicate :accessor predicate)<br>
(object :accessor object)))<br><br>4. How do I index a slot so that later if I have a query where I have been <br>provided with two slot values I should be able to get the third slot value.<br>For example: Force-dependson-? should return "mass" and "acceleration".<br>
<br> We are refering to the elephant.pdf downloaded from the documentation section<br>of the elephant website <br><br><br>Thank you<br>Arjun Mullick<br>