
Ontology Design Patterns are building blocks for ontologies. They offer answers to common modeling problems. Their use favors the ontology's reusability and ensures a high degree of overall ontology quality. Reusing ODPs is a basic concept and explicit action of the ontology design process known as eXtreme Design (XD). Following the start of the project, XD is carried out by repeating a series of steps:
User stories lead to requirements collection. A user story is a series of phrases that illustrates the types of facts that the final knowledge graph must encode.
User stories can have a priority level, a title, and an ID attached to them. The title or ID can be used to describe potential narrative dependencies, which means that the analysis of one tale is dependent upon the analysis of other stories.
The order in which stories are handled depends on their priority level.
To generalize a user narrative is to determine the key ideas it illustrates. Generalizing the user stories yields one or more competency questions (CQs). CQs are the natural language versions of the queries applicable to the resulting knowledge graph.
Along with CQs, it is possible to identify general constraints that may express possible inferences or other rules that apply to the story concepts. General constraints expressed in natural language correspond to formal axioms the ontology will include.
Matching CQs to Ontology Design Patterns (ODPs) is a crucial step in XD. A cohesive group of CQs, or CQs dealing with the same modeling difficulties (e.g. material transformation), is chosen at each iteration.
The analysis of potential existing ODPs identifies the best candidate for ontology implementation. They may be found in catalogs like the ODP portal and the University of Manchester's catalog. When an ODP is correctly specified and documented, it provides the corresponding competency questions that fully characterize the modeling issue it solves.
A designer can determine if an ODP fits the available CQs by contrasting them with the ODP's CQs. ODP's CQs are frequently broader than an ontology project's domain-specific CQs. In this situation, the designer will broaden CQs further to determine whether the candidate ODP may be reused given a vocabulary specialization.
The XD development process is test-driven and unit tested. In order to construct sample triples that are expected to either result in consistency problems or inferences, generic constraints are employed to transform CQs into potential SPARQL queries.
Unit tests consist of OWL/RDF files and SPARQL queries that are annotated with the intended outcomes.
Our “story” is the description of the story-making machine.
2022, Diego Chillo & Laura Travaglini