'How to create a knowledge graph with the data from the azure cognitive search index using python like graphs generated in JFK files demo

I have indexed the set of unstructured documents(.docx) in azure cognitive search.

Now I need to create the knowledge graph to define the dependencies between the documents that are indexed using python.

I referred JFK files where I can see the graph generated by dependencies between the terms in JFK documents. I attached the image here.

JFK Graph

I want to create the same as it is with the help of python.

I don't know how to extract the data from azure index and creating the graph from the extracted data.

Please help me. Thank you in advance



Solution 1:[1]

You can get the enriched content from the Cognitive search AI pipeline in to knowledge store (Azure storage account) while indexing in to Azure search.

You can choose to store the content through the content enrichment pipeline. However the resultant content may not be already in the shape to create the graph.

I would also like to create graph from this content. Let me know if you have found out any easy ways.

Solution 2:[2]

I would look at the section Explore relationships between identified entities In the below link. https://azure-scenarios-experience.azurewebsites.net/search-ai.html#explore-relationships-between-identified-entities

It also mentions of using d3js to handle the graphical display of relationships Hope that helps

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Luiz Carvalho
Solution 2