[Paper Review] Using Word Embeddings for Visual Data Exploration with Ontodia and Wikidata
This paper proposes enhancing Ontodia’s natural language search for Linked Data by integrating word embeddings to recommend semantically related entity properties, improving discoverability for non-technical users. Using Wikidata, it evaluates fastText, LexVec, and GloVe embeddings, finding that fastText with full vocabulary and 300D vectors achieves the highest accuracy (MRR 0.78) in ranking relevant properties, significantly boosting user experience in visual data exploration.
One of the big challenges in Linked Data consumption is to create visual and natural language interfaces to the data usable for non-technical users. Ontodia provides support for diagrammatic data exploration, showcased in this publication in combination with the Wikidata dataset. We present improvements to the natural language interface regarding exploring and querying Linked Data entities. The method uses models of distributional semantics to find and rank entity properties related to user input in Ontodia. Various word embedding types and model settings are evaluated, and the results show that user experience in visual data exploration benefits from the proposed approach.
Motivation & Objective
- Improve natural language search in Ontodia for non-technical users exploring Linked Data by enabling semantic matching beyond exact label matches.
- Evaluate the effectiveness of various pre-trained word embedding models (fastText, LexVec, GloVe) and their hyperparameters for recommending semantically related entity properties in Wikidata.
- Demonstrate that distributional semantics via word embeddings can enhance visual data exploration by reducing reliance on exact lexical matches and improving user experience.
- Investigate the impact of model size, vector dimensionality, and inclusion of property descriptions on retrieval performance.
Proposed method
- Represent each Wikidata property as a vector by summing the word embeddings of its label (and optionally description), after tokenization and stopword removal.
- Transform user queries into vector representations using the same method: tokenize, remove stopwords, and sum word vectors.
- Rank all entity properties by cosine similarity between the query vector and each property vector to identify semantically related connections.
- Extend the search interface to return exact matches, alias matches, and embedding-based semantic matches, ordered by similarity score.
- Train and evaluate multiple word embedding models (fastText, LexVec, GloVe) on Wikipedia and additional corpora, using a gold-standard dataset of property aliases.
- Use the MRR (Mean Reciprocal Rank) and top-k accuracy to quantitatively evaluate model performance on both full Wikidata and entity-specific property sets.
Experimental results
Research questions
- RQ1Can word embeddings effectively recommend semantically related entity properties in Wikidata for natural language queries, beyond exact label matching?
- RQ2Which pre-trained word embedding model (fastText, LexVec, GloVe) performs best for this task in terms of accuracy and robustness?
- RQ3How do model hyperparameters—such as vocabulary size and vector dimensionality—affect the performance of property recommendation?
- RQ4Does including property descriptions in the vector representation improve the accuracy of semantic matching?
- RQ5Can the proposed method significantly enhance user experience in interactive visual data exploration with Ontodia?
Key findings
- FastText outperforms LexVec and GloVe in all evaluation settings, achieving the highest MRR of 0.78 on the entity-specific property search task.
- Using 300-dimensional vectors with a 300,000-word vocabulary yields the best performance, while reducing vocabulary size to 10,000 words causes a sharp drop in accuracy.
- Including property descriptions in the vector representation improves performance, indicating richer semantic representation.
- The method achieves 68.63% top-1 accuracy and 84.75% top-3 accuracy when recommending properties for entity-specific aliases, demonstrating strong relevance.
- Query response time is under 10ms in interactive scenarios, making the system suitable for real-time user interaction.
- Dataset quality issues in Wikidata—such as non-synonymous aliases (e.g., 'divorced' for 'end time')—contribute to misclassification and highlight opportunities for data curation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.