it really looks like something called knowledge graph extraction, i remembered that I’ve seen something similar there, LSTM and convnet maybe transformers perform well there:

  
      
      Medium – 25 Oct 19
  
  
    

Knowledge extraction from unstructured texts 6

There is an unreasonable amount of information that can be extracted from what people publicly say on the internet. Learn how to do it.

  Reading time: 11 min read
    

  
  
    
    
  
  


you should really search about this
another links:
https://towardsdatascience.com/auto-generated-knowledge-graphs-92ca99a81121 1

  
      
      Programmer Backpack – 1 Feb 20
  
  
    

Python NLP Tutorial: Building A Knowledge Graph using Python and SpaCy 6

NLP tutorial for Information Extraction and building a Knowledge Graph in Python and spaCy.


  
  
    
    
  
  



  
      Mining Knowledge Graphs from Text
  
  
    

Mining Knowledge Graphs from Text 4

A Tutorial