Dontopedia

contextual_expansions

From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-10.)

contextual_expansions has 44 facts recorded in Dontopedia across 6 references, with 8 live disagreements.

44 facts·27 predicates·6 sources·8 in dispute

Mostly:rdf:type(6), contains(4), has mapping(2)

Maturity scale raw canonical shape-checked rule-derived certified

Inbound mentions (16)

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)

assignsToSelfAssigns to Self(1)

consistsOfConsists of(1)

hasInstanceVariableHas Instance Variable(1)

hasIntegrationHas Integration(1)

hasMemberHas Member(1)

isTargetedByNameIs Targeted by Name(1)

iteratesIterates(1)

usesUses(1)

usesAttributeUses Attribute(1)

usesVariableUses Variable(1)

Other facts (41)

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.

41 facts
PredicateValueRef
Rdf:typeDictionary[1]
Rdf:typeDictionary[2]
Rdf:typeDictionary[3]
Rdf:typeDictionary[4]
Rdf:typeDictionary[5]
Rdf:typeDictionary Type[6]
ContainsContext[2]
ContainsExpansion[2]
ContainsTable Table Name[4]
ContainsCondition Condition Value[4]
Has MappingMapping Table Table Name[1]
Has MappingMapping Condition Condition Value[1]
Has MemberTable Keyword[6]
Has MemberCondition Keyword[6]
Has KeyTable Keyword[6]
Has KeyCondition Keyword[6]
Has Value forTable Name Placeholder[6]
Has Value forCondition Value Placeholder[6]
Contains KeyTable Keyword[6]
Contains KeyCondition Keyword[6]
Maps Key toTable Name Placeholder[6]
Maps Key toCondition Value Placeholder[6]
Is Dictionary forSql Concepts[1]
TargetsSql Concepts[1]
Data StructureDictionary[2]
PurposeMaps Context Clues to Expansions[3]
Is Used byApply Contextual Expansion[3]
Mapping TypeString to String[3]
StructureKey Value Pairs[3]
Has EntryTable Table Name[4]
Is Dictionarytrue[4]
Element Count2[4]
First Keytable[4]
First ValueTABLE_NAME[4]
Second Keycondition[4]
Second ValueCONDITION_VALUE[4]
Is Dict With Str Keystrue[4]
Is Dict With Str Valuestrue[4]
Is Dict Literaltrue[4]
Contains Two Expansionstrue[4]
Access MethodItems[5]

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/fe1ff925-6e8a-431d-aa01-2d4b499ae7e2
ex:Dictionary
labelbeam/fe1ff925-6e8a-431d-aa01-2d4b499ae7e2
contextual_expansions
hasMappingbeam/fe1ff925-6e8a-431d-aa01-2d4b499ae7e2
ex:mapping-table-table-name
hasMappingbeam/fe1ff925-6e8a-431d-aa01-2d4b499ae7e2
ex:mapping-condition-condition-value
isDictionaryForbeam/fe1ff925-6e8a-431d-aa01-2d4b499ae7e2
ex:sql-concepts
targetsbeam/fe1ff925-6e8a-431d-aa01-2d4b499ae7e2
ex:sql-concepts
typebeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
ex:Dictionary
containsbeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
ex:context
containsbeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
ex:expansion
dataStructurebeam/730c48fc-40c0-4bb9-aa45-3ee6f2bdd32c
ex:Dictionary
typebeam/ea0e817a-1408-493e-bbcf-6f0c90a888ee
ex:Dictionary
labelbeam/ea0e817a-1408-493e-bbcf-6f0c90a888ee
contextual_expansions
purposebeam/ea0e817a-1408-493e-bbcf-6f0c90a888ee
ex:maps-context-clues-to-expansions
isUsedBybeam/ea0e817a-1408-493e-bbcf-6f0c90a888ee
ex:apply-contextual-expansion
mappingTypebeam/ea0e817a-1408-493e-bbcf-6f0c90a888ee
ex:string-to-string
structurebeam/ea0e817a-1408-493e-bbcf-6f0c90a888ee
ex:key-value-pairs
typebeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
ex:Dictionary
hasEntrybeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
ex:table-table-name
containsbeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
ex:table-table-name
containsbeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
ex:condition-condition-value
isDictionarybeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
true
elementCountbeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
2
firstKeybeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
table
firstValuebeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
TABLE_NAME
secondKeybeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
condition
secondValuebeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
CONDITION_VALUE
isDictWithStrKeysbeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
true
isDictWithStrValuesbeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
true
isDictLiteralbeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
true
containsTwoExpansionsbeam/b75dfd8f-8843-48b6-a51b-7bca94983b62
true
typebeam/7b4bf2e3-60c1-4558-933c-d63455859bde
ex:Dictionary
labelbeam/7b4bf2e3-60c1-4558-933c-d63455859bde
contextual_expansions
accessMethodbeam/7b4bf2e3-60c1-4558-933c-d63455859bde
ex:items
hasMemberbeam/6160f680-6610-43df-b520-efa8dbd5ff46
ex:table-keyword
hasMemberbeam/6160f680-6610-43df-b520-efa8dbd5ff46
ex:condition-keyword
typebeam/6160f680-6610-43df-b520-efa8dbd5ff46
ex:dictionary-type
hasKeybeam/6160f680-6610-43df-b520-efa8dbd5ff46
ex:table-keyword
hasValueForbeam/6160f680-6610-43df-b520-efa8dbd5ff46
ex:table-name-placeholder
hasKeybeam/6160f680-6610-43df-b520-efa8dbd5ff46
ex:condition-keyword
hasValueForbeam/6160f680-6610-43df-b520-efa8dbd5ff46
ex:condition-value-placeholder
containsKeybeam/6160f680-6610-43df-b520-efa8dbd5ff46
ex:table-keyword
mapsKeyTobeam/6160f680-6610-43df-b520-efa8dbd5ff46
ex:table-name-placeholder
containsKeybeam/6160f680-6610-43df-b520-efa8dbd5ff46
ex:condition-keyword
mapsKeyTobeam/6160f680-6610-43df-b520-efa8dbd5ff46
ex:condition-value-placeholder

References (6)

6 references
  1. ctx:claims/beam/fe1ff925-6e8a-431d-aa01-2d4b499ae7e2
  2. 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
  3. ctx:claims/beam/ea0e817a-1408-493e-bbcf-6f0c90a888ee
    • full textbeam-chunk
      text/plain1 KBdoc:beam/ea0e817a-1408-493e-bbcf-6f0c90a888ee
      Show 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
  4. ctx:claims/beam/b75dfd8f-8843-48b6-a51b-7bca94983b62
  5. 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
  6. ctx:claims/beam/6160f680-6610-43df-b520-efa8dbd5ff46
    • full textbeam-chunk
      text/plain1 KBdoc:beam/6160f680-6610-43df-b520-efa8dbd5ff46
      Show excerpt
      (r'\bOR\b', 'ORELSE') ] self.contextual_expansions = { 'table': 'TABLE_NAME', 'condition': 'CONDITION_VALUE' } def rewrite_query(self, query): try: expande

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.