DEV Community

Cover image for How Competency Questions Can Make AI Prompt Tracking More Useful
Ali Farhat
Ali Farhat Subscriber

Posted on Originally published at blog.geosearchleads.com

How Competency Questions Can Make AI Prompt Tracking More Useful

AI visibility teams can collect large lists of prompts, run them across multiple engines and track whether a brand appears. The harder question is whether those prompts represent the situations a business actually needs to win. A knowledge-engineering method developed in the 1990s, called competency questions, offers a practical way to make that work more deliberate.

The approach starts with a real-world scenario and defines what a system must be able to answer. Applied to generative search, it can turn prompt tracking from an open-ended exercise in query collection into a documented set of buyer questions, expected answers and measurable outcomes.

What competency questions were designed to do

Competency questions, often shortened to CQs, are requirements used in ontology design. An ontology is a formal representation of concepts and their relationships within a domain. In their 1995 paper, Michael Gruninger and Mark S. Fox proposed a methodology for designing and evaluating ontologies that begins with motivating scenarios and informal competency questions.

The authors' IJCAI-95 paper on ontology design and evaluation treats those questions as more than a brainstorming device. They define what the ontology needs to represent and provide a basis for testing whether it is adequate.

Their six-step Toronto methodology proceeds from a motivating scenario to informal competency questions, terminology expressed in logic, formal competency questions, axioms and finally completeness theorems. The final evaluation asks whether the formal system can prove what the competency questions require.

That is a useful distinction for AI search work. A prompt list alone says what someone typed. A competency-question framework explains why that question matters, who owns it, what answer should be possible and how the team will assess the result.

The missing requirement in many prompt-tracking programs

In its adaptation of the concept for AI visibility, Search Engine Journal argues that prompt tracking has improved its sampling and measurement but often lacks pre-specified requirements for prompts and expected answers. The proposed remedy is to anchor each important query to a concrete scenario rather than relying primarily on generic prompt lists or model-generated suggestions.

For a business, a CQ could describe a prospective customer's task, the information the customer needs and the answer that a well-supported system should be able to produce from the company's content. It should also have a named owner. This makes prompt selection traceable: a team can explain why a query is in scope and decide whether it still belongs in the measurement set when products, policies or customer needs change.

The framework is particularly useful because not every query that can mention a brand is valuable. A broad informational prompt may be worth monitoring, while a question about eligibility, implementation, pricing or a competitor comparison may be closer to a decision. Conversely, a question that a company should not expect to answer, or should answer negatively, can expose an important content or positioning boundary.

A practical two-test model for AI visibility

The modern adaptation separates a controllable content question from a variable model-output question. Both are needed.

1. Test the owned source deterministically

First, verify that the expected answer can be found in the owned source material. This may mean reviewing whether the site has a clear, current page that directly supports the answer, uses consistent terminology and provides sufficient context.

This is not a guarantee that an AI system will cite, mention or recommend the site. It is a prerequisite check. If the answer is absent, ambiguous or contradicted across owned pages, a brand has little basis for treating a missed AI answer as only a model-distribution problem.

2. Test how engines express the answer

Second, test multiple phrasings of the competency question across the relevant AI engines and record how often the expected answer appears. The outcome may include whether the answer is present, whether the brand is named, whether a citation is shown and whether the response is accurate enough for the defined scenario.

This is probabilistic measurement, not deterministic validation. Language models can vary their wording, sources and conclusions between runs, and different systems can behave differently for the same request. Teams should preserve the exact prompt, phrasing variant, engine, date and evaluation rule alongside the result.

Why prompt wording needs controlled testing

Prompt format can materially affect model behavior. Research presented at ICLR 2024 found that formatting changes could produce large accuracy differences, reaching as much as 76 points in some evaluated tests. That finding does not mean every AI visibility prompt is equally volatile, but it is a strong reason not to treat one wording as the definitive representation of a customer need.

A CQ approach provides the stable requirement beneath those variants. The scenario and expected answer remain fixed, while teams test a controlled range of natural phrasings. That helps avoid two common errors:

  • Treating a successful single prompt as evidence of broad visibility.
  • Expanding a prompt set indefinitely without knowing which queries reflect a real decision or requirement.

The relevant unit of analysis is therefore not simply a string of words. It is a documented question that a defined audience needs answered in a specific context.

How to build a usable CQ inventory

Start small with business-critical scenarios rather than attempting to cover every possible conversational query. For each scenario, document the person or team responsible, the user need, the question, the expected answer and the source that substantiates it.

A simple working record can include:

  • Motivating scenario: The customer task or decision that makes the question important.
  • Competency question: The plain-language question the content and AI response should address.
  • Expected answer: The supported information that must be present, including any necessary qualification.
  • Evidence source: The owned page, documentation or policy that supports the answer.
  • Owner and review date: Who is accountable for accuracy and when the requirement should be revisited.
  • Test protocol: Prompt variants, engines, response criteria and the way results will be logged.

The expected answer should not be a demand that every model use a particular marketing phrase. It should define the factual substance needed for the scenario. This leaves room for normal variation in generated language while keeping evaluation consistent.

A negative CQ can be just as valuable. For example, a business may need its content to make clear that a product is not available in a particular region or does not support a certain use case. Testing these boundaries can reveal whether source material is clear enough to discourage misleading answers.

What this framework cannot prove

Competency questions improve research design, but they do not control a search engine or language model. A valid answer on a company website does not ensure inclusion in AI-generated answers, a citation or a commercial recommendation. Likewise, an observed mention does not establish a stable ranking position, user clicks or business impact.

The framework also requires governance. Expected answers can become outdated, and stakeholder assumptions about customer questions can be wrong. The discipline is to review the scenario, evidence and scoring criteria, not merely rerun the same prompts.

For agencies and in-house teams, the main benefit is defensibility. A well-maintained CQ inventory creates a clear connection between a visibility metric and the business situation it is meant to represent.

If your prompt tracking is producing a growing list of observations but few decisions, create a GEO Search Leads account to begin assessing your website's GEO readiness. A structured review can help identify optimization opportunities around the content and questions most relevant to how prospective customers discover your business through AI-generated answers.

Frequently Asked Questions

What is a competency question?

A competency question is a defined question that a knowledge system must be able to answer. In AI visibility work, it can connect a real customer scenario to an expected, evidence-supported answer and a repeatable testing process.

Are competency questions the same as prompts?

No. A competency question is the underlying requirement. A prompt is one way of phrasing that requirement for a particular AI system. One competency question may need several prompt variants for testing.

Does a successful content-source test guarantee an AI citation or brand mention?

No. Confirming that an owned source contains the expected answer only verifies that the information is available and supportable. AI-generated responses can vary by engine, prompt wording and other factors.

Why should prompt tests have named owners?

Named owners make prompt selection and expected answers accountable. They can confirm that the scenario remains important, the source material is current and the test still reflects a genuine business requirement.


Conclusion

Competency questions bring a test-first discipline to AI prompt tracking. By defining the scenario, expected answer, evidence and evaluation method before measuring outputs, teams can build a smaller, more meaningful visibility program. The method will not remove model variability, but it makes results easier to interpret, improve and connect to real customer decisions.

Top comments (0)