keyword_substitutions
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-10.)
keyword_substitutions has 55 facts recorded in Dontopedia across 7 references, with 5 live disagreements.
Mostly:contains(9), rdf:type(7), has mapping(3)
Maturity scale
raw canonical shape-checked rule-derived certifiedInbound mentions (17)
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.
hasAttributeHas Attribute(6)
- Query Rewriter
ex:query-rewriter - Query Rewriter
ex:query-rewriter - Query Rewriter
ex:query-rewriter - Query Rewriter
ex:query-rewriter - Query Rewriter Class
ex:query-rewriter-class - Query Rewriter Class
ex:query-rewriter-class
assignsToSelfAssigns to Self(1)
- Init
ex:__init__
consistsOfConsists of(1)
- All Techniques
ex:all-techniques
dependencyDependency(1)
- Apply Keyword Substitution
ex:apply-keyword-substitution
hasInstanceVariableHas Instance Variable(1)
- Query Rewriter Class
ex:query-rewriter-class
hasIntegrationHas Integration(1)
- Enhanced Version
ex:enhanced-version
hasMemberHas Member(1)
- Techniques
ex:techniques
isTargetedByNameIs Targeted by Name(1)
- Sql Keywords
ex:sql-keywords
iteratesIterates(1)
- Apply Keyword Substitution
ex:apply-keyword-substitution
usesUses(1)
- Query Transformation
ex:query-transformation
usesAttributeUses Attribute(1)
- Apply Keyword Substitution
ex:apply-keyword-substitution
usesVariableUses Variable(1)
- Apply Keyword Substitution
ex:apply-keyword-substitution
Other facts (52)
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 |
|---|---|---|
| Contains | Keyword | [2] |
| Contains | Substitution | [2] |
| Contains | Select Retrieve | [4] |
| Contains | From of | [4] |
| Contains | Where While | [4] |
| Contains | Select Retrieval | [5] |
| Contains | From of | [5] |
| Contains | Where While | [5] |
| Contains | Dictionary Mapping | [7] |
| Rdf:type | Dictionary | [1] |
| Rdf:type | Dictionary | [2] |
| Rdf:type | Dictionary | [3] |
| Rdf:type | Dictionary | [4] |
| Rdf:type | Dictionary | [5] |
| Rdf:type | Dictionary | [6] |
| Rdf:type | Dictionary Type | [7] |
| Has Mapping | Mapping Select Retrieve | [1] |
| Has Mapping | Mapping From of | [1] |
| Has Mapping | Mapping Where While | [1] |
| Contains Sql Keyword | Select | [5] |
| Contains Sql Keyword | From | [5] |
| Contains Sql Keyword | Where | [5] |
| Data Structure | Dictionary | [2] |
| Data Structure | Dictionary Mapping | [3] |
| Is Dictionary for | Sql Keywords | [1] |
| Targets | Sql Keywords | [1] |
| Purpose | Maps Keywords to Substitutions | [3] |
| Is Used by | Apply Keyword Substitution | [3] |
| Mapping Type | String to String | [3] |
| Has Entry | Select Retrieve | [4] |
| Is Dictionary | true | [4] |
| Element Count | 3 | [4] |
| First Key | SELECT | [4] |
| First Value | RETRIEVE | [4] |
| Second Key | FROM | [4] |
| Second Value | OF | [4] |
| Third Key | WHERE | [4] |
| Third Value | WHILE | [4] |
| Is Dict With Str Keys | true | [4] |
| Is Dict With Str Values | true | [4] |
| Is Dict Literal | true | [4] |
| Contains Three Substitutions | true | [4] |
| Type | Dictionary | [5] |
| Has Entries | 3 | [5] |
| Iteration Method | Items | [6] |
| Access Method | Items | [6] |
| Has Member | Or Keyword | [7] |
| Has Element Type | String to String Mapping | [7] |
| Has Key | Or Keyword | [7] |
| Has Value for | Orelse Substitution | [7] |
| Contains Key | Or Keyword | [7] |
| Maps Key to | Orelse Substitution | [7] |
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 (7)
ctx:claims/beam/fe1ff925-6e8a-431d-aa01-2d4b499ae7e2ctx: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/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…
ctx:claims/beam/b75dfd8f-8843-48b6-a51b-7bca94983b62ctx:claims/beam/ed4ffe06-c0e7-4d35-8b0e-d4d2f844cb7b- full textbeam-chunktext/plain1 KB
doc:beam/ed4ffe06-c0e7-4d35-8b0e-d4d2f844cb7bShow excerpt
By following these steps, you can effectively handle special characters and improve the robustness of your query rewriting pipeline. [Turn 9906] User: I'm looking for ways to optimize my query rewriting pipeline to handle a larger volume o…
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…
ctx:claims/beam/6160f680-6610-43df-b520-efa8dbd5ff46- full textbeam-chunktext/plain1 KB
doc:beam/6160f680-6610-43df-b520-efa8dbd5ff46Show excerpt
(r'\bOR\b', 'ORELSE') ] self.contextual_expansions = { 'table': 'TABLE_NAME', 'condition': 'CONDITION_VALUE' } def rewrite_query(self, query): try: expande…
See also
- Dictionary
- Mapping Select Retrieve
- Mapping From of
- Mapping Where While
- Sql Keywords
- Keyword
- Substitution
- Maps Keywords to Substitutions
- Apply Keyword Substitution
- Dictionary Mapping
- String to String
- Select Retrieve
- From of
- Where While
- Select Retrieval
- Select
- From
- Where
- Items
- Dictionary Type
- Or Keyword
- String to String Mapping
- Orelse Substitution
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.