1
$\begingroup$

Consider the directed graph in which nodes are questions on Mathematics SE and (directed) edges are links from one question to another question.

What questions have the highest in-degree? Can one find that out? If so, how?


Possible duplicate:

$\endgroup$
6
  • $\begingroup$ If the information is available with the API, and the access time is reasonably fast, someone should be able to write a program to figure it out. $\endgroup$ Commented Sep 30, 2020 at 20:59
  • 1
    $\begingroup$ @MattSamuel SEDE contains the table PostLinks which seems to be exatcly about links between posts: Database schema documentation for the public data dump and SEDE. So I guess that numbers could be found out from there. (Although I am not sure whether the links were added to this table already from the start of the site.) $\endgroup$ Commented Sep 30, 2020 at 21:03
  • 2
    $\begingroup$ I mean something like this: Posts with most links to them - counting also links from answers or Posts with most links to them - only counting links from questions. (There are probably many various ways how to refine those queries.) $\endgroup$ Commented Sep 30, 2020 at 21:10
  • 1
    $\begingroup$ @amWhy Not quite. I asked about directed edges. $\endgroup$ Commented Sep 30, 2020 at 22:47
  • 1
    $\begingroup$ This answer explains some details about the PostLinks table: What is the meaning of postlinks table? According to that answer, PostLinks also includes links from the comments - I am not sure whether you wanted to count those, too. (And for questions, the links in answers are included, too.) Assuming the information given there is accurate, I have misunderstood that table a bit. (And I do not see an immediate way to count links only from questions - not including answers and comments.) $\endgroup$ Commented Oct 1, 2020 at 12:11
  • $\begingroup$ @MartinSleziak Thank you. I would be happy to rephrase my question. Nodes would be pages. A page consists of a question and perhaps some answers and comments. A comment that says "this question is a duplicate of this other question" is very useful to me. $\endgroup$ Commented Oct 1, 2020 at 12:13

0

Browse other questions tagged .