fosf can rewrite an inconsistent graph query. Its 0.5 score isn’t an accuracy result.
An ISWC demo lets readers switch ontology normalization and sort similarity on and off. The useful test is whether the added answers are acceptable, not simply whether the rewrite returns rows.
The Nov. 19 arXiv posting of the fosf demo paper shows how an ontology can rescue a graph query that its strict rules would reject. It also offers a useful warning for anyone evaluating query repair: the approximation score describes the rewrite under the supplied rules, not how often the returned answers are right. This is a worked example from an ISWC 2026 demo, not a new leaderboard result.
What changed in the query
In the paper’s example (§§3–4, figures 3–4), a query asks for a person who teaches and researches at the same institution. Under the example’s domain and range rules, the person has to satisfy both the teacher and researcher constraints. Strict normalization treats those sorts as disjoint in the supplied ontology. Direct translation without normalization produces a SPARQL query, but it does not enforce those ontology rules. With the authors’ declared teacher–lecturer similarity of 0.5, fosf instead rewrites the query to look for a professor who teaches and researches at the same university. The rewritten term satisfies the example’s OSF theory to degree 0.5; the output is standard SPARQL.
That 0.5 is not 50% precision, a probability that an individual result is correct, or a score on a held-out split. The demo paper shows how the rewrite works; it does not report held-out retrieval accuracy or comparative latency for this SPARQL pipeline. The authors also distinguish the current manually specified similarities from automated similarity estimation, which they list as future work (§6).
How to test a fallback like this
The demo interface (§5) exposes separate switches for normalization and similarity, and the repository points to the notebook for the paper’s examples. For a deployment evaluation, run the same labeled requests three ways: direct translation, strict normalization, and normalization with similarity. Keep requests that should return nothing in the test set alongside ones where an approximate answer is acceptable. Report both the proportion of rejected queries recovered and the share of newly returned answers that reviewers consider acceptable. A rewrite that finds more rows is only an improvement if those rows answer a question the user is willing to ask.
sources
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026