Wikidata talk:WikiProject Ontology/Archive for 2024

From Wikidata
Jump to navigation Jump to search

Subclass cycle

Would some ontological expert like to solve the subclass cycle of knowledge (Q9081)subclass of (P279)memory (Q104127086)subclass of (P279)information (Q11028)subclass of (P279)knowledge (Q9081)? There are a few other triplet subclass cycles as well that come up in a query but this is probably the most serious one. All complex violations of P279 are listed here if someone wants to have a look. Samoasambia 01:41, 5 February 2024 (UTC)

Order of properties: P279 just after P31 or not

It has been proposed to move P10241 individual of taxon and P289 vessel class to directly after P31 instance of and before P279 subclass of. I would like your comments on the proposed new order; I will apply the change on March 9 if no objection is presented. Thanks, --Epìdosis 19:09, 1 March 2024 (UTC)

It was explained that the proposed change is not a change to ontology. Could you explain why without providing reasoning to the contrary, you bring this up here? CV213 (talk) 19:35, 1 March 2024 (UTC)
I am not the original proposer but let me explain why I both think this is a good idea and why it is relevant to the ontology project.
The main ontology properties are instance of (P31) and subclass of (P279) so any change to how they work or how they are presented is relevant to the ontology project. Both individual of taxon (P10241) and vessel class (P289) are subproperties of instance of (P31) so they are also relevant to the ontology project via their connection to instance of (P31). Both individual of taxon (P10241) and vessel class (P289) should be placed near their superproperty, which, in my view correctly, puts them in the area where ontology properties are displayed. Of course, this does not *change* the data related to the Wikidata ontology, just its presentation.
But this proposal does not, in my view, go far enough. There are other properties that are relevant to the ontology of Wikidata and thus should be placed near instance of (P31) and subclass of (P279), such as is metaclass for (P8225). Peter F. Patel-Schneider (talk) 19:56, 1 March 2024 (UTC)
You can make a different proposal for more changes. CV213 (talk) 20:00, 1 March 2024 (UTC)

Wikidata:WikiProject Ontology/BFO

Wikidata:WikiProject Ontology/BFO @Peter F. Patel-Schneider: fyi. CV213 (talk) 19:33, 1 March 2024 (UTC)

@Peter F. Patel-Schneider: it would be helpful to have a property BFO ID to easily find the BFO classes without using instance of BFO class or exact match "http://purl.obolibrary.org/obo/BFO_0000..." CV213 (talk) 20:01, 1 March 2024 (UTC)
Reasonable, I suppose, provided that Wikidata ID properties are supposed to be used for this kind of purpose. But then all similar relationships should use ID properties, like relationships to the Cyc ontology and many other ontologies. And this only works for strictly exact matches. Uniformity and flexibility is more important here than having the precise best kind of relationship. Peter F. Patel-Schneider (talk) 20:06, 1 March 2024 (UTC)
If something doesn't "strictly exact match" then a different item could be created. Not sure for how many ontologies this should be done, but BFO is a TLO and an ISO ontology, so to have the classes here "exactly" and to easily find them, should benefit interoperability. CV213 (talk) 20:14, 1 March 2024 (UTC)

Q124711104 was created to find them via Special:WhatLinksHere/Q124711104. A property would be better. CV213 (talk) 20:03, 1 March 2024 (UTC)

What is this item about? It lacks a definition and external references, but it is suddenly supposed to be used on important items of the ontology. —MisterSynergy (talk) 20:47, 1 March 2024 (UTC)
The item represents the metaclass of which all classes defined in BFO at some point in time are instances of. CV213 (talk) 22:05, 1 March 2024 (UTC)

@Peter F. Patel-Schneider: what is your opinion about having

  1. items for each BFO class
  2. an item of which the former are instances of
  3. a project page listing them (currently at Wikidata:WikiProject Ontology/BFO)

in Wikidata? CV213 (talk) 22:09, 1 March 2024 (UTC)

Andrea Westerinen knows more about this, I think. Peter F. Patel-Schneider (talk) 22:30, 1 March 2024 (UTC)
@AWesterinen: is it you who Peter referred to and do you know more about his opinion regarding the questions above? CV213 (talk) 22:50, 1 March 2024 (UTC)

Wikidata:Property proposal/BFO class ID

Wikidata:Property proposal/BFO class ID fyi. CV213 (talk) 23:18, 1 March 2024 (UTC)

more facilities for disjointness in Wikidata?

I have put together a proposal for a new way of stating disjointness in Wikidata at https://www.wikidata.org/wiki/User:Peter_F._Patel-Schneider/disjoint. Please let me know whether you think that there should be more facilities for disjointness in Wikidata and whether the approach is reasonable. Peter F. Patel-Schneider (talk) 18:30, 22 December 2023 (UTC)

@Peter F. Patel-Schneider Hi Peter, I commented on the talk page, I proposed a way to do the exact same thing just with the current properties. I think it's not worth the effort to require new tooling. Did you see it ? If this is the case, do you agree and can we close the topic (it's been a few month now, maybe you just did not see the comment) author  TomT0m / talk page 10:23, 21 March 2024 (UTC)

Allow false claims due to storage space limitations and a claimed need to be pragmatic

Example: Talk:Q1402057 , a user seems to suggest to conflate a publication (identified by ISSN) and an organisation (identified by ISNI).

The user is aware of the disctinctions, claims it to be subtle: "The newspaper vs the organization can be a subtle distinction, yes, but it's important to consider that Wikidata's storage space is limited and that we need to be pragmatic re: the usefulness and maintainability of different items." CV213 (talk) 15:31, 3 March 2024 (UTC)

What is the point here?
There are indeed technical limitations that make a substantial growth of Wikidata based on today's size impossible. The Query Service operates in a difficult condition for years meanwhile, with no clear solution on the horizon. The reason is that graph databases do not scale particularly well horizontally, so all of Wikidata needs to fit into memory of a single machine for the Query Service.
Whether this should affect our editorial decisions is another question, though. —MisterSynergy (talk) 16:03, 3 March 2024 (UTC)
The point here is that someone insists on having false claims stored in Wikidata items. Real word entities form the domains:
  1. publication (identified by ISSN) and
  2. organisation (identified by ISNI)
are clearly disjoint, but user insists on conflating them into one item. @Epìdosis: admin help desired, while discussion is ongoing, the pro-conflation user merged the items. CV213 (talk) 21:25, 3 March 2024 (UTC)

Tired of wasting time. Block evasion: sock puppet of User:Tobias Conradi. Blocked CV213 like the previous sock (Ac2wd). Multichill (talk) 18:57, 4 March 2024 (UTC)

Disjointness

Currently uchiwa (Q1056134) has a disjointness violation due to widget (Q2467478) which a commercial concept, it's both a concrete and an abstract object.

The issue seems to be that a "widget" is a subclass of unit, so an abstract object, concept used in accounting. Maybe it should be an instance of unit ? author  TomT0m / talk page 10:28, 21 March 2024 (UTC)

Ontology explorer

Understand which item is a subclass of another one is a nightmare (at least to me) in Wikidata.

So I've designed a small tool to explore all subclasses of an item.

https://observablehq.com/@pac02/ontology-explorer

Your feedbacks are welcome. PAC2 (talk) 06:37, 22 March 2024 (UTC)

Maths objects and reality, dimensions

this edit made by @Swpb last year makes a painting … a mathematical object (see this query (generated by the classification gadget for class disjointness violation visualisation)

The analysis is obvious, the "2D object" is intended as "2D mathematical object", so a painting is not. This makes the painting both an abstract and a concrete object. "Painting" should be a subclass of "flat object" or something like that.

We might have a class "2D object", superclass of both "2D mathematical object" and "flat object", but more generally pictures can have both a representation as an abstract object like a computer file and/or a concrete pictural physical medium. It's questionable that they are mathematical object by themselves even if they were conceived as a digital artwork ? author  TomT0m / talk page 16:40, 26 March 2024 (UTC)

Agreed, 2D images (even digital ones) are not mathematical objects. Until a reasonable "flat object" item exists, I'll say two-dimensional visual artwork (Q110304307)has characteristic (P1552)flatness (Q101079585). Swpb (talk) 16:52, 26 March 2024 (UTC)
May be flat object (Q113518695) fits? --Infovarius (talk) 21:45, 27 March 2024 (UTC)

Floors and floorings

In the last days I have tried to disentangle some confusion around these concepts; I have tried to summarize the present situation in Talk:Q217164#Floor,_flooring,_floor_covering, some more checks are welcome. --Epìdosis 21:00, 30 March 2024 (UTC)

Bimodal object — aircraft and watercraft

water-based aircraft (Q20035742) currently is a subclass of two classes listed as disjoint ([1] see the report page for reference, also for reference the disjointness statement)

I think it's worth starting a discussion and eventually drafting a page about such cases.

Currently the disjointness clause seems to imply that an aircraft cannot be a boat and vice versa. Options : k

  1. keep it that way, find a way to add exceptions
  2. Add a "multimodal vehicle/bimodal vehicle" class to the disjointness list. Make aéroplane à amerrissage (Q20035742) a subclass of it.
  3. Others ? what do you think ?

In the option 2, we could add informations about "multimodal" items add statements to add the different modes. One option could be something along the lines of :

which would mean this kind of vehicle has an aircraft mode in the displacement place, and a boat mode in the stationing place.

One problem I see with this multimodal item model : it's primarily an aircraft but if we search for aircrafts instances we would not find it. Maybe it's actually wrong to think it that way in that case because basically all aircrafts have two modes, as they do not fly all the times ! author  TomT0m / talk page 08:37, 8 April 2024 (UTC)

ping @Swpb: who added the disjointness statement and might be interested author  TomT0m / talk page 08:52, 8 April 2024 (UTC)

EDIT also relevant for amphibious automobile (Q17099122)  View with Reasonator View with SQID and water-based aircraft (Q20035742)  View with Reasonator View with SQID and Q3679469) (weird because it's both a subclass of hovercraft and vessel)

@TomT0m: or just remove the claim that they are disjoint, when clearly they are not? ArthurPSmith (talk) 15:22, 8 April 2024 (UTC)
@ArthurPSmith It's a possibility yes, but almost all vehicles except a few cases have a main use. Look at some image results on "water-based aircraft" on a search engines, if these stuffs are boats, then earth-landing planes are cars, and we probably do not want to classify them as cars.
I think the right solution is actually to create a property "lands on" or "can operate on" for planes, and remove the "subclass of" for boats. Maybe we can generalize for other cases of vehicles. author  TomT0m / talk page 15:40, 8 April 2024 (UTC)
So remove the watercraft subclass statement on water-based aircraft (Q20035742) then? That sounds reasonable. However how would one handle amphibious vehicle (Q474698) which legitimately travel both on land and water? ArthurPSmith (talk) 17:31, 8 April 2024 (UTC)
Now we're talking !
If I look at the en description for land vehicle (Q1301433) I read "vehicle mainly meant to move on land, including wheeled, tracked, and walking vehicles".
If we take that seriously, and take the converse for watercraft (Q1229765) then their intersection is empty as no vehicle can be "mainly meant" for both.
I think we should keep in mind that they are the exception, globally. One solution that keeps disjointness could be to have distinct classes for "possible" (can operate on) and "only" (unimodal).
The disjointness could be between
Unimodal items would be subclasses of their "can operate on" counterpart, "land only vehicle" subclass-of "can operate on land vehicle".
This would allow to keep the disjoint that may be useful to spot errors while creating a few new items. Hovercraft would be a subclass of multimodal vehicle naturally. Car models would just subclasses of terrestrial only vehicle so few changes actually. Having an item for multimodal vehicles make sense. author  TomT0m / talk page 19:15, 8 April 2024 (UTC)
Hi, just dropping in to point at hybrid aircraft (Q20035774) and flying car (Q1423125) ... El Grafo (talk) 13:27, 11 April 2024 (UTC)

Q125391054 subclass of (and instance of?)

Upon noticing that de:Peripherie describes not only “spatial periphery” (the concept apparently modelled by periphery (Q10950926)) but a broader meaning of something fringe as opposed to the centre, I have created a new item for this meaning, Q125391054. However, I’m unsure how to connect it to the existing ontology. For the moment I have instance of (P31)concept (Q151885) (which is very abstract) and no idea which subclass of (P279) to put. (There is a constraint telling me that the item should have a subclass of (P279), since I’m using it as subclass of (P279) on periphery (Q10950926)).

de:Peripherie gives various examples of concrete usages of the abstract term: in mathematics (circumference of a circle), geography (the periphery (Q10950926) meaning), in medicine (limbs of mammals), in political science (societies around a centre of power, in marxism), sociology (opposite of hegemony (Q182034)), computer engineering (peripheral (Q178648)), physiology (something relatively far apart from the centre of a biological object such as a cell or a body), something perspective-related in philosophy I don’t quite understand, and event technology (equipment arranged around a mixing console). I’m very unsure how to subordinate all these meanings under a singe superclass. --Data Consolidation Officer (talk) 12:01, 8 April 2024 (UTC)

It's very abstract, so it's probably high in the class tree. It's also potentially used in various abstraction context, so I'd make it a subclass of variable-order class (Q23958852).
My intuition is that it's also some kind of "parametric type" (in the programming language stuff) : it's always the boundary of something. (I don't think we really have thought this kind of stuffs through in Wikidata yet). So my intuition would be that it could be used as something like
⟨ boundary of a geometrical object ⟩ instance of (P31) View with SQID ⟨ Peripherie ⟩
of (P642) View with SQID ⟨ geometrical object ⟩
(although the "of" qualifier is deprecated, maybe a new one is required for this kind of parametric metaclass)
Using this for classes to be instances of, a true metaclass it avoid breaking barriers of abstraction, if we use as something to be a subclass of (a kind of superclass for all boundaries kind) we risk its instance of to systematically be instance of "abstract object", where seacoasts for example lives in the concrete world. author  TomT0m / talk page 16:37, 8 April 2024 (UTC)
Done. If I understand the example correctly, there should rather be an item for (the class) “boundary of a geometrical object” and individual boundaries should be instance of (P31) of that class (the replacement for of (P642) would then go with the subclass of (P279) statement of the “boundary of a geometrical object” class?). --Data Consolidation Officer (talk) 12:10, 12 April 2024 (UTC)

Forgeries, fakes, and the like

I think we don't currently have a model or properties for items that are fakes or feints, forgeries or stuffs like that. I noticed the class items for this are not well structured yet.

I also launched a property proposal :  Wikidata:Property proposal/is fake of to link the "fake" item to the class of stuff it is faking.

List of items that may be relevant:

May be relevant to the model
simulates (P12328) View with SQID, which may be also related to the proposition model for as a simulation is based on running a model of the world, weird unintended connection of two of my own proposals author  TomT0m / talk page 09:40, 12 April 2024 (UTC)

Subclasses and instances

Hi. A lot of items are both instances and subclasses of something else. I would like to know what is the current consensus on this topic. Should they be removed, or are they accepted? Cheers, Lepticed7 (talk) 11:34, 11 April 2024 (UTC)

If the stuff is the same in both cases it's very probably a mistake, if not I guess now we got several properties for metaclasses like is metaclass for (P8225) or metasubclass of (P2445) so there can be statements of both kind. author  TomT0m / talk page 11:45, 11 April 2024 (UTC)
What seems odd to me is that in tree-like representation of an ontology, the instances are generally the leaves of the tree, while the classes are branches. And what I’m looking for is to know if there are some conventions that describe those choices, which are unconventional compared to classical ontologies? Lepticed7 (talk) 12:00, 11 April 2024 (UTC)
@Lepticed7: Help:Basic membership properties describes how we think of these here on Wikidata. A class may not have any instances on Wikidata, but it generally should be something that could have real-world instances. ArthurPSmith (talk) 16:04, 11 April 2024 (UTC)
It is partly for some technical reasons that "classical" ontologies do not use classes of classes, but this is something that have some use and is doable on Wikidata. OWL introduced a technique called "punning" to be able to do that, and considering the nature of Wikidata of course it's useful.
An example, besides the one given in the references of Help:BMP this is one example in which we need it :  atoms and elements.
Atoms are the real word objects, they are all instances of the "atom" class. They are of different nature of course, and "hydrogen atom" is a subclass of all atoms, as any hydrogen atom is an atom. "Tritium" is a kind of hydrogen, so it's a subclass of hydrogen of course.
All this happens in the same tree, and all instances of some class of this tree is a real world object. Now comes elements and isotopes … we did not need those concept to classify atom. And no single atom is an isotope by itself. So we would like to express that "Hydrogen is an element" but we cannot use "subclass of" … if we did we could run into absurdities such as "the atom used on that atomic clock for sync is an element", and that would make the "element concept" a synonym for "atom" (any atom would be an element).
Classical ontologies typically don't use the "element" concept, then, it could be considered useless for application (you know what kind of element it is, that's enough, so they can afford to just use "subclass of").
But if we actually want to model the "element" concept we could use the level of "classes of classes", a "meta" level. That can be seen as an analog to the concept of "rank" in taxonomy (a taxon can be ranked "species" or "reign") that we use to "tag" levels in the second tree, the "element" level is typically the level just below the "atom" class ("hydrogen" for example). The "element" metaclass is then the (meta-class) of all the classes just below "atom". And there may be other ways to classify atom that does not follow this scheme, direct subclass which are not elements, adatom (Q352687) for example, which is not an element).
This model is consistent with the definition used in the frwiki article about elements : fr:Élément_chimique, an element is an atom "kind" and no atom is an atom kind. The elements are the classes themselves.
More references : en:Metaclass_(Semantic_Web)#References author  TomT0m / talk page 16:57, 11 April 2024 (UTC)
(oh, and if the model seems not used on Wikidata it's because there is a different notion of "element" used on enwiki especially, an element is a chemical substance, and they seem to have some kind of long going on edit war on that because that was not the case in 2021). author  TomT0m / talk page 17:06, 11 April 2024 (UTC)

Ismael Olea (Q87475754) is an instance of collective entity (Q99527517) and that is weird

By inference (or not), we have

this subclass chain explains why (at the post time).

Is there something to be done about this ?


(reported through User:TomT0m/classification.js) (Note: it's the first time I'm reporting something like this!) —Ismael Olea (talk) 14:31, 17 April 2024 (UTC)

Ismael Olea (Q87475754) is an instance of group of humans (Q16334295) and that is weird

By inference (or not), we have

this subclass chain explains why (at the post time).

Is there something to be done about this ?


(reported through User:TomT0m/classification.js)

—Ismael Olea (talk) 14:36, 17 April 2024 (UTC)

@Olea thanks for the report !
I think the problem is that "person or organisation" is not a subclass of "group", this revert of the edit by @Clemens Dulcis may have solved the problem. author  TomT0m / talk page 17:10, 17 April 2024 (UTC)

Disjointness violation for photograph (Q125191)

I got a disjointness warning (this is the graph), but I have no idea how to fix it. This is the warning message:

On class entidad it is stated that the following classes, and this is a subclass of them !
abstract entity (Q7048977)   concrete object (Q4406616)

FYI —Ismael Olea (talk) 09:43, 23 April 2024 (UTC)

@Olea: this is the same issue or related, moved in the topic. author  TomT0m / talk page 09:49, 23 April 2024 (UTC)

Proposal to overhaul events

https://www.wikidata.org/wiki/Wikidata:Property_proposal/event_role is part of a proposal to overhaul events. I deem it to have consequences for the Wikidata ontology so project participants may want to participate in evaluating the proposal. Peter F. Patel-Schneider (talk) 13:42, 19 April 2024 (UTC)

Anatomical structure

(this is a « ticket » discussion, to keep a file on the problem.


Seems to be an important item with a "metaclass versus class" problem : anatomical structure (Q4936952). It's referenced in external ontologies and is both a metaclass and a first order class on Wikidata. From the talkpage : @Iwan.Aucamp, Infovarius: author  TomT0m / talk page 09:09, 16 April 2024 (UTC)

The key anatomical ontologies are uberon and FMA. Neither of those have a distinction between metaclasses and first order classes. It should be a first order class in Wikidata and has the relevant P31/P279 for that. There are however still a lot of item that use it as a metaclass that need work on them, in most of the cases where it's used there are more specific classes that would be more appropriate. anatomical structure type (Q103813670) is the relevant metaclass. ChristianKl02:43, 24 April 2024 (UTC)

Archeological site / artefact is a subclass of non physical entity

This is exemplified by Temple of Ephesian Artemis (Q43018) who is both an instance of physical and non physical entity, see this graph (while the issue is not solved). A problem seems to be that "scientific proof" is a subclass of "abstract entity" somehow. author  TomT0m / talk page 11:36, 22 April 2024 (UTC)

I think the source of the problem was this edit from a month ago, which I've reverted. Clearly, not all "sources" are meta-classes. Swpb (talk) 13:53, 24 April 2024 (UTC)