Property talk:P6591

From Wikidata
Jump to navigation Jump to search

Documentation

maximum temperature record
maximum temperature reached at this location
Representsmaximum temperature record (Q63301843)
Has qualitymaximum (Q10578722)
Data typeQuantity
Template parameter« tmax-record-ann » in the template fr:Modèle:Climat
Domaingeographic location (Q2221906)
Allowed values−459.67 ≤ 𝓧 ≤ 593.67
Allowed unitsdegree Celsius (Q25267), kelvin (Q11579) or degree Fahrenheit (Q42289)
Example (note: this information should be moved to a property statement; use property Wikidata property example (P1855), Wikidata property example for properties (P2271), Wikidata property example for lexemes (P5192), Wikidata property example for forms (P5193) or Wikidata property example for senses (P5977))
Sourcearticle temperature records on Earth (Q20183675) (note: this information should be moved to a property statement; use property source website for the property (P1896))
<complementary property>minimum temperature record (P7422)
Lists
Proposal discussionProposal discussion
Current uses
Total331
Main statement331100% of uses
[create Create a translatable help page (preferably in English) for this property to be included here]
Units: “degree Celsius (Q25267), kelvin (Q11579), degree Fahrenheit (Q42289): value unit must be one of listed. (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/P6591#Units
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P6591#Scope, hourly updated report, SPARQL
Type “geographic location (Q2221906): item must contain property “instance of (P31)” with classes “geographic location (Q2221906)” 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). Known exceptions: Earth (Q2)
List of violations of this constraint: Database reports/Constraint violations/P6591#Type Q2221906, SPARQL
Required qualifier “point in time (P585): this property should be used with the listed qualifier. (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/P6591#mandatory qualifier, SPARQL
Item “coordinate location (P625): Items with this property should also have “coordinate location (P625)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Mad Planet (Q84596793)
List of violations of this constraint: Database reports/Constraint violations/P6591#Item P625, SPARQL
Range from “-459.67” to “593.67”: values should be in the range from “-459.67” to “593.67”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P6591#Range, hourly updated report
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/P6591#allowed qualifiers, SPARQL
Citation needed: the property must have at least one reference (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/P6591#citation needed
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/P6591#Entity types
Date after today
(Help)
Violations query: SELECT ?item { ?item p:P6591 [pq:P585 ?date]. FILTER (NOW() < ?date) }
List of this constraint violations: Database reports/Complex constraint violations/P6591#Date after today

Queries[edit]

Query with °F/°C conversion[edit]

#defaultView:Map
# maximum temperatures around Earth 
# from https://www.wikidata.org/wiki/Property_talk:P6591
SELECT ?degrees_Celsius ?degrees_Fahrenheit ?item ?itemLabel ?location ?locationLabel ?date ?coor ?layer
WHERE
{
	?item p:P6591 ?st . 
    {
        ?st psv:P6591  [ wikibase:quantityAmount ?degrees_Celsius ;  wikibase:quantityUnit wd:Q25267 ] 
        BIND ( ROUND ( ?degrees_Celsius * 1.8 + 32 ) as ?degrees_Fahrenheit )
    }
    UNION
	{ 
        ?st psv:P6591  [ wikibase:quantityAmount ?degrees_Fahrenheit ;  wikibase:quantityUnit wd:Q42289 ]
        BIND( ROUND( ( ?degrees_Fahrenheit - 32 ) / 1.8 * 10)/10 as ?degrees_Celsius )
    }
    OPTIONAL { ?st pq:P276 ?location OPTIONAL { ?location wdt:P625 ?coor0 } } 
    OPTIONAL { ?st pq:P585 ?date } 
    OPTIONAL { ?item wdt:P625 ?coor1 }
    BIND( COALESCE(?coor0, ?coor1) as ?coor)
    BIND( CONCAT(str(Floor(?degrees_Celsius / 10)),"0s °C") as ?layer)
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en"  }    
}
ORDER BY DESC(?degrees_Celsius)
LIMIT 1000

Try it!

Difference max-min temperature[edit]

see Property talk:P7422#Difference max-min temperature

Discussion[edit]

Minimal temperature record[edit]

Is there such property? --Infovarius (talk) 15:21, 29 March 2019 (UTC)[reply]