Knowledge graph is an enterprise-wide integrated database based on graph technologies. The term was widely introduced by Gartner's Hype Cycle of Emerging Technologies, 2018. Use the 'google-knowledge-graph' tag, if you mean Google Knowledge Graph solely.
Questions tagged [knowledge-graph]
181 questions
17
votes
2 answers
How to build a knowledge graph?
I prototyped a tiny search engine with PageRank that worked on my computer. I am interested in building a Knowledge Graph on top of it, and it should return only queried webpages that are within the right context, similarly to how Google found…

Pippi
- 2,451
- 8
- 39
- 59
9
votes
0 answers
Joint training of two embedding models (KGE + GloVe)
How do I create a joint model that shares the parameters of a Knowledge Graph Embedding (KGE) model, TuckER (given below), and GloVe (assume a co-occurrence matrix along with the dimensions is already available) in pytorch?
In other words, the joint…

Nickil Maveli
- 29,155
- 8
- 82
- 85
7
votes
2 answers
How do I download and work with wikipedia data dumps?
I want to count entities/categories in wiki dump of a particular language, say English. The official documentation is very tough to find/follow for a beginner. What I have understood till now is that I can download an XML dump (What do I download…

Kartavya Kothari
- 71
- 1
- 4
7
votes
1 answer
How is hits@k calculated and what does it mean in the context of link prediction in knowledge bases
I study papers on link prediction in knowledge networks. Authors usually report "Hits@k". I wonder how to calculate hits@k and what does it mean about the model and the results?

SilentFlame
- 487
- 5
- 15
6
votes
2 answers
Difference between knowledge graphs and ontologies
What is the difference between a knowledge graph and an ontology? And which of them is dependent on the other?
I understand that :
both are represented with nodes and edges, indicating entities and the relationships between these…

User2000
- 119
- 2
- 8
6
votes
1 answer
When to use graph databases, ontologies, and knowledge graphs
I've been struggling to understand when these technologies are useful from a practical standpoint, and how they are different from each other. Could an expert check my understanding?
Graph databases: These are easier to understand and manage than a…

Shade
- 71
- 4
6
votes
3 answers
How to implement Knowledge graph
I'm looking forward to implement something like google direct answers which uses knowledge graph, is there any useful resource can I read ? also Where can I find data for that?

Lisa
- 3,121
- 15
- 53
- 85
4
votes
1 answer
JanusGraph Data Ingestion atscale
We are ingesting data in Janusgraph on Kubernetes(GCP) using python. We are doing multithreading, node chaining, indexing but still we are able to ingest only 100k (Nodes) records in 60 minutes from bigquery.
Kubernetes spec - 1 Pod with 25 vCPUs…

Pallav Raj
- 41
- 1
4
votes
1 answer
How to check if an specific Grakn instance already exists before trying to insert it into the KG?
Let's assume that a Grakn KG contains entities of type 'product' and that they are uniquely identified by the key 'id_prod'. As I understand it, the attempt to insert an instance of product with a repeated id_prod will generate an error.
Assuming…

Jorge
- 167
- 8
3
votes
0 answers
How to extract triples from a sentence, and the triples should be existant in Wikidata
I have a sentence, and I want to use some tools to automatically extract a triple (triples) from the sentence. The triple(s) should be already existant in Wikidata. Is there any tool from Wikidata that can automatically do this, better in a Python…

Daniel Yao
- 31
- 1
3
votes
0 answers
How to change color of edges by Neovis
I am trying to change color of edges of gene_gene relationship by Neovis but nothing happened.
My config codes are belowing, I want to change the edges of gene_gene relationship in Neovis and I am trying to set "color":"#F4606C" but failed. I wanna…

lucas lucas
- 31
- 1
3
votes
0 answers
Load custom knowledge-graph data to pytorch geometric
I am new to PyTorch geometric and want to know how we can load our own knowledge-graph dataset into PyTorch geometric DataLoader. I have my data in the CSV file which looks like for example:
Dataset consists of 1000's of such triples
I went through…

fasal shah
- 156
- 1
- 1
- 8
3
votes
3 answers
Problems loading data with Python API Client for Grakn
I'm using Grakn 1.8.1, python 3.6.8, grakn-client 1.8.1 and grpcio 1.24.1.
I defined a simple schema (schema.gql) just to perform a test:
define
nome sub attribute,
value string;
cpf_srfb sub attribute,
value string;
id_srfb sub…

Jorge
- 167
- 8
3
votes
1 answer
Recursive query in GRAQL?
Is there a way to define a recursive query in GRAQL, i.e. to match a pattern where an exact predicate path between entities is unknown (for example, how many of them)?
SPARQL added support for these in 1.1 version. Example from the Apache Jena…

Alexander Reshytko
- 2,126
- 1
- 20
- 28
3
votes
1 answer
inserting data to a grakn schema
I have created the below grakn schema
define
contract sub relation,
relates manufacturer,
relates product;
drug sub entity,
plays product,
has product_name,
has code;
company sub entity,
plays…

ABHISHEK CHAUDHURI
- 63
- 1
- 5