sanitize_query
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-10.)
sanitize_query has 18 facts recorded in Dontopedia across 2 references, with 5 live disagreements.
Mostly:rdf:type(2), uses(2), returns(2)
Maturity scale
raw canonical shape-checked rule-derived certifiedInbound mentions (6)
Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.
hasMethodHas Method(2)
- Query Rewriter
ex:query-rewriter - Query Rewriter
ex:query-rewriter
callsCalls(1)
- Rewrite Query
ex:rewrite-query
callsInOrderCalls in Order(1)
- Expand Query
ex:expand-query
callsMethodCalls Method(1)
- Expand Query
ex:expand-query
chainedCallsChained Calls(1)
- Rewrite Query
ex:rewrite-query
Other facts (16)
The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.
| Predicate | Value | Ref |
|---|---|---|
| Rdf:type | Method | [1] |
| Rdf:type | Method | [2] |
| Uses | Re Escape | [1] |
| Uses | Re Escape Function | [1] |
| Returns | Query | [1] |
| Returns | Escaped Query | [2] |
| Purpose | escape-special-characters | [1] |
| Purpose | escape special regex characters | [2] |
| Has Parameter | Self | [2] |
| Has Parameter | Query | [2] |
| Parameter | Query | [1] |
| Operation | Escape Special Characters | [1] |
| Is Called by | Rewrite Query | [1] |
| Modifies | Query Parameter | [1] |
| Calls Function | Re Escape | [2] |
| Regex Function | Re Escape | [2] |
Timeline
Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.
References (2)
ctx:claims/beam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c- full textbeam-chunktext/plain1 KB
doc:beam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32cShow excerpt
query = self.sanitize_query(query) query = self.apply_keyword_substitution(query) query = self.apply_pattern_matching(query) query = self.apply_contextual_expansion(query) return query def saniti…
ctx:claims/beam/7b4bf2e3-60c1-4558-933c-d63455859bde- full textbeam-chunktext/plain1 KB
doc:beam/7b4bf2e3-60c1-4558-933c-d63455859bdeShow excerpt
raise QueryParseError(f"Error rewriting query: {query} - {e}") def expand_query(self, query): query = self.sanitize_query(query) query = self.apply_keyword_substitution(query) query = self.apply_patt…
See also
Keep researching
Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.