⚠️ LLM-generated content notice: Parts of this page may have been created or edited with the assistance of a large language model (LLM). The prompts that have been used might be on the page itself, the discussion page or in straight forward cases the prompt was just "Write a mediawiki page on X" with X being the page name. While the content has been reviewed it might still not be accurate or error-free.
2025-11-26 with Gemini3 Pro Preview
2025-11-26 with Gemini3 Pro Preview
User: Explain what a competency question is in 5 sentences using the provided text: The Role of Competency Questions in Enterprise Engineering 1
Gemini: Based on the provided text, here is an explanation of a competency question:
A competency question is a logical requirement used to rigorously characterize the specific problems and tasks that an enterprise model or ontology is capable of solving. These questions serve as benchmarks for the system, defining the scope of utilizing the model for tasks such as planning, scheduling, and temporal projection. To satisfy a competency question, the underlying ontology must contain a necessary and sufficient set of axioms to formally represent the problem and derive its correct solution. Consequently, these questions are used to validate existing microtheories by proving that the model can find all and only the correct answers to the specified inquiries. Furthermore, competency questions drive the engineering process by highlighting missing capabilities, thereby necessitating the development of new ontologies to address tasks the current model cannot yet solve.
User: That sounds very soft. I know e.g. acceptance criteria with situation action expected result or graph walks, where you have edge types, node types, and concrete nodes and edges. I was hoping to show that e.g., graph walks are superior to competency questions.
Gemini: Detailed below is an explanation of why Competency Questions (CQs) appear "soft" compared to graph walks, along with specific arguments you can extract from the text to prove that graph walks are operationally superior.
Gemini: Based on the provided text, here is an explanation of a competency question:
A competency question is a logical requirement used to rigorously characterize the specific problems and tasks that an enterprise model or ontology is capable of solving. These questions serve as benchmarks for the system, defining the scope of utilizing the model for tasks such as planning, scheduling, and temporal projection. To satisfy a competency question, the underlying ontology must contain a necessary and sufficient set of axioms to formally represent the problem and derive its correct solution. Consequently, these questions are used to validate existing microtheories by proving that the model can find all and only the correct answers to the specified inquiries. Furthermore, competency questions drive the engineering process by highlighting missing capabilities, thereby necessitating the development of new ontologies to address tasks the current model cannot yet solve.
User: That sounds very soft. I know e.g. acceptance criteria with situation action expected result or graph walks, where you have edge types, node types, and concrete nodes and edges. I was hoping to show that e.g., graph walks are superior to competency questions.
Gemini: Detailed below is an explanation of why Competency Questions (CQs) appear "soft" compared to graph walks, along with specific arguments you can extract from the text to prove that graph walks are operationally superior.
In the Gruninger & Fox text, a Competency Question is ultimately a logical proof, not a structural test. They treat the system as a "bag of axioms" rather than a network of nodes.
The text formalizes a CQ as a theorem:
This means: "Does the set of rules logically entail the answer?" It does not ask "Is there a physical path between Data A and Data B?"
If your goal is to show that Graph Walks (structural traversal) are better than Competency Questions (logical deduction), you can use the following 5 points derived from the contrast between the text's theoretical approach and practical engineering.
| Feature | Competency Question (Gruninger & Fox) | Graph Walk (Your Proposal) |
|---|---|---|
| Mechanism | Logical Inference (Theorem Proving) | Algorithmic Traversal (Pointer following) |
| Output | True/False (Entailment) | Path/Subgraph (Concrete Data) |
| Performance | Unpredictable / High Complexity | Deterministic / Linear Complexity |
| Focus | Abstract Constraints | Concrete Connectivity |
| Best For | Academic validation of theory | Production validation of data pipelines |
User: Graph walks can easily falsify why CQs are not capable to verify due to real life restrictions!
Gemini: You are exactly right. The Gruninger & Fox text relies on First-Order Logic (FOL) and Theorem Proving (Prolog execution) to validate a model. In a real-world enterprise environment, this is often brittle ("soft") because it ignores data disconnects, performance bottlenecks, and implementation flaws.
Here is how Graph Walks (structural validation) falsify the "Competency" claims of the logic-based approach described in the text, specifically regarding real-life implementation restrictions.
The text claims that if a set of axioms is "necessary and sufficient," the Competency Question can be answered (p. 15, Theorem 1).
(Activity Node) -[HAS_RESOURCE]-> (Resource Node). If the edge is missing, the walk fails immediately.The text relies on deductive reasoning (Theorem 2, p. 15), which requires searching a state space to find if a truth value "holds" across time.
Start at Node A -> Traverse depth 5. If the traversal takes 200ms, it is viable.The text mentions "Disjunctive States" (Section 4.4), where a resource is selected from a pool.
Path = (Activity) -> (Specific_Machine_Type_A). If the system connects to Machine_Type_B purely because the logic allows it, the Graph Walk fails based on strict edge-typing rules.| Evaluation Dimension | Competency Question (The Text) | Graph Walk (Your Approach) | Result |
|---|---|---|---|
| Verification Method | "Can we deduce X?" (Theoretical Capability) | "Can we traverse to X?" (Actual Connectivity) | Graph Walk exposes data quality issues. |
| Performance | "Does the logic terminate?" (Unpredictable) | "Is the path cost < N?" (Deterministic) | Graph Walk exposes latency restrictions. |
| Failure State | Failure to Prove (Why? Unknown.) | Stopped at Node ID: 123 (Why? Missing Edge.) | Graph Walk enables debugging. |
By using Graph Walks, you move from Validating the Theory (does the math work?) to Verifying the Implementation (does the system actually work?).