Property talk:P2873

Documentation

time in space
time in space by an astronaut or cosmonaut
Representsspace exposure (Q7572583)
Data typeQuantity
Template parameter"space_time" in en:Template:Infobox astronaut
Domain
According to this template: human (Q5)
According to statements in the property:
human (Q5)
When possible, data should only be stored as statements
Allowed values1 ≤ 𝓧 ≤ 1,100 day
Allowed unitsInstances of: unit of time
minute (Q7727)
ExampleBruce McCandless II (Q433608) → 18,751 minute
Valery Bykovsky (Q159681) → 29,868 minute
Tracking: usageCategory:Pages using Wikidata property P2873 (Q26897875)
Lists
Proposal discussionProposal discussion
Current uses
Total690
Main statement68399% of uses
Qualifier71% of uses
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2873#Single value, hourly updated report, SPARQL
Type “human (Q5): item must contain property “instance of (P31)” with classes “human (Q5)” or their subclasses (defined using subclass of (P279)). (Help)
List of violations of this constraint: Database reports/Constraint violations/P2873#Type Q5, hourly updated report, SPARQL
Item “occupation (P106): astronaut (Q11631): Items with this property should also have “occupation (P106): astronaut (Q11631)”. (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/P2873#Item P106, SPARQL
Units: “minute (Q7727): 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/P2873#Units
Range from “1” to “1100”: values should be in the range from “1” to “1100”. (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/P2873#Range
Item “country of citizenship (P27): Items with this property should also have “country of citizenship (P27)”. (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/P2873#Item P27, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
List of violations of this constraint: Database reports/Constraint violations/P2873#Entity types, hourly updated report
Item “sex or gender (P21): Items with this property should also have “sex or gender (P21)”. (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/P2873#Item P21, SPARQL
Item “date of birth (P569): Items with this property should also have “date of birth (P569)”. (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/P2873#Item P569, SPARQL
Scope is as main value (Q54828448), as qualifier (Q54828449): 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/P2873#Scope, SPARQL

Query edit

Time in days, hours, minutes edit

SELECT
  ?t
  ?time_in_days_hours_minutes
  ?item ?itemLabel ?itemDescription 
{
	?item p:P2873 / psn:P2873 [ wikibase:quantityAmount ?t ; wikibase:quantityUnit wd:Q11574 ] 
    BIND( ROUND(?t / 60) as ?q ) 
    BIND(IF( ?q >= 60 * 24 , CONCAT(str(floor(?q/60/24)),"d ") , "") as ?d)
    BIND(IF( ?q >= 60 , CONCAT(str(floor(?q/60)-floor(?q/60/24)*24),"h ") , "") as ?h)
    BIND(IF( ?q > 0 , CONCAT(str(?q-(floor(?q/60)*60)),"m ") , "") as ?m)
    BIND(CONCAT(?d,?h,?m) as ?time_in_days_hours_minutes)
	SERVICE wikibase:label { bd:serviceParam wikibase:language "en"  }
}
ORDER BY DESC(?t) 
LIMIT 1000

Try it!

Discussion edit

Return to "P2873" page.