Introduction
In 1971, Stuart C. Shapiro published a foundational paper in the field of knowledge representation, introducing a system that anticipated many concepts now central to modern knowledge graphs and the semantic web. The paper describes MENS (MEmory Net Structure), a graph-based data structure, and MENTAL, the procedural system designed to interact with it. Together, they formed a unified environment where facts, logical rules, and conceptual entities could be stored and queried using natural language-like logic.
The MENS Architecture: Items and Relations
The core of Shapiro's proposal is a directed graph where nodes, termed "Items," represent conceptual entities. These items are linked by "System Relations," which are structural pointers used by the computer to navigate the network. Unlike earlier, simpler networks where edges might represent a fixed set of relationships (like "is-a"), MENS treats the relationship itself as a node. This allows the system to treat a relationship as an object of discussion—for example, storing the fact that "John believes that Brutus killed Caesar."
The Single File Principle
A hallmark of the MENS structure is the "Single File" principle: every unique conceptual entity is represented by exactly one node in the network. All information regarding that entity—its properties, the actions it has performed, or the logical rules it is subject to—is reachable from that single point. This prevents data redundancy and ensures that the system can efficiently aggregate everything it "knows" about a specific concept.
As shown in Figure 2, multiple distinct facts (represented by the numbered boxes at the top) can share the same item nodes (John, Jane, Sue, Loves). This interconnectedness allows the system to quickly identify shared participants across different events.
Handling Nested and N-ary Relations
One of the significant limitations of early AI systems was the reliance on binary relations (A-to-B links). MENS overcomes this by supporting N-ary relations—relationships with any number of arguments. Furthermore, because propositions are themselves nodes, MENS can represent nested information where one fact serves as an argument for another.
In Figure 1, we see a complex sentence structure. The top-level relation is "Henry saw [X]," where [X] is not a simple item, but an entire sub-network representing the proposition "John hit Jim." This recursive capability allows MENS to model complex human observations and beliefs with high fidelity.
MENTAL: The Deduction Engine
While MENS provides the storage structure, MENTAL provides the logic. MENTAL is the procedural layer that performs two primary functions: retrieval and deduction.
- Converging Search: To answer questions, MENTAL employs a search strategy that starts at multiple known nodes (e.g., "John" and "Hit") and follows pointers until the paths intersect. This is significantly more efficient than an exhaustive tree search.
- Automated Deduction: Perhaps the most innovative aspect of the system is its treatment of logical rules. In MENTAL, general rules (e.g., "All men are mortal") are stored as nodes within the MENS network, using specific nodes for quantifiers (ALL, EXISTS) and connectives (AND, OR). When the system is asked a question it cannot answer with a direct fact, it triggers a recursive "Generate" routine to interpret these rule-nodes and derive new information.
Conclusion and Legacy
Shapiro’s work was successfully implemented on an IBM System/360, proving that a unified semantic network could handle complex reasoning tasks. By treating logic as data and utilizing a graph-based search, the MENS/MENTAL system provided a blueprint for the intelligent databases of the future. While the paper acknowledges limitations—such as the potential for logical paradoxes and the need for a more robust natural language front-end—it remains a landmark in the transition from hard-coded logic to flexible, graph-based knowledge representation.
Summary updated