Test Query 2
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-11.)
Test Query 2 has 30 facts recorded in Dontopedia across 6 references, with 3 live disagreements.
Mostly:rdf:type(6), targets column(2), has attribute(2)
Maturity scale
raw canonical shape-checked rule-derived certifiedInbound mentions (10)
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.
containsContains(2)
- Example Output Section
ex:example-output-section - Test Queries
ex:test-queries
containsElementContains Element(1)
- Test Queries
ex:test-queries
doesNotOptimizeDoes Not Optimize(1)
- Index Definition
ex:index-definition
hasElementHas Element(1)
- Test Queries Array
ex:test-queries-array
hasMemberHas Member(1)
- Test Queries
ex:test-queries
hasSameTypeAsHas Same Type As(1)
- Test Query 1
ex:test-query-1
reformulatedFromReformulated From(1)
- Test Query 2 Reformulated
ex:test-query-2-reformulated
semanticRelationSemantic Relation(1)
- Test Query 1
ex:test-query-1
tableServedByTable Served by(1)
- Query Table Relation
ex:query-table-relation
Other facts (30)
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 | Sql Query | [1] |
| Rdf:type | Test Query | [2] |
| Rdf:type | Sql Query | [3] |
| Rdf:type | Test Input | [5] |
| Rdf:type | Query Pair | [6] |
| Rdf:type | Request | [6] |
| Targets Column | id | [1] |
| Targets Column | Id Column | [3] |
| Has Attribute | Query Text | [3] |
| Has Attribute | Query Type | [3] |
| Has Query Text | SELECT * FROM table WHERE id = 1 | [1] |
| Not Benefited by | Index Definition | [1] |
| Has Query | SELECT * FROM table WHERE id = 1 | [2] |
| Has Type | sql | [2] |
| Filters by | id | [2] |
| Filters by Value | 1 | [2] |
| Member of | Test Queries List | [2] |
| Has Return Type | Result Set | [2] |
| Inverse Part of | Test Queries Array | [3] |
| Corresponds to | Expected Result 2 | [4] |
| Input | Another query with special characters !@#$ | [5] |
| Output | ['Another', 'query', 'with', 'special', 'characters'] | [5] |
| Demonstrates | Special Character Filtering | [5] |
| Contains | Special Characters | [5] |
| Original Query | Book a flight to New York | [6] |
| Reformulated Query | Reserve a ticket to New York City | [6] |
| Reformulated As | Test Query 2 Reformulated | [6] |
| Has Original Form | Book a flight to New York | [6] |
| Has Reformulated Form | Reserve a ticket to New York City | [6] |
| Semantic Relation | Test Query 3 | [6] |
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 (6)
ctx:claims/beam/f8f42f6b-a669-4fde-b310-665b40c0f92a- full textbeam-chunktext/plain1 KB
doc:beam/f8f42f6b-a669-4fde-b310-665b40c0f92aShow excerpt
{'id': 2, 'name': 'Jane Doe'}, {'id': 3, 'name': 'Bob Smith'} ] # Define the test queries test_queries = [ {'query': 'SELECT * FROM table WHERE name = "John Doe"'}, {'query': 'SELECT * FROM table WHERE id = 1'} ] # Run the…
ctx:claims/beam/9f4d3226-c17b-45b8-8fe6-cf4594441b45- full textbeam-chunktext/plain1 KB
doc:beam/9f4d3226-c17b-45b8-8fe6-cf4594441b45Show excerpt
'mysql': ['BTREE', 'HASH'], 'postgresql': ['BTREE', 'HASH'], 'mongodb': ['BTREE', 'HASH'] } # Define the test data test_data = [ {'id': 1, 'name': 'John Doe'}, {'id': 2, 'name': 'Jane Doe'}, {'id': 3, 'name': 'Bob S…
ctx:claims/beam/fea14185-d5e0-44e0-976d-96d035944efc- full textbeam-chunktext/plain1 KB
doc:beam/fea14185-d5e0-44e0-976d-96d035944efcShow excerpt
### Extended Implementation ```python import time import mysql.connector import psycopg2 import pymongo from contextlib import contextmanager # Define the databases to compare databases = { 'mysql': mysql.connector.connect( ho…
ctx:claims/beam/5466d53b-b106-4ae8-8b3d-669b5165ec8b- full textbeam-chunktext/plain1 KB
doc:beam/5466d53b-b106-4ae8-8b3d-669b5165ec8bShow excerpt
rewriter.add_rule(r'\bSELECT\b', 'RETRIEVE') rewriter.add_rule(r'\bFROM\b', 'OF') rewriter.add_rule(r'\bWHERE\b', 'WHILE') # Test queries test_queries = [ "SELECT * FROM table WHERE condition", "SELECT column1 FROM table", "SEL…
ctx:claims/beam/bdb209b7-8532-40a9-a6db-6c8b2fb1a9c7- full textbeam-chunktext/plain1 KB
doc:beam/bdb209b7-8532-40a9-a6db-6c8b2fb1a9c7Show excerpt
2. **Token Boundary Adjustment and Special Character Removal**: - Combined the token boundary adjustment and special character removal into a single step using `re.sub`. 3. **Skip Empty Tokens**: - `if token: processed_tokens.append(…
ctx:claims/beam/20c17a4d-b326-46a3-a5e8-1cd6d8e8c7ff- full textbeam-chunktext/plain1 KB
doc:beam/20c17a4d-b326-46a3-a5e8-1cd6d8e8c7ffShow excerpt
("What is the weather today?", "Tell me the current weather conditions"), ("Book a flight to New York", "Reserve a ticket to New York City"), ("How do I get to the airport?", "Provide directions to the airport") ] for original_…
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.