Format of temporal networks files

Temporal networks, Project, Ianus, Tasks

The Ianus format is similar to Pajek format with some improvements.

File types:

  • tes - network data set
  • ten - temporal network description
  • tev - temporal vector
  • tep - temporal partition

Metadata fields:

  • re - begin record
  • er - end record
  • au - author(s)
  • ti - record title
  • de - description
  • ci - reference, citation
  • ur - URL / URI
  • dt - date
  • cr - copyright

ten - temporal network description

%Ianus
*metadata
re
au Roberto Franzosi
ti “Red Years” and “Black Years” (1919-22)
de Roberto Franzosi collected from the journal news in the period (January 1919 -
   December 1922) information about the different types of interacttions between
   political parties and other groups of people in Italy.
   The violence network contains only the data about violent actions and counts
   the number of interactions per month. It was crated for a presentation at the
   ECPR summer school, Ljubljana, July 19-August 4, 2007.
ur http://vlado.fmf.uni-lj.si/pub/networks/doc/ecpr/07/franzosi.htm
dt July 29, 2007
er
re
au Vladimir Batagelj, Roberto Franzosi, Andrej Mrvar
ti transformation to Pajek format
dt July 29, 2007
de The original data were transformed in Pajek format: all types of violent actions
   were considered as a single type - violence; different similar groups of people
   were reduced to 29 classes.
er
re
au Vladimir Batagelj
ti transformation to Ianus format
dt April 16, 2014
   The data in Pajek format were transformed into Ianus format.
er
*network:simple violence
*timescale 1 49
 1 "Jan-19"
 2 "Feb-19"
 3 "Mar-19"
 4 "Apr-19"
...
47 "Nov-22"
48 "Dec-22"
49 "Jan-23"
*nodes 29
1 "undefined"
2 "?"
3 "people"
4 "police"
...
27 "prisoners/arrested"
28 "foreigners"
29 "liberals"
*arcs
1 1 [(16, 17, 1), (19, 20, 1), (20, 21, 3), (21, 22, 18), (26, 28, 11), (28, 29, 3), ...
1 3 [(7, 8, 4), (21, 22, 1), (25, 26, 1), (26, 27, 2), (27, 29, 5), (29, 30, 1), ...
1 4 [(17, 18, 2), (19, 20, 1), (31, 32, 1)]
1 6 [(27, 28, 1), (37, 38, 1)]
1 7 [(25, 28, 1), (28, 29, 5), (29, 30, 3), (30, 31, 5), (31, 32, 2), (32, 33, 1), ...
1 8 [(28, 29, 1), (29, 30, 2), (43, 44, 1)]
...
%Ianus
*metadata
re
au SocioPatterns
ti Hospital ward dynamic contact network
de This dataset contains the temporal network of contacts between patients,
   patients and health-care workers (HCWs) and among HCWs in a hospital ward
   in Lyon, France, from Monday, December 6, 2010 at 1:00 pm to Friday,
   December 10, 2010 at 2:00 pm. The study included 46 HCWs and 29 patients.

   The file contains a tab-separated list representing the active contacts
   during 20-second intervals of the data collection. Each line has the form
   “t i j Si Sj“, where i and j are the anonymous IDs of the persons in
   contact, Si and Sj are their statuses (NUR=paramedical staff, i.e. nurses
   and nurses’ aides; PAT=Patient; MED=Medical doctor; ADM=administrative
   staff), and the interval during which this contact was active is
   [ t - 20s, t ]. If multiple contacts are active in a given interval, you
   will see multiple lines starting with the same value of t. Time is measured
   in seconds.
cr The data are distributed to the public under a Creative Commons
   Attribution-NonCommercial-ShareAlike license. When this data is used in
   published research or for visualization purposes, please cite the
   following paper "Estimating Potential Infection ...". Please also
   acknowledge the SocioPatterns collaboration and provide a link to
   http://www.sociopatterns.org.
ci P. Vanhems et al., Estimating Potential Infection Transmission Routes in
   Hospital Wards Using Wearable Proximity Sensors, PLoS ONE 8(9): e73970 (2013).
ur http://www.sociopatterns.org/datasets/hospital-ward-dynamic-contact-network
dt September 14, 2013
er
re
au Vladimir Batagelj
ti transformation to Ianus format
dt May 12, 2014
   The data from Sociopatterns were transformed into Ianus format.
er
*network:simple hospital
*timescale 120 347640
*nodes 75
 1 "1157"
 2 "1232"
 3 "1191"
...
72 "1547"
73 "1784"
74 "1629"
75 "1671"
*arcs
7 3 [(101600, 101660, 1), (103280, 103360, 1)]
11 68 [(256960, 257060, 1), (257120, 257160, 1), (257180, 257240, 1), (326000, 326020, 1)]
27 46 [(245100, 245220, 1), (247460, 247540, 1), (247560, 247580, 1), (250820, 251300, 1), ...
33 55 [(268440, 268460, 1), (272840, 272860, 1)]
47 35 [(91380, 91400, 1), (154840, 154900, 1), (155060, 155100, 1)]
...

The node activity sets are described with a group of lines starting with a keyword *activity followed by a description of a partition specifying the activity sets.

Examples: sn5cn.zip, violence.zip, hospital.zip, terror.zip

tep - temporal partition

For vectors and partitions the description file starts with

*nodes n

followed by lines of form

i TQi

or

i vi

where i is a node number and TQi is the corresponding temporal quantity or vi is the corresponding value if the value is constant.

The value c in TQ triples in description of a partition tells that the element belongs to class c.

In a description of a partition we can provide also a legend assigning meaning to its classes.

%Ianus
*nodes 75
*legend
1 NUR - paramedical staff, i.e. nurses and nurses’ aides
2 PAT - patient
3 MED - medical doctor
4 ADM - administrative staff
*data
1 3
2 4
3 3
4 3
5 3
6 3
7 1
8 1
....

Examples: hospital.tep in hospital.zip

tev - temporal vector




tq/ianus/form.txt · Last modified: 2016/05/26 08:50 by vlado
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki