Property talk:P504
(Redirected from Wikidata talk:Database reports/Constraint violations/P504)
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
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
Description | The home port of the vessel (if different from "Ship registry="):
| |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Represents | home port (Q1595601) | |||||||||
Data type | Item | |||||||||
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
When possible, data should only be stored as statements | |||||||||
Allowed values | any item which is a port, naval base (note: this should be moved to the property statements) | |||||||||
Example | HMS Astute (Q1236027) → HMNB Clyde (Q628776) Titanic (Q25173) → Liverpool (Q24826) | |||||||||
Tracking: usage | Category:Pages using Wikidata property P504 (Q70896873) | |||||||||
See also | port of registry (P532), port calls (P8764), country of registry (P8047) | |||||||||
Lists |
| |||||||||
Proposal discussion | Proposal discussion | |||||||||
Current 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). 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)
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)