Wikidata / SQID

A tool to analyse, browse and query Wikidata
http://tools.wmflabs.org/sqid/
Apache License 2.0
84 stars 17 forks source link

Add special display for "no value" statements in superclasses #36

Open pfps opened 8 years ago

pfps commented 8 years ago

This should probably say instead that entity is not a subclass of any other class

entity (Q35120)

thing 

something that exists subclass of: every entity is also a(n) no value instance of: entity is not an instance of any other class

mkroetzsch commented 8 years ago

I was thinking about this case, but the statement "no value" is actually stronger than not specifying a value. It says that no such class exists. Either the message should be something like "entity is a root class" or it should be flagged as an error (since entity should be a subclass at least of itself). I was undecided how to treat this (rare) case.

pfps commented 8 years ago

Aaah, so this is reporting on the Wikidata "no value" non-value. Yes, there probably should be some sort of special message for this, as the current message is not particularly readable.

mkroetzsch commented 8 years ago

Agreed, but it is also a very rare situation. Not sure if this occurs anywhere else than on this one item.