Code: Select all
// Input and response
Entity.structures
RELATION {name ID, structures RELATION {name ID, nodes RELATION {node nodeID}}} {}
Code: Select all
VAR Domain BASE RELATION { domain CHARACTER, name CHARACTER } KEY { domain } KEY { name };
TYPE ID UNION POSSREP { domain CHARACTER, name CHARACTER CONSTRAINT TUPLE { domain domain } IN Domain { domain } };
VAR Node_type BASE RELATION { name ID } KEY { name };
TYPE node_type POSSREP { name ID CONSTRAINT TUPLE { name name } IN Node_type { name } };
TYPE nodeID POSSREP { name ID, s# INTEGER, d# INTEGER, n_type node_type };
VAR ELH BASE RELATION { name ID, nodes RELATION { node nodeID } } KEY { name };
VAR Entity.structures BASE RELATION { name ID, structures RELATION SAME_HEADING_AS ( ELH ) } KEY { name };
Code: Select all
// Input and response
Entity.structures UNGROUP ( structures )
ERROR: Relation-valued attribute 'structures' shares attributes with RELATION {name ID, structures RELATION {name ID, nodes RELATION {node nodeID}}}
Line 1, column 1 near 'Entity.structures'