History of wikipedia-en-talk
The changes to the source code of this entry in the repository, newest first, each with the differences it made to the entry's files. They are also listed on GitLab.
[entries] Add the date when each entry was added, and remove icon_hash beff7c9
The dates are those of the commits that first added the entries' files (2020-08-11 for the entries of the initial commit); renamed entries keep the date of their first name. Changed: none
diff --git a/entries/wikipedia-en-talk/__init__.py b/entries/wikipedia-en-talk/__init__.py
index c03db00..ca986dd 100644
--- a/entries/wikipedia-en-talk/__init__.py
+++ b/entries/wikipedia-en-talk/__init__.py
@@ -23,7 +23,7 @@ description = r"""Communication network of the English Wikipedia, from the compl
tags = ['Social', 'Communication', 'Unweighted']
url = 'http://snap.stanford.edu/data/wiki-Talk.html'
citation = [('J. Leskovec, D. Huttenlocher, and J. Kleinberg, "Signed networks in social media." Proc. Conf. on Human Factors in Computing Sys. (CHI), 1361-1370 (2010).', 'https://doi.org/10.1145/1753326.1753532')]
-icon_hash = '56a85c8e26855e083a2f78b7'
+date_added = '2020-08-11'
upstream_prefix = 'https://snap.stanford.edu/data'
files = [('wiki-Talk.txt.gz', None, 'snap')]
[entries] Remove unneeded code from the entries 2c69f19
Unneeded "global files" statements, unused imports and variables, f-strings without placeholders, duplicate keys in foodweb_little_rock (keeping the order and the values used), and the second definition of get_lines() in twitter_higgs. Nothing changes in the networks or descriptions. Changed: none
diff --git a/entries/wikipedia-en-talk/__init__.py b/entries/wikipedia-en-talk/__init__.py
index 7fc8bb8..c03db00 100644
--- a/entries/wikipedia-en-talk/__init__.py
+++ b/entries/wikipedia-en-talk/__init__.py
@@ -35,7 +35,6 @@ def fetch_upstream(force=False):
@coerce_props()
@annotate()
def parse(alts=None):
- global files
name = __name__.split(".")[-1]
for fnames, alt, fmt in files:
if alts is not None and alt not in alts:
[entries] Merge duplicate entries and add cross-references between related ones 9bc6033
- Removed duplicates, merged into the entries holding the same data: dblp_coauthor_snap (soc_net_comms), cattle and bison (dom; bison's breeding data move there, as do the wolves' age and sex), football_tsevans (football, with both conference assignments), eu_procurements_alt (eu_procurements), foursquare_friendships (foursquare_global). - software_dependencies: colt and scolt are one network; ambassador: the duplicate 2001 network is dropped and the three same-edge networks combined; dom: the dataset count corrected (436). - macaque_neural: Young's 71-area network added (young71; the 47-area one is now cocomac47), both from archived copies. - collins_yeast, celegans_interactomes: from archived copies of the dead CCSB site (byte-identical files). - Cross-references between entries holding versions of the same data (food webs, Wikipedia, Slashdot, physicians, SNAP/Mislove, CCSB). - ICON ids of duplicate records added; macaque_neural's corrected. - prosper, dbpedia_all: string properties given in edge-index order (needs graph-tool with the fixed vals ordering).
diff --git a/entries/wikipedia-en-talk/__init__.py b/entries/wikipedia-en-talk/__init__.py
index dc30272..7fc8bb8 100644
--- a/entries/wikipedia-en-talk/__init__.py
+++ b/entries/wikipedia-en-talk/__init__.py
@@ -19,7 +19,7 @@
from .. import *
title = "en-Wikipedia talk network (2008)"
-description = r"""Communication network of the English Wikipedia, from the complete edit history of Wikipedia from its beginning until January 2008, distributed by the Stanford Network Analysis Project (SNAP). Nodes are Wikipedia users, and a directed edge $i \to j$ indicates that user $i$ edited the user talk page of user $j$ at least once. User talk pages are used by users to communicate with each other, e.g. by leaving messages. The network has 2,394,385 nodes and 5,021,410 edges, and no node or edge properties."""
+description = r"""Communication network of the English Wikipedia, from the complete edit history of Wikipedia from its beginning until January 2008, distributed by the Stanford Network Analysis Project (SNAP). Nodes are Wikipedia users, and a directed edge $i \to j$ indicates that user $i$ edited the user talk page of user $j$ at least once. User talk pages are used by users to communicate with each other, e.g. by leaving messages. The network has 2,394,385 nodes and 5,021,410 edges, and no node or edge properties. A timestamped extraction of the same edit history, in which each edit is a separate edge, is the entry `wiki_talk_temporal`, and a later extraction from the dumps of 2015, in which each message is a separate edge, is the network `en` of the entry `wiki_talk`."""
tags = ['Social', 'Communication', 'Unweighted']
url = 'http://snap.stanford.edu/data/wiki-Talk.html'
citation = [('J. Leskovec, D. Huttenlocher, and J. Kleinberg, "Signed networks in social media." Proc. Conf. on Human Factors in Computing Sys. (CHI), 1361-1370 (2010).', 'https://doi.org/10.1145/1753326.1753532')]
[entries] Fix parse bugs and improve the metadata of existing entries c996a0e
From a review of the dataset descriptions against the upstream sources and papers, and from user reports: - parse fixes (wrong edge direction or directedness, shifted or misnamed properties, merged node identities, duplicated or missing edges and nodes, wrong types), e.g. arxiv_citation (the HepTh dates were a copy of the HepPh ones; now from the KDD Cup 2003 data), eu_procurements, foursquare_global, hiv_transmission, genetic_multiplex, gnutella (adds the 05 snapshot), roadnet, macaque_neural, python_dependency - descriptions rewritten from the upstream sources, documenting every property - corrected titles, citations and DOIs, licences (ustream_license typo, the data's own terms), tags and ICON ids - url lists for entries with several sources or dataset pages - SocioPatterns entries moved to the site's new data location, with the daily networks of sp_infectious and sp_primary_school - the Michael Fire entries marked as orphans (served from the mirror) - redundant type forcings removed after the graph-tool coercion fixes
diff --git a/entries/wikipedia-en-talk/__init__.py b/entries/wikipedia-en-talk/__init__.py
index 9e7b823..dc30272 100644
--- a/entries/wikipedia-en-talk/__init__.py
+++ b/entries/wikipedia-en-talk/__init__.py
@@ -19,8 +19,7 @@
from .. import *
title = "en-Wikipedia talk network (2008)"
-description = """Nodes in the network represent (English) Wikipedia users and a directed edge from node i to node j represents that user i at least once edited a talk page of user j. The network contains all users and posts from the inception of Wikipedia till January 2008.[^icon]
-[^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
+description = r"""Communication network of the English Wikipedia, from the complete edit history of Wikipedia from its beginning until January 2008, distributed by the Stanford Network Analysis Project (SNAP). Nodes are Wikipedia users, and a directed edge $i \to j$ indicates that user $i$ edited the user talk page of user $j$ at least once. User talk pages are used by users to communicate with each other, e.g. by leaving messages. The network has 2,394,385 nodes and 5,021,410 edges, and no node or edge properties."""
tags = ['Social', 'Communication', 'Unweighted']
url = 'http://snap.stanford.edu/data/wiki-Talk.html'
citation = [('J. Leskovec, D. Huttenlocher, and J. Kleinberg, "Signed networks in social media." Proc. Conf. on Human Factors in Computing Sys. (CHI), 1361-1370 (2010).', 'https://doi.org/10.1145/1753326.1753532')]
Update copyright information 73a4f0d
diff --git a/entries/wikipedia-en-talk/__init__.py b/entries/wikipedia-en-talk/__init__.py
index 5257257..9e7b823 100644
--- a/entries/wikipedia-en-talk/__init__.py
+++ b/entries/wikipedia-en-talk/__init__.py
@@ -1,7 +1,7 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
-# Copyright (C) 2020-2024 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2026 Tiago de Paula Peixoto <tiago@skewed.de>
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
Update copyright information 3d288ea
diff --git a/entries/wikipedia-en-talk/__init__.py b/entries/wikipedia-en-talk/__init__.py
index b96529b..5257257 100644
--- a/entries/wikipedia-en-talk/__init__.py
+++ b/entries/wikipedia-en-talk/__init__.py
@@ -1,7 +1,7 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
-# Copyright (C) 2020-2023 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2024 Tiago de Paula Peixoto <tiago@skewed.de>
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
Update copyright information 8d005ae
diff --git a/entries/wikipedia-en-talk/__init__.py b/entries/wikipedia-en-talk/__init__.py
index d0557c8..b96529b 100644
--- a/entries/wikipedia-en-talk/__init__.py
+++ b/entries/wikipedia-en-talk/__init__.py
@@ -1,7 +1,7 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
-# Copyright (C) 2021 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2023 Tiago de Paula Peixoto <tiago@skewed.de>
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
Update copyright info db2efcc
diff --git a/entries/wikipedia-en-talk/__init__.py b/entries/wikipedia-en-talk/__init__.py
index 4bd8ecd..d0557c8 100644
--- a/entries/wikipedia-en-talk/__init__.py
+++ b/entries/wikipedia-en-talk/__init__.py
@@ -1,7 +1,7 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
-# Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2021 Tiago de Paula Peixoto <tiago@skewed.de>
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
Update citations to use DOIs e878874
diff --git a/entries/wikipedia-en-talk/__init__.py b/entries/wikipedia-en-talk/__init__.py
index f21577e..4bd8ecd 100644
--- a/entries/wikipedia-en-talk/__init__.py
+++ b/entries/wikipedia-en-talk/__init__.py
@@ -23,7 +23,7 @@ description = """Nodes in the network represent (English) Wikipedia users and a
[^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
tags = ['Social', 'Communication', 'Unweighted']
url = 'http://snap.stanford.edu/data/wiki-Talk.html'
-citation = [('J. Leskovec, D. Huttenlocher, and J. Kleinberg, "Signed networks in social media." Proc. Conf. on Human Factors in Computing Sys. (CHI), 1361-1370 (2010).', 'http://cs.stanford.edu/people/jure/pubs/triads-chi10.pdf')]
+citation = [('J. Leskovec, D. Huttenlocher, and J. Kleinberg, "Signed networks in social media." Proc. Conf. on Human Factors in Computing Sys. (CHI), 1361-1370 (2010).', 'https://doi.org/10.1145/1753326.1753532')]
icon_hash = '56a85c8e26855e083a2f78b7'
upstream_prefix = 'https://snap.stanford.edu/data'
files = [('wiki-Talk.txt.gz', None, 'snap')]
Change license from GPLv3 to AGPLv3 d754be5
diff --git a/entries/wikipedia-en-talk/__init__.py b/entries/wikipedia-en-talk/__init__.py
index 64f7009..f21577e 100644
--- a/entries/wikipedia-en-talk/__init__.py
+++ b/entries/wikipedia-en-talk/__init__.py
@@ -3,18 +3,18 @@
#
# Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+# details.
#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# You should have received a copy of the GNU Affero General Public License along
+# with this program. If not, see <http://www.gnu.org/licenses/>.
from .. import *
Add explicit attribution to descriptions obtained from ICON 1645314
diff --git a/entries/wikipedia-en-talk/__init__.py b/entries/wikipedia-en-talk/__init__.py
index d8a77c9..64f7009 100644
--- a/entries/wikipedia-en-talk/__init__.py
+++ b/entries/wikipedia-en-talk/__init__.py
@@ -19,7 +19,8 @@
from .. import *
title = "en-Wikipedia talk network (2008)"
-description = "Nodes in the network represent (English) Wikipedia users and a directed edge from node i to node j represents that user i at least once edited a talk page of user j. The network contains all users and posts from the inception of Wikipedia till January 2008."
+description = """Nodes in the network represent (English) Wikipedia users and a directed edge from node i to node j represents that user i at least once edited a talk page of user j. The network contains all users and posts from the inception of Wikipedia till January 2008.[^icon]
+[^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
tags = ['Social', 'Communication', 'Unweighted']
url = 'http://snap.stanford.edu/data/wiki-Talk.html'
citation = [('J. Leskovec, D. Huttenlocher, and J. Kleinberg, "Signed networks in social media." Proc. Conf. on Human Factors in Computing Sys. (CHI), 1361-1370 (2010).', 'http://cs.stanford.edu/people/jure/pubs/triads-chi10.pdf')]
Initial commit cc85872
diff --git a/entries/wikipedia-en-talk/__init__.py b/entries/wikipedia-en-talk/__init__.py
new file mode 100644
index 0000000..d8a77c9
--- /dev/null
+++ b/entries/wikipedia-en-talk/__init__.py
@@ -0,0 +1,48 @@
+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+from .. import *
+
+title = "en-Wikipedia talk network (2008)"
+description = "Nodes in the network represent (English) Wikipedia users and a directed edge from node i to node j represents that user i at least once edited a talk page of user j. The network contains all users and posts from the inception of Wikipedia till January 2008."
+tags = ['Social', 'Communication', 'Unweighted']
+url = 'http://snap.stanford.edu/data/wiki-Talk.html'
+citation = [('J. Leskovec, D. Huttenlocher, and J. Kleinberg, "Signed networks in social media." Proc. Conf. on Human Factors in Computing Sys. (CHI), 1361-1370 (2010).', 'http://cs.stanford.edu/people/jure/pubs/triads-chi10.pdf')]
+icon_hash = '56a85c8e26855e083a2f78b7'
+upstream_prefix = 'https://snap.stanford.edu/data'
+files = [('wiki-Talk.txt.gz', None, 'snap')]
+
+def fetch_upstream(force=False):
+ return fetch_upstream_files(__name__.split(".")[-1], upstream_prefix, files,
+ force)
+
+@cache_network()
+@coerce_props()
+@annotate()
+def parse(alts=None):
+ global files
+ name = __name__.split(".")[-1]
+ for fnames, alt, fmt in files:
+ if alts is not None and alt not in alts:
+ continue
+ if isinstance(fnames, str):
+ fnames = [fnames]
+ with ExitStack() as stack:
+ fs = [stack.enter_context(open_upstream_file(name, fn, "rb")) for fn in fnames]
+ g = parse_graph(fs, fmt, directed=True)
+ yield alt, g