Property talk:P1030
Jump to navigation
Jump to search
Documentation
light characteristic
description of a navigational light sequence or colour displayed on a nautical chart. Explicitly state white light (W)
description of a navigational light sequence or colour displayed on a nautical chart. Explicitly state white light (W)
Description | a graphic and text description of a navigational light sequence or colour displayed on a nautical chart or in a Light List | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Represents | light characteristic (Q1738955) | ||||||||||||
Data type | String | ||||||||||||
Template parameter | "characteristic" in en:Template:Infobox lighthouse | ||||||||||||
Domain | lighthouse (Q39715), light characteristic (Q1738955), lighthouse light (Q106975467) or beacon (Q7321258) | ||||||||||||
Allowed values | According to this template:
pattern, colour(s), period, height and range separated by space
According to statements in the property:
When possible, data should only be stored as statements((?!\b(FI)).)* | ||||||||||||
Example | According to this template:
Almagrundet lighthouse (Q10406517) => Fl(4) WR 12s 29m 13M
According to statements in the property:
When possible, data should only be stored as statementsBengtskär lighthouse (Q3737012) → Fl(3) W 20s Bremerhaven lighthouse (Q304471) → Iso W 4s | ||||||||||||
Format and edit filter validation | (I could compose a regexp for this, but it will not be short and I doubt it will be usefull) | ||||||||||||
Tracking: usage | Category:Pages using Wikidata property P1030 (Q26210051) | ||||||||||||
See also | lighthouse range (P2929), focal height (P2923), racon signal (P3994), luminous intensity (P3041) | ||||||||||||
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 “lighthouse (Q39715), light characteristic (Q1738955), lighthouse light (Q106975467), beacon (Q7321258)”: item must contain property “instance of (P31), subclass of (P279)” with classes “lighthouse (Q39715), light characteristic (Q1738955), lighthouse light (Q106975467), beacon (Q7321258)” 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: Utter Inn (Q7903424), no label (Q42308845)List of violations of this constraint: Database reports/Constraint violations/P1030#Type Q39715, Q1738955, Q106975467, Q7321258, SPARQL
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/P1030#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P1030#Format, SPARQL
pattern occurring only once
may be correct, but might be malformed (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P1030#pattern occurring only once
may be correct, but might be malformed (Help)
Violations query:
SELECT (SAMPLE(?item) as ?item) ?value (COUNT(DISTINCT ?item) as ?count) WHERE { ?item wdt:P1030 ?value } GROUP BY ?value HAVING (?count = 1) ORDER BY DESC(?value) LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P1030#pattern occurring only once
basic patterns without an item
create an item for the light characteristic. Ensure patterns are normalized before creating items for them. (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P1030#basic patterns without an item
create an item for the light characteristic. Ensure patterns are normalized before creating items for them. (Help)
Violations query:
SELECT (SAMPLE(?item) as ?item) ?value (COUNT(DISTINCT ?item) as ?count) { ?item wdt:P1030 ?value . FILTER NOT EXISTS { ?pattern wdt:P1030 ?value ; wdt:P31 wd:Q1738955 } . FILTER(REGEX(?value, "^(Iso\u007CFl\u007COc\u007CQ\u007CLFl\u007CVQ)(\\(\\d\\))? [WRGY]{1,4} [\\d\\.]+s$")) FILTER(!REGEX(?value, "FI")) } GROUP BY ?value ORDER BY DESC(?count) LIMIT 20
List of this constraint violations: Database reports/Complex constraint violations/P1030#basic patterns without an item
frequent pattern without item
create an item for the light characteristic. Ensure patterns are normalized before creating items for them. "W" might be missing. (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P1030#frequent pattern without item
create an item for the light characteristic. Ensure patterns are normalized before creating items for them. "W" might be missing. (Help)
Violations query:
SELECT (SAMPLE(?item) as ?item) ?value (COUNT(DISTINCT ?item) as ?count) WHERE { ?item wdt:P1030 ?value . MINUS { ?pattern wdt:P1030 ?value ; wdt:P31 wd:Q1738955 } . FILTER(!REGEX(?value, "FI")) } GROUP BY ?value ORDER BY DESC(?count) LIMIT 20
List of this constraint violations: Database reports/Complex constraint violations/P1030#frequent pattern without item
item for pattern available
lighthouse has a pattern for which an item is available, but the qualifier statement is subject of (P805) isn't used to link it (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P1030#item for pattern available
lighthouse has a pattern for which an item is available, but the qualifier statement is subject of (P805) isn't used to link it (Help)
Violations query:
SELECT ?item ?ltho ?value { ?ltho wdt:P1030 ?value . hint:Prior hint:rangeSafe true . FILTER NOT EXISTS { ?ltho p:P1030 / pq:P805 [] } ?item wdt:P31 wd:Q1738955 ; p:P1030/ps:P1030 ?value . ?ltho wdt:P31 wd:Q39715 . }
List of this constraint violations: Database reports/Complex constraint violations/P1030#item for pattern available
mismatch pattern and pattern on value of P1030
may be correct (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P1030#mismatch pattern and pattern on value of P1030
may be correct (Help)
Violations query:
SELECT ?item ?ltho ?value ?pattern { ?ltho p:P1030 [pq:P805 ?item; ps:P1030 ?value] . FILTER NOT EXISTS { ?item wdt:P31 wd:Q1738955 ; p:P1030/ps:P1030 ?value } OPTIONAL { ?item wdt:P1030 ?pattern } }
List of this constraint violations: Database reports/Complex constraint violations/P1030#mismatch pattern and pattern on value of P1030
This property is being used by:
Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
Pattern ^(Fl|Oc|Q) (\(\d\).+)$ will be automatically replaced to \1\2. Testing: TODO list |
Pattern ^(Q|F|VQ)([RGW].*)$ will be automatically replaced to \1 \2. Testing: TODO list |
Pattern ^(.*) (.*)$ will be automatically replaced to \1 \2. Testing: TODO list |
Pattern ^ISO (.+)</nowiki>$ will be automatically replaced to Iso \1. Testing: TODO list |
Pattern ^Occ (.+)$ will be automatically replaced to Oc \1. Testing: TODO list |
Pattern ^FL (.+)$ will be automatically replaced to Fl \1. Testing: TODO list |
Pattern ^(.*[A-Za-z])\.([ A-Za-z].+)$ will be automatically replaced to \1 \2. Testing: TODO list |
Pattern ^(.+)\.$ will be automatically replaced to \1. Testing: TODO list |
Pattern ^(.+\d) s$ will be automatically replaced to \1s. Testing: TODO list |
Pattern ^(.*)[fF]ixed(.*)$ will be automatically replaced to \1F\2. Testing: TODO list |
Pattern ^(.*)[fF]lash(ing|es| )(.*)$ will be automatically replaced to \1Fl\3. Testing: TODO list |
Pattern ^(.*)[oO]cculting(.*)$ will be automatically replaced to \1Oc\2. Testing: TODO list |
Pattern ^(.*)[iI]sophase(.*)$ will be automatically replaced to \1Iso\2. Testing: TODO list |
Pattern ^(.*)[wW]hite(.*)$ will be automatically replaced to \1W\2. Testing: TODO list |
Pattern ^(.*)[rR]ed(.*)$ will be automatically replaced to \1R\2. Testing: TODO list |
Pattern ^(.*)[gG]reen(.*)$ will be automatically replaced to \1G\2. Testing: TODO list |
Pattern ^(.*)[yY]ellow(.*)$ will be automatically replaced to \1Y\2. Testing: TODO list |
Pattern ^(.*)[sS]econds?(.*)$ will be automatically replaced to \1s\2. Testing: TODO list |
Pattern ^(.*)[sS]ec[ \.](.*)$ will be automatically replaced to \1s \2. Testing: TODO list |
Pattern ^(.*\d)S$ will be automatically replaced to \1s. Testing: TODO list |
Pattern ^(.*) (.*)$ will be automatically replaced to \1 \2. Testing: TODO list |
Pattern ^(Fl|Iso|Oc) ([0-9]+)s$ will be automatically replaced to \1 W \2s. Testing: TODO list |
Pattern ^(Iso|Fl|Oc|Q|LFl|VQ)(\(\d\))?( [WRGY]{1,4})\.([0-9]+)s$ will be automatically replaced to \1\2\3 \4. Testing: TODO list |
the sections should all be finished with a full stop (period). Such as
e.g. 1 - F.R. 2 - Oc.W.R.6s 3 - Fl.(2)W.5s
Separated by . not a space. So what is your reference? 49.145.128.113 07:11, 24 January 2018 (UTC)
- Comment Normalizations above are generally based on the most frequent patterns. These tend to follow the samples at w:Light_characteristic#Class_of_light (oddly different from the article's illustration). USCG seems to use a similar syntax in its lists.
--- Jura 19:15, 8 February 2018 (UTC) - I really can't take that seriously. On page 11-12 it says that abverations should end with a . but one just have to look at page 10 to realize that is not the case. /ℇsquilo 09:03, 9 February 2018 (UTC)
"FI" instead of "Fl"
[edit]It looks like some patterns include FI
for flashing (including an uppercase i instead of lowercase L). I added a constraint to find them. --- Jura 03:02, 27 August 2019 (UTC)
- Wow! I had no idea that so many items I have created had that error. I suppose copy-and-paste from a list of lights was not as reliable as I thought... /ℇsquilo 14:54, 16 September 2019 (UTC)
- I have noted that User:KrBot insists on changing "FLFl" (Fixed light with Long Flashes" to "FlFl". Even though FLFl is an odd characteristic, it is not wrong. FlFl on the other hand is nonsense. /ℇsquilo 18:15, 29 September 2021 (UTC)
- Oh, I forgot to mention that the object in question is Nordkoster North lighthouse (Q39145498). /ℇsquilo 18:18, 29 September 2021 (UTC)
- I have noted that User:KrBot insists on changing "FLFl" (Fixed light with Long Flashes" to "FlFl". Even though FLFl is an odd characteristic, it is not wrong. FlFl on the other hand is nonsense. /ℇsquilo 18:15, 29 September 2021 (UTC)
Autofix for missing "W" (white)
[edit]I added one above for "(Fl|Iso|Oc) ([0-9]+)s". This currently finds 108. --- Jura 07:39, 29 April 2021 (UTC)