Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AI and Deep Learning by (50.2k points)

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 web pages that are within the right context, similarly to how Google found relevant answers to search questions. I saw a lot of publicity around the knowledge graph but not a lot of literature and almost no pseudocode like the guideline of building one. Does anyone know good references on how such knowledge graph works internally, so there will be no need to create models about a knowledge graph?

1 Answer

0 votes
by (107k points)

The knowledge graph consists of integrated collections of data and information that also contains huge numbers of links between different data. The data here can represent concepts, objects, things, people and actually whatever you have in mind. The graph fills in the relationships, the connections between the concepts.

Knowledge graphs also allow you to create structures for the relationships in the graph. With it, it’s possible to set up a framework to study data and its relation to other data.

The first stop on your journey starts with Natural language processing, Ontologies and Text mining. It is a wide field of artificial intelligence, you can take reference from here for a research survey on this field.

You can also take reference from the following link: knowledge-graph

Building models is only the first step, the most difficult part of Google's knowledge graph is to actually scale to billions of requests each day. If you want to keep your data as a graph, as in graph theory (like PageRank), for live querying, I suggest you use Bulbs which is a framework which is "Like an ORM for graphs, but instead of SQL, you use the graph-traversal language Gremlin to query the database". You can switch the backend from Neo4j to OpenRDF (useful if you do ontologies) for instance.

For graph analytics, you can use Spark, GraphX module or GraphLab.

I hope this answer helps.

To know more about knowledge graph by going through this online Artificial Intelligence course.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...