Property talk:P8981
This property is being considered for deletion. Please share your thoughts on the matter at this property's entry on the Properties for deletion page. |
Documentation
coordinates of a place on Earth's Moon
Represents | selenographic coordinates (Q570069) | ||||||
---|---|---|---|---|---|---|---|
Data type | Geographic coordinates | ||||||
Corresponding template | Template:Lunar coords and quad cat (Q14401225) | ||||||
Example | Mare Tranquillitatis (Q320936) → 8.5° N, 31.4° E Chacornac A → 29.8° N, 31.5° E | ||||||
Formatter URL | https://geohack.toolforge.org/geohack.php?params=$1 | ||||||
See also | coordinate location (P625), located on astronomical body (P376) | ||||||
Lists |
| ||||||
Proposal discussion | Proposal discussion | ||||||
Current uses |
|
List of violations of this constraint: Database reports/Constraint violations/P8981#Conflicts with P625, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P8981#Single value, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P8981#Scope, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P8981#Entity types
List of violations of this constraint: Database reports/Constraint violations/P8981#Item P138, SPARQL
|
This property is being used by: Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
Globe should be Q405 (Help)
Violations query:
SELECT ?item ?itemLabel ?globe ?globeLabel ?lat ?lon WITH { SELECT ?st ?stv ?globe { ?st psv:P8981 ?stv . FILTER NOT EXISTS { ?stv wikibase:geoGlobe wd:Q405 } ?stv wikibase:geoGlobe ?globe } } as %coor WHERE { INCLUDE %coor ?stv wikibase:geoLatitude ?lat . ?stv wikibase:geoLongitude ?lon . ?item p:P8981 ?st SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
List of this constraint violations: Database reports/Complex constraint violations/P8981#Globes to check
Wrong 'globe' in data[edit]
Coordinates created with this property has wrong 'globe' component. It points to Earth (Q2) instead of Moon (Q405). Here is dump for mainsnak retrieved from Mare Tranquillitatis (Q320936):
table#1 { ["datatype"] = "globe-coordinate", ["datavalue"] = table#2 { ["type"] = "globecoordinate", ["value"] = table#3 { ["globe"] = "http://www.wikidata.org/entity/Q2", ["latitude"] = 8.5, ["longitude"] = 31.4, ["precision"] = 0.016666666666667, }, }, ["property"] = "P8981", ["snaktype"] = "value", }
This is incorrectly rendered in plwiki if the value is retrieved from Wikidata. It is ridiculous to provide dedicated module or method to properly render any new property which has type 'globe-coordinate'. Current data model is flexible enough to manage coordinates on any globe. Paweł Ziemian (talk) 20:19, 29 December 2020 (UTC)
- Fixed the globe and added a complex constraint. BTW the same happens with P625. --- Jura 20:28, 31 December 2020 (UTC)
- There are items with coordinates that use coordinate location (P625) and located on astronomical body (P376) with Moon (Q405):
SELECT ?item ?itemLabel ?stv
{
?item wdt:P625 ?stv .
?item wdt:P376 wd:Q405
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
They can be migrated to lunar coordinates (BEING REPLACED) (P8981). Paweł Ziemian (talk) 20:16, 2 January 2021 (UTC)
I started checking which templates need updating. cawiki now supports lunar coordinates (BEING REPLACED) (P8981): ca:Mare_Tranquillitatis with ca:Plantilla:Accident geogràfic extraterrestre and ca:Mòdul:Mapa cos celeste. It seems that many templates for the Moon don't use Wikidata coordinates at all. --- Jura 09:10, 6 January 2021 (UTC)
- Properties for deletion
- All Properties
- Properties with globe-coordinate-datatype
- Properties used on 1+ items
- Properties with conflicts with constraints
- Properties with single value constraints
- Properties with scope constraints
- Properties with entity type constraints
- Properties with constraints on items using them
- Properties with complex constraints