Apply Keyword Substitution
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-10.)
Apply Keyword Substitution has 38 facts recorded in Dontopedia across 3 references, with 5 live disagreements.
Mostly:uses(5), rdf:type(3), rdfs:label(3)
Maturity scale
raw canonical shape-checked rule-derived certifiedRdf:typein disputerdf:type
Returnsin disputereturns
Iteration Variablesin disputeiterationVariables
- Keyword[2]all time · 7b4bf2e3 60c1 4558 933c D63455859bde
- Substitution[2]all time · 7b4bf2e3 60c1 4558 933c D63455859bde
Has Parameterin disputehasParameter
Usesin disputeuses
- Re Escape in Sub[3]sourceall time · 730c48fc 40c0 4bb9 Aa45 3ee6f2bdd32c
- Re Sub[3]sourceall time · 730c48fc 40c0 4bb9 Aa45 3ee6f2bdd32c
- Re Sub Function[3]sourceall time · 730c48fc 40c0 4bb9 Aa45 3ee6f2bdd32c
- Word Boundary[3]sourceall time · 730c48fc 40c0 4bb9 Aa45 3ee6f2bdd32c
- Word Boundary Regex[3]sourceall time · 730c48fc 40c0 4bb9 Aa45 3ee6f2bdd32c
Rdfs:labelrdfs:label
Iteration TargetiterationTarget
- Keyword Substitutions Items[2]all time · 7b4bf2e3 60c1 4558 933c D63455859bde
Regex Pattern ConstructionregexPatternConstruction
- word-boundary + escaped-keyword + word-boundary[2]sourceall time · 7b4bf2e3 60c1 4558 933c D63455859bde
Regex FunctionregexFunction
Regex BoundaryregexBoundary
- word-boundary[2]all time · 7b4bf2e3 60c1 4558 933c D63455859bde
Purposepurpose
- replace keywords with substitutions[2]all time · 7b4bf2e3 60c1 4558 933c D63455859bde
Calls FunctioncallsFunction
Inbound mentions (11)
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(3)
- Query Rewriter
ex:query-rewriter - 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
chainsTechniqueChains Technique(1)
- Expand Query
ex:expand-query
describesDescribes(1)
- Keyword Substitution Explanation
ex:keyword-substitution-explanation
invokesInvokes(1)
- Expand Query
ex:expand-query
isUsedByIs Used by(1)
- Keyword Substitutions
ex:keyword-substitutions
usedInUsed in(1)
- Word Boundary
ex:word-boundary
Other facts (15)
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 |
|---|---|---|
| Uses Attribute | Keyword Substitutions | [2] |
| Dependency | Keyword Substitutions | [1] |
| Transformation Type | Lexical Substitution | [1] |
| Access Level | Private Method | [1] |
| Invoked by | Expand Query | [1] |
| Is Method of | Query Rewriter | [1] |
| Opposite of | Keyword Literal Substitution | [1] |
| Uses Variable | Keyword Substitutions | [1] |
| Implemented in | Query Rewriter | [1] |
| Modifies | Query Parameter | [3] |
| Loops Over | Keyword Substitutions Dictionary | [3] |
| Uses Regex | Word Boundary Pattern | [3] |
| Is Called by | Rewrite Query | [3] |
| Iterates | Keyword Substitutions | [3] |
| Parameter | Query | [3] |
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 (3)
- custom
ctx:claims/beam/ea0e817a-1408-493e-bbcf-6f0c90a888ee- full textbeam-chunktext/plain1 KB
doc:beam/ea0e817a-1408-493e-bbcf-6f0c90a888eeShow excerpt
# Example usage: rewriter = QueryRewriter() query = "SELECT * FROM table WHERE condition AND column = value" rewritten_query = rewriter.rewrite_query(query) print(f"Rewritten Query: {rewritten_query}") ``` ### Explanation 1. **Keyword Sub…
- custom
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…
- custom
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…
See also
- Private Method
- Re Sub
- Keyword Substitutions
- Query
- Self
- Query Rewriter
- Expand Query
- Rewrite Query
- Keyword Substitutions Items
- Keyword
- Substitution
- Keyword Substitutions Dictionary
- Query Parameter
- Keyword Literal Substitution
- Method
- Lexical Substitution
- Re Escape in Sub
- Re Sub Function
- Word Boundary
- Word Boundary Regex
- Word Boundary Pattern
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.