enablespreventsusedInisSubtypeOfrdfs:labelprotectsOther 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.
usesUses(2)ex:SynonymLookupModuleex:thread-safetydescribesDescribes(1)ex:thread-safety-sectionisEnsuredByIs Ensured by(1)ex:thread-safe-accessisProtectedByIs Protected by(1)ex:synonyms-dictionaryTimeline 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.
doc:beam/12269cc1-9508-4110-9043-edaf3b3aab3eprint(module.get_synonyms('hello')) # Output: [] ``` ### Explanation 1. **Use `defaultdict`**: - `defaultdict(list)` allows storing multiple synonyms for a single term. - This ensures that each term can have a list of synonyms. 2.…
doc:beam/e78bbd6a-ed24-4f94-8f02-ea068e0781ecprint(module.get_synonyms('hello')) # Output: [] ``` ### Explanation 1. **Thread Safety**: - Use a `threading.Lock` to ensure thread-safe access to the `synonyms` dictionary. - The `with self.lock:` context manager ensures that onl…
Dontopedia is in a read-only public launch. Follow the references and disputed branches now; contributions will open after durable identity and moderation are in place.