InternetHealthReport / internet-yellow-pages

A knowledge graph for the Internet
https://iyp.iijlab.net
GNU General Public License v3.0
43 stars 18 forks source link

Add batch_add_properties function and update ip2prefix postprocess #85

Closed m-appel closed 11 months ago

m-appel commented 11 months ago

Add a function to add properties to nodes in batches. This function works only with IDs as I tested it with a node type and there is no difference in execution time.

The ip2prefix postprocess script now also adds a network and prefixlen property to each Prefix node, which just contain the network and prefixlength part separately. This enables easier queries when looking for most-specific prefixes for example.

Closes #74