Dontopedia

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.

18 facts·11 predicates·2 sources·5 in dispute

Mostly:rdf:type(2), uses(2), returns(2)

Maturity scale raw canonical shape-checked rule-derived certified

Inbound 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)

callsCalls(1)

callsInOrderCalls in Order(1)

callsMethodCalls Method(1)

chainedCallsChained Calls(1)

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.

16 facts
PredicateValueRef
Rdf:typeMethod[1]
Rdf:typeMethod[2]
UsesRe Escape[1]
UsesRe Escape Function[1]
ReturnsQuery[1]
ReturnsEscaped Query[2]
Purposeescape-special-characters[1]
Purposeescape special regex characters[2]
Has ParameterSelf[2]
Has ParameterQuery[2]
ParameterQuery[1]
OperationEscape Special Characters[1]
Is Called byRewrite Query[1]
ModifiesQuery Parameter[1]
Calls FunctionRe Escape[2]
Regex FunctionRe 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.

typebeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
ex:Method
parameterbeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
ex:query
operationbeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
ex:escape-special-characters
usesbeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
ex:re-escape
returnsbeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
ex:query
usesbeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
ex:re-escape-function
labelbeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
sanitize_query
isCalledBybeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
ex:rewrite-query
purposebeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
escape-special-characters
modifiesbeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
ex:query-parameter
typebeam/7b4bf2e3-60c1-4558-933c-d63455859bde
ex:Method
labelbeam/7b4bf2e3-60c1-4558-933c-d63455859bde
sanitize_query
hasParameterbeam/7b4bf2e3-60c1-4558-933c-d63455859bde
ex:self
hasParameterbeam/7b4bf2e3-60c1-4558-933c-d63455859bde
ex:query
callsFunctionbeam/7b4bf2e3-60c1-4558-933c-d63455859bde
ex:re-escape
returnsbeam/7b4bf2e3-60c1-4558-933c-d63455859bde
ex:escaped-query
purposebeam/7b4bf2e3-60c1-4558-933c-d63455859bde
escape special regex characters
regexFunctionbeam/7b4bf2e3-60c1-4558-933c-d63455859bde
ex:re-escape

References (2)

2 references
  1. ctx:claims/beam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
    • full textbeam-chunk
      text/plain1 KBdoc:beam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
      Show 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
  2. ctx:claims/beam/7b4bf2e3-60c1-4558-933c-d63455859bde
    • full textbeam-chunk
      text/plain1 KBdoc:beam/7b4bf2e3-60c1-4558-933c-d63455859bde
      Show 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.