Page MenuHomePhabricator

Not all edgeLabels shown on graph in a Wikibase query service
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • Some of the edges do not have an edge label.

What should have happened instead?:

  • All of the edges should have an edge label. The table view displays the result correctly.

Software version (skip for WMF-hosted wikis like Wikipedia):
Not sure how to best see that on Wikibase.cloud.

(last-modified Thu, 10 Feb 2022)

Other information (browser name/version, screenshots, etc.):
Both Linux Chromium and Firefox are affected by the bug.

Event Timeline

As a note: There is a similar task: https://phabricator.wikimedia.org/T261116 but in my case the order of the nodes and edgelabel is correct, - unless I am mistaken.

LIMIT 154 doesnt seem to work for me, but LIMIT 100 does.
So it seems the behaviour of showing / how showing the labels inconsistent

And to visually aid folks.

Example of labels on edges (connections/arrows) not being shown

image.png (312×429 px, 47 KB)

Example of them being shown

image.png (410×426 px, 45 KB)

LIMIT 154 doesnt seem to work for me, but LIMIT 100 does.

Yes. It seems not to be 154/155 necessarily. LIMIT 130 works for me currently.

Have you ever noticed a similar issue on wikidata.org or if this is just on wikibase.cloud?

Tarrow added a subscriber: Ifrahkhanyaree_WMDE.

We were able to reproduce this on wikidata:

#Asterophryinae parent taxon reverse graph
#defaultView:Graph
PREFIX gas: <http://www.bigdata.com/rdf/gas#>

SELECT ?item ?itemLabel ?pic ?linkTo (?relation AS ?edgeLabel)
WHERE
{
  BIND("someedgeLabel" AS ?relation)
  SERVICE gas:service {
    gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.SSSP" ;
                gas:in wd:Q1968598;
                gas:traversalDirection "Reverse" ;
                gas:out ?item ;
                gas:out1 ?depth ;
                gas:maxIterations 3 ;
                gas:linkType wdt:P171 .
  }
  OPTIONAL { ?item wdt:P171 ?linkTo }
  OPTIONAL { ?item wdt:P18 ?pic }
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
} LIMIT 200

shows no edgeLabels but

#Asterophryinae parent taxon reverse graph
#defaultView:Graph
PREFIX gas: <http://www.bigdata.com/rdf/gas#>

SELECT ?item ?itemLabel ?pic ?linkTo (?relation AS ?edgeLabel)
WHERE
{
  BIND("someedgeLabel" AS ?relation)
  SERVICE gas:service {
    gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.SSSP" ;
                gas:in wd:Q1968598;
                gas:traversalDirection "Reverse" ;
                gas:out ?item ;
                gas:out1 ?depth ;
                gas:maxIterations 3 ;
                gas:linkType wdt:P171 .
  }
  OPTIONAL { ?item wdt:P171 ?linkTo }
  OPTIONAL { ?item wdt:P18 ?pic }
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
} LIMIT 100

does show them on my machine. I guess this is not therefore a wikibase cloud specific bug and should probably be looked at by Wikibase Product Platform Team WPP so I'll ping @Ifrahkhanyaree_WMDE