Questions tagged [knowledge-graph]

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.

181 questions
1
vote
2 answers

How to write cypher query to count number of nodes in graph based on levenshtein similarity

Hello everyone I need to write a cypher query for a below scenario. Given a list of strings, count the number nodes in graph where levenshtein similarity between node name property and strings from the list is more than certain thershold. I was able…
Atinesh
  • 1,790
  • 9
  • 36
  • 57
1
vote
0 answers

pyviz to visualize multiple separate graphs into one and filter by graph

I am generating a graph to visualize the association's rules and using pyviz to get an interactive visualization. Currently, I saved data in one graph but I would like to save different data into separate graphs and represent it all in one network…
rooya sh
  • 37
  • 7
1
vote
1 answer

Get value of property linked to another property in SPARQL querying DBpedia

I am trying to complete the following case in SPARQL. I want to return the labels of the deathPlace for the Greek writer "Nikos Kazantzakis" The workspace to copy-paste the queries below. I am running the following query: PREFIX dp:…
NikSp
  • 1,262
  • 2
  • 19
  • 42
1
vote
0 answers

How to build a RDF knowledge graph by triples

I have a set of triples and can also draw a "graph" by them using some codes, but how to convert it into a RDF version like real knowledge graphs like fb15k or so.
WalterW
  • 19
  • 1
1
vote
1 answer

Is there a better approach to import a spreadsheet with multiple columns that may not have data for every row into Neo4j? Data set image included

Objectives - To add each values in the columns as a node. Each column represents a label type. The colored column is a property of Field column. The query I used to ingest this into Neo4j Aura is: LOAD CSV WITH HEADERS FROM…
g.tomas
  • 27
  • 5
1
vote
1 answer

Neo4j data modeling: correct way to specify a source for a statement?

I'm working on a scientific database that contains model statements such as: "A possible cause of Fibromyalgia is Microglial hyperactivity, as supported by these 10 studies: [...] and contradicted by 1 study [...]." I need to specify a source for…
Xiiryo
  • 3,021
  • 5
  • 31
  • 48
1
vote
0 answers

Is there a list of all embedding techniques used in all applications of Machine learning?

I started to learn embedding techniques used in machine learning and allied fields. There are word embeddings, graph embeddings, and network embeddings. I was overwhelmed by the various embedding techniques as I googled. Is there a good repository…
1
vote
0 answers

DBpedia dbo:height property and its value

Hello I just can't anywhere find what height (μ) means in DBpedia. For example LeBron James has dbo:weight 113400.000000 (xsd:double) and when I click on dbo:weight it is labeled as weight (g). So weight is in grams. But for height: dbo:height …
Riomare
  • 65
  • 1
  • 10
1
vote
1 answer

Filter for triples in default graph (outside all named graphs) with SPARQL

In the below query I extract all entities with class :Entity, regardless of whether they live inside a specific context (named graph) or not. SELECT ?s WHERE { ?s a :Entity . } I would like to filter among these entities, to keep only those…
gaspanic
  • 249
  • 1
  • 12
1
vote
1 answer

Neo4j Path sampling

I have CALL apoc.algo.allSimplePaths(A, B, '', 3) result that look like this: [A –>relation1 –>B] [A –>relation2 –>B] [A –>relation2->C->relation 1–>B] [A –>relation5->D->relation 3–>B] [A –>relation2->Y->relation 1–>B] [A –>relation2->E->relation…
1
vote
1 answer

Neo4j, How to use match function in python when the targeted matching 'property' is a list?

I create a node in Neo4j, the node name is robot, the robots has a property, which is called 'capabilities'. For the capabilities, there is a list of all the capabilities for the robot. For example, the robot in the picture below has a capability…
James
  • 165
  • 5
1
vote
0 answers

Find the indices of elements of a 2D Torch Tensor that appear in a (smaller) 2D Torch Tensor

I have two 2D Torch Tensors of high dimensions, but of different size. One is a (23462505, 3) tensor and the other one is a (30856, 3) tensor. Let us call them A and B respectively. My goal is to find the indices of rows appearing in A that also…
elkmyr
  • 11
  • 2
1
vote
1 answer

How do I create a Neo4J multi-graph using gds.version() 1.7.2?

I want to project a subgraph that contains multiple nodes and relationship types. In gds 2.0 there is this (https://neo4j.com/docs/graph-data-science/current/graph-project/): CALL gds.graph.project( 'personsAndBooks', ['Person', 'Book'], …
ChemBot
  • 77
  • 1
  • 12
1
vote
1 answer

RandomLinkSplit not working with HeteroData

I am having some serious trouble with torch-geometric when dealing with my own data. I am trying to build a graph that has 4 different node entities (of which only 1 bears some node features, the others are simple nodes), and 5 different edge type…
1
vote
1 answer

Unable to see Max in SPARQL Query

Im trying to query a knowledge graph and im trying print the max occurrence of ?n in the result and i have tried running following query but it just doesn't prints anything here is my SPARQL Query PREFIX :…
zaid saeed
  • 125
  • 9