Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Latest commit

 

History

History

OverlappingGraphs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Calculating overlap between the graphs

The Python script query the relationships of a graph and, the R script creates calculate the overlap of relationships between the sections or use cases.

For querying with the Python script, you first need to open your Neo4j database of interest.

For the OpenAccess database you need to open a graph with the Metadata and OpenAccess database together.

python3 OverlapOpenAccess.py <OutputFile> <MinCoocurrences>

Argument    <OutputFile>: Location of the Output file.
Argument    <MinCoocurrences>: Mininum number of co-occurrences between the nodes.

For the Metadata database you need to open the Metadata database in Neo4j for each use case you want to use. And to compare the results you need to run the script with the graph having all the use cases.

python3 OverlapMetadata.py <OutputFile> <MinCoocurrences>

Argument    <OutputFile>: Location of the Output file.
Argument    <MinCoocurrences>: Mininum number of co-occurrences between the nodes.

After you have the files, you can open and run the R script.