Dontopedia

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.

30 facts·23 predicates·6 sources·3 in dispute

Mostly:rdf:type(6), targets column(2), has attribute(2)

Maturity scale raw canonical shape-checked rule-derived certified

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

containsElementContains Element(1)

doesNotOptimizeDoes Not Optimize(1)

hasElementHas Element(1)

hasMemberHas Member(1)

hasSameTypeAsHas Same Type As(1)

reformulatedFromReformulated From(1)

semanticRelationSemantic Relation(1)

tableServedByTable Served by(1)

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.

30 facts
PredicateValueRef
Rdf:typeSql Query[1]
Rdf:typeTest Query[2]
Rdf:typeSql Query[3]
Rdf:typeTest Input[5]
Rdf:typeQuery Pair[6]
Rdf:typeRequest[6]
Targets Columnid[1]
Targets ColumnId Column[3]
Has AttributeQuery Text[3]
Has AttributeQuery Type[3]
Has Query TextSELECT * FROM table WHERE id = 1[1]
Not Benefited byIndex Definition[1]
Has QuerySELECT * FROM table WHERE id = 1[2]
Has Typesql[2]
Filters byid[2]
Filters by Value1[2]
Member ofTest Queries List[2]
Has Return TypeResult Set[2]
Inverse Part ofTest Queries Array[3]
Corresponds toExpected Result 2[4]
InputAnother query with special characters !@#$[5]
Output['Another', 'query', 'with', 'special', 'characters'][5]
DemonstratesSpecial Character Filtering[5]
ContainsSpecial Characters[5]
Original QueryBook a flight to New York[6]
Reformulated QueryReserve a ticket to New York City[6]
Reformulated AsTest Query 2 Reformulated[6]
Has Original FormBook a flight to New York[6]
Has Reformulated FormReserve a ticket to New York City[6]
Semantic RelationTest 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.

typebeam/f8f42f6b-a669-4fde-b310-665b40c0f92a
ex:SQLQuery
hasQueryTextbeam/f8f42f6b-a669-4fde-b310-665b40c0f92a
SELECT * FROM table WHERE id = 1
targetsColumnbeam/f8f42f6b-a669-4fde-b310-665b40c0f92a
id
notBenefitedBybeam/f8f42f6b-a669-4fde-b310-665b40c0f92a
ex:index-definition
typebeam/9f4d3226-c17b-45b8-8fe6-cf4594441b45
ex:TestQuery
hasQuerybeam/9f4d3226-c17b-45b8-8fe6-cf4594441b45
SELECT * FROM table WHERE id = 1
hasTypebeam/9f4d3226-c17b-45b8-8fe6-cf4594441b45
sql
filtersBybeam/9f4d3226-c17b-45b8-8fe6-cf4594441b45
id
filtersByValuebeam/9f4d3226-c17b-45b8-8fe6-cf4594441b45
1
memberOfbeam/9f4d3226-c17b-45b8-8fe6-cf4594441b45
ex:test-queries-list
hasReturnTypebeam/9f4d3226-c17b-45b8-8fe6-cf4594441b45
ex:ResultSet
hasAttributebeam/fea14185-d5e0-44e0-976d-96d035944efc
ex:query-text
hasAttributebeam/fea14185-d5e0-44e0-976d-96d035944efc
ex:query-type
typebeam/fea14185-d5e0-44e0-976d-96d035944efc
ex:SQLQuery
targetsColumnbeam/fea14185-d5e0-44e0-976d-96d035944efc
ex:id-column
inversePartOfbeam/fea14185-d5e0-44e0-976d-96d035944efc
ex:test-queries-array
correspondsTobeam/5466d53b-b106-4ae8-8b3d-669b5165ec8b
ex:expected-result-2
typebeam/bdb209b7-8532-40a9-a6db-6c8b2fb1a9c7
ex:TestInput
inputbeam/bdb209b7-8532-40a9-a6db-6c8b2fb1a9c7
Another query with special characters !@#$
outputbeam/bdb209b7-8532-40a9-a6db-6c8b2fb1a9c7
['Another', 'query', 'with', 'special', 'characters']
demonstratesbeam/bdb209b7-8532-40a9-a6db-6c8b2fb1a9c7
ex:special-character-filtering
containsbeam/bdb209b7-8532-40a9-a6db-6c8b2fb1a9c7
ex:special-characters
typebeam/20c17a4d-b326-46a3-a5e8-1cd6d8e8c7ff
ex:QueryPair
originalQuerybeam/20c17a4d-b326-46a3-a5e8-1cd6d8e8c7ff
Book a flight to New York
reformulatedQuerybeam/20c17a4d-b326-46a3-a5e8-1cd6d8e8c7ff
Reserve a ticket to New York City
typebeam/20c17a4d-b326-46a3-a5e8-1cd6d8e8c7ff
ex:Request
reformulatedAsbeam/20c17a4d-b326-46a3-a5e8-1cd6d8e8c7ff
ex:test-query-2-reformulated
hasOriginalFormbeam/20c17a4d-b326-46a3-a5e8-1cd6d8e8c7ff
Book a flight to New York
hasReformulatedFormbeam/20c17a4d-b326-46a3-a5e8-1cd6d8e8c7ff
Reserve a ticket to New York City
semanticRelationbeam/20c17a4d-b326-46a3-a5e8-1cd6d8e8c7ff
ex:test-query-3

References (6)

6 references
  1. ctx:claims/beam/f8f42f6b-a669-4fde-b310-665b40c0f92a
    • full textbeam-chunk
      text/plain1 KBdoc:beam/f8f42f6b-a669-4fde-b310-665b40c0f92a
      Show 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
  2. ctx:claims/beam/9f4d3226-c17b-45b8-8fe6-cf4594441b45
    • full textbeam-chunk
      text/plain1 KBdoc:beam/9f4d3226-c17b-45b8-8fe6-cf4594441b45
      Show 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
  3. ctx:claims/beam/fea14185-d5e0-44e0-976d-96d035944efc
    • full textbeam-chunk
      text/plain1 KBdoc:beam/fea14185-d5e0-44e0-976d-96d035944efc
      Show 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
  4. ctx:claims/beam/5466d53b-b106-4ae8-8b3d-669b5165ec8b
    • full textbeam-chunk
      text/plain1 KBdoc:beam/5466d53b-b106-4ae8-8b3d-669b5165ec8b
      Show 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
  5. ctx:claims/beam/bdb209b7-8532-40a9-a6db-6c8b2fb1a9c7
    • full textbeam-chunk
      text/plain1 KBdoc:beam/bdb209b7-8532-40a9-a6db-6c8b2fb1a9c7
      Show 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(
  6. ctx:claims/beam/20c17a4d-b326-46a3-a5e8-1cd6d8e8c7ff
    • full textbeam-chunk
      text/plain1 KBdoc:beam/20c17a4d-b326-46a3-a5e8-1cd6d8e8c7ff
      Show 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.