A knowledge graph also referred to as a semantic network represents real-world networks of objects, situations, events, or concepts, and shows their relationships in relation to each other. Graph databases store this information and display it as graph structures, thus establishing the term "knowledge graph." The use of knowledge graphs has shown promise for several cybersecurity tasks, such as vulnerability assessment and threat analysis. This repository contains the source code of the cyberKG. This is an autonomously vulnerability knowledge graph based on the Labelled Property Graphs (LPGs). It was constructed using heterogeneous data sources.
The datasets are available in the "Input/" directory.
Python >= 3.6
Neo4j Desktop (Community Edition, version 1.5.7).
cwe2 library.
Cpe parser.
AllenNLP.
entity-fishing.
spaCy library.
You can run the code using The_code.ipynb.
You can see cyberKG Model.