Wikidata:Property proposal/contains chemical element

From Wikidata
Jump to navigation Jump to search

contains chemical element

[edit]

Originally proposed at Wikidata:Property proposal/Natural science

   Not done
Descriptionthis chemical compound or material contains this
Representschemical element (Q11344)
Data typeItem
Domainchemical compound or material
Allowed valueschemical element
Example 1sodium peroxide (Q205459)sodium (Q658) (2), oxygen (Q629) (2)
Example 2Krogmann's salt (Q6438769)potassium (Q703) (2), platinum (Q880) (1), carbon (Q623) (4), nitrogen (Q627) (4), bromine (Q879) (0.3)
Example 3dumortierite (Q677619) → See Wikidata:Property proposal/relative count for actual examples
Expected completenesseventually complete for existing items only
Robot and gadget jobsyes

Motivation

[edit]

Currently we use has part(s) (P527) for this; we probably need a explicit property.GZWDer (talk) 17:40, 11 October 2019 (UTC)[reply]

Discussion

[edit]
Saehrimnir
Leyo
Snipre
Dcirovic
Walkerma
Egon Willighagen
Denise Slenter
Daniel Mietchen
Kopiersperre
Emily Temple-Wood
Pablo Busatto (Almondega)
Antony Williams (EPA)
TomT0m
Wostr
Devon Fyson
User:DePiep
User:DavRosen
Benjaminabel
99of9
Kubaello
Fractaler
Sebotic
Netha
Hugo
Samuel Clark
Tris T7
Leiem
Christianhauck
SCIdude
Binter
Photocyte
Robert Giessmann
Cord Wiljes
Adriano Rutz
Jonathan Bisson
GrndStt
Ameisenigel
Charles Tapley Hoyt
ChemHobby
Peter Murray-Rust
Erfurth
TiagoLubiana
NadirSH
Matthias M.
S8321414

Notified participants of WikiProject Chemistry

 Question I don’t get what improvement it would actually imply. Could you clarify ?
Tend to  Oppose because of the question. I think it’s at best redundant if the other kind of parts a compound could consist of have elemental parts. author  TomT0m / talk page 18:19, 14 October 2019 (UTC)[reply]
@TomT0m: This is a machine-readable description of chemical formula (P274), and this will allow us to distingush this from other meaning of "part of" (like the proposal above).--GZWDer (talk) 10:45, 19 October 2019 (UTC)[reply]
@GZWDer: part of is already machine readable, and it’s already possible to retrieve both the chemichal elements of a parts with a query, and the type of part thanks to the statements of the part item. If a compound countains a part that contains oxygen, a query with a property path like ?compound wdt:P361* ?element . ?element wdt:P31 wd:chemical element will do the trick. It retains more of the structure of the chemical formula. author  TomT0m / talk page 11:09, 19 October 2019 (UTC)[reply]
 Oppose adding classes like sodium compound (Q12555933) (usually subclasses of such classes) using P31/P279 relation is IMHO the best option. Wostr (talk) 21:23, 14 October 2019 (UTC)[reply]
 Oppose for the same reasons. Subclassing is a main method in WD. We have a good part of the ChEBI class hierarchy in WD, the compound in question just needs to be made instance of a compound class, then elements can easily be queried. --SCIdude (talk) 14:25, 12 November 2019 (UTC)[reply]