Property talk:P458
Documentation
identifier for a ship, ship owner or ship manager per the International Maritime Organization
List of violations of this constraint: Database reports/Constraint violations/P458#Single value, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P458#Unique value, SPARQL (every item), SPARQL (by value)
List of violations of this constraint: Database reports/Constraint violations/P458#Type Q1229765, Q4830453, Q4508, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P458#Entity types
List of violations of this constraint: Database reports/Constraint violations/P458#Scope, SPARQL
Report ships or shipping lines with incorrect IMO-numbers, found by validating the checksum (Help)
Violations query:
SELECT ?item # ?itemLabel ?imonr ?checksum ?checksum2 WITH { SELECT DISTINCT * WHERE { ?item wdt:P458 ?imonr . FILTER(strlen(?imonr) = 7) BIND(xsd:integer(substr(?imonr, 1, 1))*7 + xsd:integer(substr(?imonr, 2, 1))*6 + xsd:integer(substr(?imonr, 3, 1))*5 + xsd:integer(substr(?imonr, 4, 1))*4 + xsd:integer(substr(?imonr, 5, 1))*3 + xsd:integer(substr(?imonr, 6, 1))*2 AS ?checksum) BIND(substr(str(?checksum), strlen(str(?checksum)), 1) AS ?checksum2) FILTER(substr(?imonr, 7, 1) != ?checksum2) } } AS %i WHERE { INCLUDE %i SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . } }
List of this constraint violations: Database reports/Complex constraint violations/P458#Validate IMO-numbers
This property is being used by: Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
|
Official IMO resolver
editI set formatterUrl to https://gisis.imo.org/Public/SHIPS/ShipDetails.aspx?IMONumber=$1 as Preferred because that's the official site. But because of the problem below, I'll now set it to Deprecated.
Reported at https://webaccounts.imo.org/Common/ContactUs.aspx
GISIS login is broken.
When I try to get to a ship record eg https://gisis.imo.org/Public/SHIPS/ShipDetails.aspx?IMONumber=5121952
it gets into an authorization loop with https://login.microsoftonline.com/
Request Id: e4bf6fc6-797d-46bc-b09e-c3371e9a2000 Correlation Id: 78272eaf-c042-4e25-98b3-c87914dcadf0 Timestamp: 2021-01-04T09:09:45Z Message: AADSTS50196: The server terminated an operation because it encountered a client request loop. Please contact your app vendor.
This despite the fact that I'm logged to https://webaccounts.imo.org/Public/Default.aspx !
This is an urgent problem, please fix it soon!
I've set your site as IMO resolver (formatterUrl) at https://www.wikidata.org/wiki/Property:P458 , but I'll have to now set it to "deprecated" status because of this problem.
--Vladimir Alexiev (talk) 09:17, 4 January 2021 (UTC)
PS: I got this error while trying to submit feedback, so I posted on Twitter instead: https://twitter.com/valexiev1/status/1346024426966552576
SmtpException: Mailbox unavailable. The server response was: The from address does not match a verified Sender Identity. Mail cannot be sent until this error is resolved. Visit https://sendgrid.com/docs/for-developers/sending-email/sender-identity/ to see the Sender Identity requirements
- Could we please change the preferred formatter URL back to Marinetraffic.com? The IMO site requires login which is annoying, and forces people to cut and paste manually. Infrastruktur (talk) 21:19, 25 January 2023 (UTC)
Type constraint
editCurrently, this property is set up for single usage, but ships can change their name while the IMO is kept throughout the hull's life. I think it should therefore be possible to enter the IMO number at multiple items that treat different names of the same ship hull. De728631 (talk) 21:18, 20 August 2021 (UTC)
- Apparently there is already an open query. De728631 (talk) 18:26, 21 August 2021 (UTC)