Skip to content

ksemer/HistoricalTraversalNeo4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HistoricalTraversalNeo4j

Supporting Historical Traversals on graph database (Neo4j)

Getting Started

The primary configuration file is /config/settings.properties

Database csv files can be generated by CreateCSVFile.java files:

  https://github.com/ksemer/HistoricalTraversalNeo4j/tree/master/src/singleTypePointsEdge
  https://github.com/ksemer/HistoricalTraversalNeo4j/tree/master/src/multiTypeEdge
  https://github.com/ksemer/HistoricalTraversalNeo4j/tree/master/src/singleTypePointsEdge
  
  each one creates a csv file for a different represantation (as it is analysed in our paper)

Input file format of CreateCSVFile.java:

  - For example:
          src_id \t trg_id \t first_time_interval second_time_interval
          0 1 0,10 20,30
          1 2 2,14 16,18
  File example: https://github.com/ksemer/HistoricalTraversalNeo4j/blob/master/CSVFileInputExample.txt 

Query File Format

A file with each line representing an edge between two nodes in a specific time interval.

  • For example: queryType, src_id, trg_id, time interval queryType: 1 --> conjunctive 2 --> disjunctive 3 --> at least

An input file example is in queries/dblp_query_example.txt and denotes a set of conjuctive queries.

Licensing

HistoricalTraversalNeo4j is an open source product licensed under GPLv3.