Knowledge Graphs
Build a unified academic research system that integrates researchers, papers, institutions, and topics in a single database. Graph traversal drives multi-hop queries across co-authorship and citation networks, vector similarity enables semantic paper search via vectorNeighbors() on paper embeddings, full-text search supports keyword queries on abstracts using SEARCH_INDEX(), and time-series tracking monitors citation activity over time.
Architecture Overview
Vertices |
|
Edges |
|
Documents |
|
Papers carry 4-dimensional embedding vectors for semantic search and full-text indexed abstracts for keyword search. Citation activity is tracked as time-series documents.
Key Queries
Co-authorship Network — Discover collaborations between researchers:
MATCH (r:Researcher)-[:CO_AUTHORED]->(p:Paper)<-[:CO_AUTHORED]-(coauthor:Researcher)
WHERE r.name = 'Dr. Smith'
RETURN coauthor.name, collect(p.title) AS papers
Semantic Paper Search — Find papers similar to a research topic by embedding:
SELECT title, year, distance FROM (
SELECT expand(vectorNeighbors('Paper[embedding]', [0.8, 0.3, 0.7, 0.1], 5))
) ORDER BY distance
Full-Text Abstract Search — Keyword search across paper abstracts:
SELECT title, abstract FROM Paper
WHERE SEARCH_INDEX('Paper[abstract]', 'machine learning graph')
Try It Yourself
git clone https://github.com/ArcadeData/arcadedb-usecases.git
cd arcadedb-usecases/knowledge-graphs
docker compose up -d
./setup.sh
./queries/queries.sh
Full source: knowledge-graphs on GitHub