Ronald Wildenberg wrote: > > A related question is: What is the typerel table exactly used for? It > contains all possible relations between node types, but these are not > used in e.g. the insrel table. There only reldef numbers are used, which > results in the described behavior.
Typerel is only for defining the 'allowed relations'. It is only used during creation of relations and while optimizing queries. It has no other function. Indeed this means that you cannot simply list in insrel to find A-related-A, because the type of the nodes is not in that table (the only thing present is the 'rnumber' which only indicates 'related'), you need to somehow do a join for that. Michiel -- Michiel Meeuwissen mihxil' Mediacentrum 140 H'sum [] () +31 (0)35 6772979 nl_NL eo_XX en_US
