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
0
votes
0 answers
How can an ontology's class definitions form an infinite loop (how to avoid this)?
I built a Java pipeline that creates rdf triples from song lyrics and I would like to use an ontology to classify different types of songs.
I also wanted to count how many times each term occurs in the song (aside from the built-in cardinality which…

PlasticCasio
- 23
- 4
0
votes
0 answers
How can I create a count attribute for instances that will be different for every instance of another class to which they are related?
I am working in Protege 5.
Class Document is a document (the body).
Class Word is a word (string).
This is my model now:
Object property: containsWord-- domain Document, range Word
Data property: occuranceCount-- domain Word, range integer(built…

PlasticCasio
- 23
- 4
0
votes
1 answer
Is there any way to get the relationship from the unsupervised dataset?
I have some data, the dataset includes features such as device id (int), phone (int), name(string), device id etc. But all data do not have the label. my task is to get the probability of a person using multiple ids or multiple devices. I have no…

h2222
- 1
0
votes
1 answer
Knowledge graph API to collect PASF result
I am trying to collect PASF results similar to what we get from google search through knowledge graph API
Example: https://www.google.com/search?q=donald+trump&kponly&kgmid=/m/0cqt90
and when we click on the PASF result you get this URL…

Ram
- 1
0
votes
0 answers
How to create a RDF file by some triple data?
I means if I have many triple data, like "h1 r1 t1/ h1 r2 t2/ ......", which store in the txt file. How to use the txt file as an input to create a RDF file? I want to use SPARQL to query this triples data.

zqhead
- 21
- 2
0
votes
0 answers
Knowledge SubGraph Embedding and Knowledge SubGraph Neural Network
I am interested in two things:
First, how do I encode a subgraph from a knowledge graph as an input in a neural network, such that this is efficiently done and which type of neural network is efficient for this, if in the end I want to predict a…
0
votes
1 answer
Generation of triples from text for KG
I am trying to process documented text and extract triples data from the text to build a graph. I have used the stanford nlp module for generating triples, it gives good results. I want to generate domain specific triples and process the text data.…

Aravind
- 1
- 3
0
votes
0 answers
How can i check the truth of a sub-verb-obj triple?
what am i trying to do is trying to build a system that takes for entry a subject, verb, object triple and check whether it's true or not.
for example:
{Elizabeth , is , queen} => true
{Obama, won, nobel prize} => false
What i have tried:
i tried to…

Anonyme Player
- 25
- 1
- 7
0
votes
1 answer
In graph, access node connections by edge name
I have a knowledge base graph (built in networkx).
Here is made up example.
G = nx.DiGraph()
G.add_edge('user1', 'New York', relation = 'works at')
G.add_edge('user1', 'Boston', relation = 'from')
G.add_edge('user1', '27', relation = 'Age')…

Vadym B.
- 681
- 7
- 21
0
votes
2 answers
How to model conditional triples in a knowledge graph
I am trying to build a knowledge graph based on textual documents (unstructured data). Therefore my current approach is to extract triples from the data and send these over to a graph database, e.g. neo4j for further analyses. What I notice however…

N Meibergen
- 362
- 2
- 14
0
votes
2 answers
Order by in SPARQL masking results
I have a long query in Sparql and and I want to order results by numeric field "sentiment"
Everything is working fine if I include the field in SELECT and GROUPBY, otherwise is crashing. But I would like to render the query without showing the field…

terseason
- 80
- 9
0
votes
1 answer
Grakn Python client API - How to recieve certain attributes for a thing
I am currently diving into the Grakn phone_calls examples for the Python client and are playing around a bit. What I currently try is to get only certain atrributes of a Grakn thing. The Python API documentation informs me to use…

dmainz
- 985
- 7
- 6
0
votes
0 answers
Confused concerning RDF knowledge graphs
I have a question concerning a presentation topic in information retrieval masters course. The topic of my presentation is about "RDF knowledge graphs". I wanna ask is there a difference between a normal/basic knowledge graph and the RDF graph? and…
0
votes
2 answers
How can I extract out name of a person who has committed a crime from a new article?
I am able to extract person names using Spacy NER model but it includes the lawyer/police/or everyone else who is a human.My problem is to extract the name of the person who is an accused/convicted/or has committed the crime based on news…

Laster
- 388
- 5
- 18
0
votes
1 answer
Is it possible to use "and", "or" "not" as relation/predicate in an ontology? In order to represent causality?
If we use an ontology we can represent many things using semantic triple.
I was wondering how can I represent this:
A and B cause C
or
A or B cause C
?
I don't want to do reasoning, I only want to represent.
Is it possible to use and, or,…

blackzeitoun
- 1
- 1