Property talk:P7715

From Wikidata
Jump to navigation Jump to search

Documentation

World Flora Online ID
identifier for a plant in World Flora Online
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “taxon (Q16521): item must contain property “instance of (P31)” with classes “taxon (Q16521)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P7715#Type Q16521, SPARQL
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P7715#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P7715#Unique value, SPARQL (every item), SPARQL (by value)
Format “^wfo-\d{10}$: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P7715#Format, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P7715#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P7715#Scope, SPARQL

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Suggest URL Regex update

[edit]

In 2022 WFO changed how the taxonomic backbone was managed. There are now six-monthly data releases. They have also moved to using a semantic web compliant URIs as documented here:

https://list.worldfloraonline.org/sw_index.php

These have some advantages over the current id to URL mapping.

  1. They separate the identifier and its resolution from the portal system and so allow independent software changes. They should be more stable and potentially more performant.
  2. They are semantic web compatible and do content negotiation returning JSON, RDF and a bunch of other formats.
  3. They explicitly support changes to the taxonomy through time. You can crawl the graph of the existing taxonomic relations and previous ones.
  4. They will redirect humans to the latest version of the taxonomy.

Suggestion:

The value of property P8966 (URL match pattern) should be changed to ^https://list.worldfloraonline.org/(wfo-[0-9]{10})$

How do we make this change? Who should be involved?

Once this has been made we could look at how we update WikiData with each WFO data release which will always be available here: https://doi.org/10.5281/zenodo.8079052

[Disclosure I'm the tech lead on WFO Plant List] RogerHyam (talk) 09:55, 15 September 2023 (UTC)[reply]

I've raised this with the Wikidata WikiProject Biodiversity group attempting to find someone who may be able to help. I've reached out to @Pigsonthewing: who may be able to assist as I don't feel confident enough to change a property myself. -Ambrosia10 (talk)
Just to avoid confusion here, with the formatting of the regex that RogerHyam has posted, here it is without the automatic linking: ^https://list.worldfloraonline.org/(wfo-[0-9]{10})$ . DFichtmueller (talk)
That gives me an error in my regex validator, so I've escaped it as ^https?:\/\/list\.worldfloraonline.org\/(wfo-[0-9]{10})$ (that also allows for http:// versions). I've also fixed recent changes to maintain the old versions as "deprecated", for archival purposes. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:29, 13 October 2023 (UTC)[reply]
It appears to be working great now. Many thanks for this. RogerHyam (talk) 11:42, 23 November 2023 (UTC)[reply]