An updated fosf reasoner adds similarity-based reasoning to queries over RDF knowledge graphs through an ontology-aware query pipeline. Gian Carlo Milanese and Gabriella Pasi describe the release in a paper deposited on arXiv on November 19, 2026, explaining how structured queries can return approximate answers when strict constraints conflict.
What problem does fosf address?
The paper uses order-sorted feature logic, or OSF, to describe entities through classes and functional attributes. Classes are arranged in a hierarchy, while structured query terms express the desired combination of properties.
Strict constraints can make a query inconsistent with the ontology and produce no answer. The updated approach represents similarity between classes so that incompatible requirements can be relaxed in a controlled way. It is a formal query-rewriting method, rather than a claim that a language model can freely reinterpret a question.
How are queries translated into SPARQL?
Before translation, fosf normalizes the OSF query using the available ontology. The process accounts for class definitions, attribute domains and ranges, fuzzy subsumption and similarity relations.
The resulting normalized terms are compiled into standard SPARQL. This keeps the similarity reasoning in the OSF layer instead of requiring the downstream query itself to use a new fuzzy SPARQL dialect. The authors describe the new capabilities as additions to the existing Python reasoner.
What does an approximate answer mean here?
Approximate answers arise from the declared ontology and similarity relationships. The relevant question is therefore which constraint was relaxed and what relationship justified it. An answer returned after relaxation should not be mistaken for an exact match to the original constraints.
The paper presents the reasoning method, implementation and examples, and points to source code and an interactive demonstration. Those resources support examination of the translation pipeline; the captured material does not establish a universal retrieval-quality improvement for every knowledge graph.
Who should examine the release?
Franklin analysis: knowledge-graph developers working with structured, ontology-constrained search can inspect how the system handles mismatched query terms. A useful evaluation should compare the original query, normalized constraints and returned entities together, while checking whether the declared similarities make sense for the application.
Comments