DataFormats.DynetML History

Hide minor edits - Show changes to output

Changed line 141 from:
Unfortunately, there are very few additional libraries for parsing DynetML.  Those using Python may wish to look at [[https://conway.isri.cmu.edu/projects/pydynet/ | PyDynet]] <-- THIS LINK POINTS TO A PROTECTED SERVER AND DOESN'T WORK.. for a parsing and creation package.
to:
Unfortunately, there are very few additional libraries for parsing DynetML.  Those using Python may wish to look at [[https://conway.isri.cmu.edu/projects/pydynet/ | PyDynet]]  for a parsing and creation package.
Changed lines 129-130 from:
to:
*doesn't have an "edgeset" like its "nodeset" to allow reuseing edges in multiple graphs
June 15, 2007, at 10:22 PM by skyebend - added link to relaxing format
Added lines 10-11:
!!![[http://casos.isri.cmu.edu/dynetml/dynetml.relax.xml| RelaxNG xml format]]
Added line 18:
*edge attributes
Changed lines 35-36 from:
tho this copyright does not appear to be aggressively enforces
to:
tho this copyright does not appear to be aggressively enforced
Changed lines 121-122 from:
to:
tho it is not shown in the example, attributes for eges work the same as for nodes.
Changed lines 125-126 from:
*Edges do not have ids or attributes
to:
*difficult to specify attribute changes in time
*documentation and examples do not show edge attribuetes

June 11, 2007, at 11:28 PM by skyebend - removed comment about edge attributes
Deleted line 17:
*edge attributes
June 11, 2007, at 11:23 PM by 68.127.163.109 -
Changed lines 35-36 from:
So much for it becoming a standard!
to:
tho this copyright does not appear to be aggressively enforces
Changed lines 124-125 from:
to:
*Edges do not have ids or attributes
June 11, 2007, at 04:29 AM by 68.127.163.109 -
Changed lines 10-11 from:
!!! Very nice paper comparing formats, explaining DyNetML and giving more examples: http://www.css.gmu.edu/maksim/page4/files/dynetml_05.pdf
to:
!!! Very nice paper
comparing formats, explaining DyNetML and giving more examples: http://www.css.gmu.edu/maksim/page4/files/dynetml_05.pdf
June 11, 2007, at 04:28 AM by 68.127.163.109 -
Added lines 10-11:
!!! Very nice paper comparing formats, explaining DyNetML and giving more examples: http://www.css.gmu.edu/maksim/page4/files/dynetml_05.pdf
June 02, 2007, at 03:35 PM by 64.91.119.61 - added info on copyright
Changed lines 28-29 from:
is it free to use?  are there any restrictions?
to:
COPYRIGHT (c) 2001-2006 Kathleen M. Carley - Center for Computational Analysis of Social and Organizational Systems (CASOS), Institute for Software Research International (ISRI), School of Computer Science, Carnegie Mellon University, 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - ALL RIGHTS RESERVED.

" Permission to use, copy and modify this version of the software or any parts of it and its documentation is hereby granted for RESEARCH ONLY purposes and provided that the above copyright notice and this permission notice appear intact in all copies of the software, that you do not sell the software, nor include the software in a commercial package"

So much for it becoming a standard!

Changed lines 25-26 from:
[[http://www.casos.cs.cmu.edu/ | CASOS]] at [[http://www.cmu.edu/ | Carnegie Mellon University]]
to:
[[http://www.casos.cs.cmu.edu | CASOS]] at [[http://www.cmu.edu/ | Carnegie Mellon University]]
Changed lines 25-26 from:
[[http://casos.cs.cmu.edu/ | CASOS]] at [[http://www.cmu.edu/ | Carnegie Mellon University]]
to:
[[http://www.casos.cs.cmu.edu/ | CASOS]] at [[http://www.cmu.edu/ | Carnegie Mellon University]]
Added line 24:
(contact info for somebody to ask questions, suggest improvements)
Changed lines 28-29 from:
?
to:
is it free to use?  are there any restrictions?
Changed line 127 from:
Unfortunately, there are very few additional libraries for parsing DynetML.  Those using Python may wish to look at [[https://conway.isri.cmu.edu/projects/pydynet/ | PyDynet]] for a parsing and creation package.
to:
Unfortunately, there are very few additional libraries for parsing DynetML.  Those using Python may wish to look at [[https://conway.isri.cmu.edu/projects/pydynet/ | PyDynet]] <-- THIS LINK POINTS TO A PROTECTED SERVER AND DOESN'T WORK.. for a parsing and creation package.
August 16, 2006, at 03:01 PM by Patrick Wagstrom - Fleshed out with more information
Changed lines 1-4 from:
Well, It uses xml...  Lets ask Maksim Tsvetovat to describe it.
How is it differnt from
[[GraphML]]?

to:
DynetML is an XML based syntax for representing complex social network graphs through the use of a [[http://www.casos.cs.cmu.edu/projects/MetaMatrix/index.html | MetaMatrix]].  This allows one to capture all of the relations between agents, tasks, resources, knowledge, etc.  Of course, while it supports all of these, it works just fine for simple social networks with only one relation.

Changed lines 20-22 from:
  !!Authors:
Developed by the CASOS group at CMU: Maksim Tsvetovat, Jeff Reminga, Kathleen M. Carley
to:
!!Authors:
Developed by the [[http://www.casos.cs.cmu.edu/" | CASOS]] [[http://www.cmu.edu/ | Carnegie Mellon University]]: Maksim Tsvetovat, Jeff Reminga, Kathleen M. Carley
Added lines 24-26:
[[http://casos.cs.cmu.edu/ | CASOS]] at [[http://www.cmu.edu/ | Carnegie Mellon University]]

!!License
Deleted lines 28-30:
!!License
?

Added lines 117-127:
!! Differences from GraphML
* DynetML allows easy representation of multiple graphs with repeating node sets.  This saves the need to redefine node sets for each network.
* DynetML is designed to represent a multitude of relations in a network.  For example, it can represent not only the relations between actors, but also between actors and items, thoughts, etc.  This is through the use of a [[http://www.casos.cs.cmu.edu/projects/MetaMatrix/index.html | MetaMatrix]] approach to social network analysis.
* Longitudinal data is easily represented by including multiple graphs in a single file.  This allows distribution of a complete data set using a single file.

!! Tools Supporting DynetML
All of the tools created by [[http://www.casos.cs.cmu.edu/ | CASOS]] support DynetML.  Particular tools of interest are:
* [[http://www.casos.cs.cmu.edu/projects/ora/ | ORA]] - the Oganizational Risk Analyzer - a full network analysis and visualization package
* [[http://www.casos.cs.cmu.edu/projects/automap/ | AutoMap]] - a text analysis and linking package.

Unfortunately, there are very few additional libraries for parsing DynetML.  Those using Python may wish to look at [[https://conway.isri.cmu.edu/projects/pydynet/ | PyDynet]] for a parsing and creation package.
Changed line 21 from:
!!Authors:
to:
  !!Authors:
Changed lines 41-73 from:
-
<!--
Define the metamatrix... watch comments in the XML
for explanation of particular features of the format
-->
-
<MetaMatrix
timePeriod="1">
<!-- A global measure on the entire metamatrix -->
-
<measures>
-
<measure name="global" type="double" value
="3.14">
<input id
="knowledgeNetwork"/>
<input id
="friendship"/>
</measure>
</measures>
<!-- First, we specify the nodes -->
-
<nodes>
-
<!--
 Nodes are broken up into nodesets by type (e.g. agent,
 knowledge, resource, task, etc)

-->
-
<nodeset id="foo" type="agent">
<!-- This is
the simple node with no extended data -->
<node id="b"/>
-
<!--
 This is a more complex node with properties and attached measures

-->
-
to:
  <!-- Define the metamatrix... watch comments in the XML
for explanation of particular features of the format -->
   <MetaMatrix timePeriod="1">
   <!-- A global measure on the entire metamatrix -->
     <measures>
      <measure name="global" type="double" value="3.14">
         <input id="knowledgeNetwork"/>
        <input id="friendship"/>
      </measure>
 
   </measures>
    <!
-- First, we specify the nodes -->
    <nodes>
    <!-- Nodes are broken up into nodesets by type (e.g. agent,
        knowledge, resource, task, etc)
-->
     <nodeset id="foo" type="agent">
      <!
-- This is the simple node with no extended data -->
        <node id="b"/>
        <!--This is a more complex node with properties and
            attached measures -->
Changed lines 61-130 from:
-
<!--
 This is how to specify internal node properties
(see %admissibleProperties entity in DTD)
-->
-
<
properties>
<property name="foo" type="double" value="3.14"/>
<property name="bar" type="double" value="3.14"/>
</properties>
<!-- This is how to specify node-level measures
-->
-
<measures>
-
<!--
 Each measure is named and accompanied by type

(double|string|binary)
-->
<measure name="centrality" type="double" value="3.14"/>
<measure name="betweenness" type="double" value
="3.14"/>
</measures>
</node>
</nodeset>
<!-- Another nodeset -->
-
<nodeset id="bar" type="knowledge">
<node id="a1"/>
<node id="a2" title="boss"/>
</nodeset>
</nodes>
-
<!--
 Now we specify the graphs that comprise the metamatrix
-->
-
<networks>
-
<!--

    NOTE: source and target of each edge should be a valid node;
 however it's up to the
    software developer to ensure that - or to check consistency

in any code that imports this data
-->
<!-- A very simple graph
-->
-
<graph id="friendship" sourceType="agent" targetType="agent">
<edge source="a" target="b" type="binary"/>
<edge source="b" target="a" type
="binary"/>
</graph>
<!-- A graph with some graph-level measures -->
-
<graph id="advice" sourceType="agent" targetType
="agent">
-
<measures>
<!-- Just like node-level measures; nothing new here -->
<measure name="centralization" type="double" value="3.14159"/>
<measure name="foo" type="double" value="3.14159"/>
<measure name="bar" type="double" value="3.14159"
/>
</measures>
<edge source="a" target="b" type="binary"
/>
</graph>
-
<graph id="knowledgeNetwork" isDirected="true"
         sourceType="agent" targetType="knowledge">
<edge source="a" target="1" type="string" value
="foobar"/>
<edge source="b" target="2" type="double" value="3.14159"/>
</graph>
</networks>
</MetaMatrix>
to:
        <!-- This is how to specify internal node properties
          (see %admissibleProperties entity in DTD)
-->
          <properties>
            <property name="foo" type="double" value="3.14"/>
           <property name="bar" type="double" value="3.14"/>
         </properties>
         <!-- This is how to specify node-level measures -->
         <measures>
          <!-- Each measure is named and accompanied by type

              (double|string|binary) -->
            <measure name="centrality" type="double" value="3.14"/>
           <measure name="betweenness" type="double" value="3.14"/>
         </measures>
        <
/node>
      </nodeset>
     <!-- Another nodeset -->
      <nodeset id="bar" type="knowledge">
        <node id
="a1"/>
        <node id="a2" title="boss"/>
     </nodeset>
   </nodes>
   <!-- Now we specify the graphs that comprise the metamatrix -->
    <networks>
    <!-- NOTE: source and target of each edge should be a valid node;
      however it's up to the software developer to ensure that
      - or to check consistency in any code that imports
      this data -->
    <!-- A very simple graph -->
      <graph id="friendship" sourceType="agent" targetType="agent">
        <edge source="a" target="b" type="binary"/>
        <edge source="b" target="a" type="binary"/>
      </graph>
      <!-- A graph with some graph-level measures -->
      <graph id="advice" sourceType="agent" targetType="agent">
        <measures>
        <!-- Just like node-level measures; nothing new here -->
          <measure name="centralization" type="double"   
          value="3.14159"/>
          <measure name="foo" type="double" value="3.14159"/>
          <measure name="bar" type="double" value="3.14159"/>
        </measures>
        <edge source="a" target="b" type="binary"/>
      </graph>
      <graph id="knowledgeNetwork" isDirected="true"
        sourceType="agent" targetType="knowledge">
        <edge source="a" target="1" type="string" value="foobar"/>
        <edge source="b" target="2" type="double" value="3.14159"/>
      </graph>
    </networks>
 
</MetaMatrix>
Changed lines 2-3 from:

to:
How is it differnt from [[GraphML]]?

August 15, 2006, at 07:32 PM by 24.5.70.220 - added info from casos page
Changed lines 21-24 from:
Developed by the CASOS group at CMU:
Maksim Tsvetovat, Jeff Reminga, Kathleen M. Carley

!!License
to:
Developed by the CASOS group at CMU: Maksim Tsvetovat, Jeff Reminga, Kathleen M. Carley

!!Maintainer:
Added lines 26-28:
!!License
?

Changed lines 34-35 from:
* small [http://casos.isri.cmu.edu/dynetml/DyNetSample.xml | DyNetSample.xml]
* big [http://casos.isri.cmu.edu/dynetml/DyNetSample2.xml | DyNetSample2.xml]
to:
* small [[http://casos.isri.cmu.edu/dynetml/DyNetSample.xml | DyNetSample.xml]]
* big [[http://casos.isri.cmu.edu/dynetml/DyNetSample2.xml | DyNetSample2.xml]]
Changed lines 3-148 from:
http://www.casos.cs.cmu.edu/projects/dynetml/
to:

!!Main Page:
http://casos.isri.cmu.edu/dynetml/index.html

!!Specification:
!!![[http://casos.isri.cmu.edu/dynetml/DyNetML.dtd | XML DTD file]]

!!Features:
*Typed nodes
*Node attributes
*Node Sets
*typed edges
*edge attributes
*multiple graphs
*dynamic graphs (as multiple graphs)
*measures?

!!Authors:
Developed by the CASOS group at CMU:
 Maksim Tsvetovat, Jeff Reminga, Kathleen M. Carley

!!License
?

!!Converters
[[from DyNetML]]
[[to DyNetML]]

!!Example Files:
* small [http://casos.isri.cmu.edu/dynetml/DyNetSample.xml | DyNetSample.xml]
* big [http://casos.isri.cmu.edu/dynetml/DyNetSample2.xml | DyNetSample2.xml]
!!Short example:
----
[@
<DynamicNetwork>
-
<!--
 Define the metamatrix... watch comments in the XML
for explanation of particular features of the format
-->
-
<MetaMatrix timePeriod="1">
<!-- A global measure on the entire metamatrix -->
-
<measures>
-
<measure name="global" type="double" value="3.14">
<input id="knowledgeNetwork"/>
<input id="friendship"/>
</measure>
</measures>
<!-- First, we specify the nodes -->
-
<nodes>
-
<!--
 Nodes are broken up into nodesets by type (e.g. agent,
 knowledge, resource, task, etc)
-->
-
<nodeset id="foo" type="agent">
<!-- This is the simple node with no extended data -->
<node id="b"/>
-
<!--
 This is a more complex node with properties and attached measures
-->
-
<node id="a">
-
<!--
 This is how to specify internal node properties
(see %admissibleProperties entity in DTD)
-->
-
<properties>
<property name="foo" type="double" value="3.14"/>
<property name="bar" type="double" value="3.14"/>
</properties>
<!-- This is how to specify node-level measures -->
-
<measures>
-
<!--
 Each measure is named and accompanied by type
(double|string|binary)
-->
<measure name="centrality" type="double" value="3.14"/>
<measure name="betweenness" type="double" value="3.14"/>
</measures>
</node>
</nodeset>
<!-- Another nodeset -->
-
<nodeset id="bar" type="knowledge">
<node id="a1"/>
<node id="a2" title="boss"/>
</nodeset>
</nodes>
-
<!--
 Now we specify the graphs that comprise the metamatrix
-->
-
<networks>
-
<!--

    NOTE: source and target of each edge should be a valid node;
 however it's up to the
    software developer to ensure that - or to check consistency
in any code that imports this data
-->
<!-- A very simple graph -->
-
<graph id="friendship" sourceType="agent" targetType="agent">
<edge source="a" target="b" type="binary"/>
<edge source="b" target="a" type="binary"/>
</graph>
<!-- A graph with some graph-level measures -->
-
<graph id="advice" sourceType="agent" targetType="agent">
-
<measures>
<!-- Just like node-level measures; nothing new here -->
<measure name="centralization" type="double" value="3.14159"/>
<measure name="foo" type="double" value="3.14159"/>
<measure name="bar" type="double" value="3.14159"/>
</measures>
<edge source="a" target="b" type="binary"/>
</graph>
-
<graph id="knowledgeNetwork" isDirected="true"
          sourceType="agent" targetType="knowledge">
<edge source="a" target="1" type="string" value="foobar"/>
<edge source="b" target="2" type="double" value="3.14159"/>
</graph>
</networks>
</MetaMatrix>
</DynamicNetwork>
@]
----

!!Cons
*Dynamics only supports discrete waves?

Added lines 1-3:
Well, It uses xml...  Lets ask Maksim Tsvetovat to describe it.

http://www.casos.cs.cmu.edu/projects/dynetml/