Property talk:P504

From Wikidata
Jump to navigation Jump to search

Documentation

shipping port
shipping port of the vessel (if different from "ship registry"): For civilian ships, the primary port from which the ship operates. Port of registry →P532 should be listed in "Ship registry". For warships, this will be the ship's assigned naval base
DescriptionThe home port of the vessel (if different from "Ship registry="):
  • For civilian ships, this will be the primary port from which the ship operates (i.e. for cruise ships, the port in which cruises start and end). Port of registry (the one painted on the stern) should be listed in "Ship registry=".
  • For warships, this will be the ship's assigned naval base.
  • When multiple entries are made in this field, include year ranges.
  • For ships that change their home port on a regular basis (more than once every couple of years), consider ignoring this field and elaborating in the body of the article.
Representshome port (Q1595601)
Data typeItem
Template parameter"Ship homeport" in w:Template:Infobox ship career, see "Ship homeport" on en:Template:Infobox_ship_begin/Usage_guide
Domain
According to this template: ships
According to statements in the property:
watercraft (Q1229765) or military unit (Q176799)
When possible, data should only be stored as statements
Allowed valuesany item which is a port, naval base (note: this should be moved to the property statements)
ExampleHMS Astute (Q1236027)HMNB Clyde (Q628776)
Titanic (Q25173)Liverpool (Q24826)
Tracking: usageCategory:Pages using Wikidata property P504 (Q70896873)
See alsoport of registry (P532), port calls (P8764), country of registry (P8047)
Lists
Proposal discussionProposal discussion
Current uses
Total6,041
Main statement6,01799.6% of uses
Qualifier240.4% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “watercraft (Q1229765), military unit (Q176799): item must contain property “instance of (P31)” with classes “watercraft (Q1229765), military unit (Q176799)” 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/P504#Type Q1229765, Q176799, SPARQL
Value type “geographic location (Q2221906): This property should use items as value that contain property “instance of (P31)”. On these, the value for instance of (P31) should be an item that uses subclass of (P279) with value geographic location (Q2221906) (or a subclass thereof). (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/P504#Value type Q2221906, SPARQL
Single best value: this property generally contains a single value. If there are several, one would have preferred rank (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/P504#single best value, 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/P504#Entity types
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/P504#Scope, SPARQL
Contemporaries:
if [item A] has this property (shipping port (P504)) linked to [item B],
then [item A] and [item B] have to coincide or coexist at some point of history. (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/P504#Contemporary, SPARQL

Is there something similar for unique locomotives?[edit]

A specific yard instead of home port. "Location" makes little sense, operational engines are always on the move. Retired electrician (talk) 22:27, 17 April 2023 (UTC)[reply]