Property talk:P8702

Latest comment: 3 years ago by VIGNERON in topic Constraints

Documentation

parallel street
closest street(s) that run parallel to the item
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “thoroughfare (Q83620): item must contain property “instance of (P31)” with classes “thoroughfare (Q83620)” 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/P8702#Type Q83620, SPARQL
Value type “thoroughfare (Q83620): 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 thoroughfare (Q83620) (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/P8702#Value type Q83620, SPARQL
Symmetric property: if [item A] has this property linked to [item B], then [item B] should also have this property linked to [item A]. (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/P8702#Symmetric, SPARQL
Qualifiers “direction relative to location (P654): this property should be used only with the listed qualifiers. (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/P8702#allowed qualifiers, SPARQL
Scope is as main value (Q54828448): 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/P8702#Scope, 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/P8702#Entity types

Constraints edit

Hi

@Jura1, NMaia, Paperoastro:

FYI, I removed the class street (Q79007) as it's already a subclass of thoroughfare (Q83620) (see Special:Diff/1291368641).

Also, since 2 thoroughfares are parallel when they have (at least) 2 other thoroughfares in common via shares border with (P47) (per basic geometry) I wonder if we can built a complexe constraint and/or should automatically populate this property since we already have the information with shares border with (P47) (or connects with (P2789), the model is not consistent on that point).

WDYT?

Cheers, VIGNERON (talk) 16:57, 14 October 2020 (UTC)Reply

Return to "P8702" page.