Property talk:P3607
Latest comment: 6 years ago by Jura1 in topic "Item instance of (P31) = hotel (Q27686)" violations
Documentation
Booking.com hotel ID
identifier for a hotel on the Booking.com website
identifier for a hotel on the Booking.com website
[create Create a translatable help page (preferably in English) for this property to be included here]
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P3607#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P3607#Single value, hourly updated report, SPARQL List of violations of this constraint: Database reports/Constraint violations/P3607#Format, hourly updated report, SPARQL
Type “lodging (Q5056668), hotel (Q27686)”: item must contain property “instance of (P31), subclass of (P279)” with classes “lodging (Q5056668), hotel (Q27686)” 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/P3607#Type Q5056668, Q27686, 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/P3607#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): 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/P3607#Scope, SPARQL
Discussion edit
"Item instance of (P31) = hotel (Q27686)" violations edit
booking.com lists not only hotels, but guesthouses and hostels as well. hostel (Q654772) and guest house (Q2460422) should be valid too -- DerFussi 11:57, 18 April 2018 (UTC)
- Yeah. Maybe the type constraint I just added is sufficient.
--- Jura 12:08, 18 April 2018 (UTC)- Same problem here, Q70184123 is a bed and breakfast (Q367914) and is listed on Booking.com as Domaine de l'Amiral. Clearly it should be allowed to use the Booking.com hotel ID (P3607) property. Maybe a solution is to use accommodation facility (Q48835818) (or any subclasss of) as a constraint? not sure it covers all needed categories but it does cover bed and breakfast (Q367914) at least ;).