I would like to create a semantic context for my data before vectorizing the actual data in Weaviate (https://github.com/semi-technologies/weaviate). Lets say we have a taxonomy where we have a set of domain specific concepts together with links to their related concepts. Could you advise me what the best way is to encode not only those concepts but also relations between them using contextionary?
How to encode a taxonomy in Weaviate contextionary
286 Views Asked by Ali Khalili At
1
There are 1 best solutions below
Related Questions in SEARCH
- SQL weight rows by formula
- If Input is focused trigger X else trigger Y
- laravel full-text search with multiple keywords together
- Login form by using a new database, made in VB
- How to search for overloaded methods in a class
- Modifying Tries code in Java
- Doing a multi-column search for an item in a listView control using c#
- T SQL wildcard searching for a zip code
- django rest framework search filter all fields
- how to filter search result with dropdown list in php
- PHP/MySQL search... show all data by default, or show matched data
- Oracle multiple REPLACE options in REGEXP_REPLACE
- Is there a way to get all complete sentences that a search engine (e.g. Google) has indexed that contain two search terms?
- How to search a unknown composite key for dictionary in O(1) in c#
- android java search listview clickedItem
Related Questions in TAXONOMY
- Conditional text for certain categories within taxonomy.php
- Create hierarchical relations between a set of terms
- Creating a Relationship between two Wordpress Taxonomies
- How to remove taxonomy slug from custom post type url?
- WordPress function: Creates a term with same name as post name but should also assign post to the term
- WordPress taxonomy.php not working for custom taxonomy
- WordPress: How to get new post tags
- Custom Post Type showing even when taxonomy is blank
- Posts list with their taxonomy
- excluding custom taxonomy from query on wordpress?
- User can use only their category in Wordpress
- Clustering business terms in weka
- Why my taxonomies are not working the hierarchal way on my custom posts?
- Add Taxonomy to Wordpress posts in bulk if post title contains text
- How to efficiently select distinct tags with associated items in many-to-many relationship?
Related Questions in WEAVIATE
- How can I get Weaviate to return a fixed text string previously associated with another vectorized string?
- Weaviate OpenAi import data rate limit error
- Error while loading documents in Weaviate
- Weaviate javascript client '.withAsk' returning 'undefined', what am I missing?
- Edit weaviate modules once it's running on AWS
- Over Memory consumption of Weaviate
- How can I improve security for Weaviate in local environment?
- Weaviate constantly running out of memory
- What is Weaviate scoring approach?
- What languages does Weaviate support?
- Bug in Weaviate - Update data object instance (Python Client)
- In weaviate is it possible to return only some referenced objects in Weaviate?
- Does weaviate support dot product similarity when using the python sdk
- Sort Weaviate results based on number field
- Post-filtering in Weaviate
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Depending on your use case, there are a few answers possible.
The first is the easiest and straightforward one, the last one is the most esoteric.
Create a schema and use a vectorizer for your data
In your case, you would create a schema based on your taxonomy and load the data using an out-of-the-box vectorizer (this configurator helps you to build a Docker-compose file).
I would recommend starting with this anyway, because it will determine your data model and how you can search through and/or classify data. It might even be the case that for your use case this step already solves the problem because the out-of-the-box vectorizers are (bias alert) pretty decent.
Domain-specific concepts
At the moment of writing, Weaviate has two vectorizers, the contextionary and the transformers modules.
If you want to extend Weaviate with custom context, you can extend the contextionary or fine tune and distribute custom transformers.
If you do this, I would highly recommend still taking the first step. Because it will simply improve the results.
Capture semantic context of your graph
I don't think this is what you want, but it possible and quite esoteric. In principle, you can store your vectorized graph in Weaviate, but you need to generate the vectors on your own. For example, at the moment of writing, we are looking at RDF2Vec.
PS:
Because people often ask about the role of ontologies and taxonomies in Weaviate, I've written this blog post.