New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a way to express room number in Event location #545
Comments
Are you thinking that this would be a property added to PostalAddress, or Place? Or directly on the Event? Use case seems perfectly reasonable. |
I was thinking PostalAddress. However, if people want to be able to add properties to the room (floor number for example), maybe it should be a Place. I was hoping people would chime in before I started working on an implementation. |
Maybe it is cleaner to first define a subtype schema:Room for schema:Place and then maybe add room-specific properties? |
Might I suggest to have a look at how this is resolved in the acocmodation ontology http://ontologies.sti-innsbruck.at/acco/ns.html, something which might help in extending schema.org/Hotel's properties as well? |
I assume you have seen the "author" line at http://ontologies.sti-innsbruck.at/acco/ns.html ;-) ? Yes, indeed, I suggest that that ontology should be a starting point for a hotel extension for schema.org, because it is already aligned with additionalProperty and the commercial model in schema.org, i.e. room pricing will be straightforward. |
"I assume you have seen the "author" line at..." Yup, I was just wondering whether you were hesitant in mentioning it yourself, so I thought I might as well go ahead and do it. :) |
I was weighing two options:
|
FYI: I am working on a pull request for turning the Accommodation Ontology into a proper schema.org extension, which will give us a clear model for rooms in hotels and also other scenarios. Expect it in June. |
@mfhepp Great! Do you know where you will plug this in? In other words, how can I express an event is in a particular lecture hall at a university? |
I think (not yet firmly) that there will be subtypes of http://schema.org/Place, namely schema.org:HotelRoom and schema:MeetingRoom, or simply schema:Room. roomNumber should then be a property thereof. Then, you can use schema:Event -> location > schema:MeetingRoom -> roomNumber. How does that sound? (What we need to fix is how the rooms are included in hotel offers, but I have an idea for that). |
Not sure what you mean by 'semantic dead end' guha On Mon, Jun 1, 2015 at 8:26 AM, vholland notifications@github.com wrote:
|
@rvguha I meant that if we go with a roomName property, we can't later add the capacity of the room or other properties. |
@mfhepp It sounds promising. It would be nice to support the simple case of schema:Room, so we don't have to enumerate all of the possible room types. |
+1 to suggestion from @mfhepp. Re "simple case of schema:Room" wouldn't it be possible to create that, and On Fri, Jun 5, 2015 at 7:32 AM, vholland notifications@github.com wrote:
|
I actually think we will need all three - schema:Room (any room), schema:HotelRoom (a room for temporary lodging), and schema:MeetingRoom. But let's wait for my accommodation proposal. It should also cover this issue. Martin martin hepp http://www.heppnetz.de
|
@mfhepp Any news regarding |
Pretty high on my todo-list, but still pending ;-)
|
ping @mfhepp - anything to share? |
room number will be in the hotel pull request, preview: http://sdo-hotels.appspot.com/roomNumber will be finished and shared officially today. |
Currently, we have http://sdo-hotels.appspot.com/HotelRoom I could add a generic "Room" supertype if that helps in other applications. We could also merge all of them into one Room type, but actually I think the distinctions matter (HotelRooms have beds, MeetingRooms are a very particular kind of room often offered by business hotels). Shall I add a Room supertype to the hotels proposal? |
Whilst we are changing PostalAddress we should add 'apartment' or similar. On Tue, Sep 29, 2015 at 1:20 PM, Martin Hepp notifications@github.com
|
Shall I add a Room supertype to the hotels proposal? +1 |
+1 to a generic Room type for the odd cases we don't want to enumerate. Yes, adding roomNumber to PostalAddress helps. |
Why do we need such a super type? How is such a generic room different from guha On Tue, Sep 29, 2015 at 5:20 AM, Martin Hepp notifications@github.com
|
My thinking for a generic super type was that there are a lot cases we probably don't want to enumerate. For example, hotel ballrooms and movie theater screening rooms sometimes have room numbers. We could called these "meeting rooms", but it seems easier to have a super type. |
I'm not sure about adding different types of rooms. I wonder if I can book Guha's dining room for a wild party - but even if not, I don't think the room type is the key bit there so much as the service provided in the first place (e.g. hotel, fitness centre, sauna, restaurant, business centre - all of which might be available in a typical expensive hotel in most countries I have visited). The standard spanish or russian address both often require street number, building number, entrance number, floor number, and actual door number. At my basic street address I live in one of half a dozen apartments numbered 1B - which is recognised by most people as short hand for Floor: 1º Door: B but is often recorded in long form. There are "extra instructions" of all kinds. E.g. for delivery addresses: Addresses are hard. (NB @mfhepp I'm not sure what a CaliforniaKing is compared to other kinds, but "twin" beds are extremely common in Europe at least, and bunkbeds are not that uncommon in places people book as if they were hotels). |
It seems like there are two use cases for "roomNumber":
Can we split these use cases to make progress on each in parallel? For the first, adding "roomNumber" (or some other property name) to PostalAddress seems sufficient. As @chaals said, addresses are hard. For the second, we should run through some use cases to determine what information is already up on the web that could use markup. |
For the first - finding a place in more detail, I think we want something like "moreInformation" - which is what people who do deliveries tend to have, allowing you to put "attention So-and-so" or "use the key under the doormat to open the chiimney cover, let yourself in, drink the whisky and leave the presents", or "door number 37A, hidden behind the door numbered 30s" or whatever. For the second, I don't think this is what we are looking for. You reserve something, you get a place, which has an address or way to identify it, and you get a service (accommodation, wedding, schema.org development lesson, …). What you are reserving is more part of a service description - and that is where e.g. @mfhepp 's hotel extension giving more precise detail will actually be useful. |
Where are we on this? Can we break the larger proposal down into smaller parts so we can move forward? |
Room number is in the hotel proposal http://sdo-hotels.appspot.com/Room http://sdo-hotels.appspot.com/roomNumber I will finalize the proposal and send a pull request shortly. Martin martin hepp http://www.heppnetz.de
|
Chaals:
I have changed that in the proposal - you can now either use a text for the bed type or create your own instance of a http://sdo-hotels.appspot.com/BedType and attach a name, description, and image. This is a simpler mechanism than having hard-wired enumerations in the vocabulary but still allows adding images and descriptions to bed types. Martin |
Still think it would be useful to add roomNumber to Address. ~Richard. On Thu, Nov 12, 2015 at 10:40 AM, Martin Hepp notifications@github.com
|
@mfhepp - can you file an issue for the hotel room / accomodation topic, so that when the pull request comes it addresses the problem recorded in the issue? Am I right that we don't have a PR for http://sdo-hotels.appspot.com/docs/hotels.html yet? Is https://github.com/mfhepp/schemaorg/tree/hotels the place where it is being developed? |
I work for a museum, and would like to add room to events, and I'm trying to follow along here. Is the Room location in sdo-hotels proposed for Schema.org and not official yet, or is some subset for hotels only? Seeing this has all happened recently, I can understand if it still fails verification with Google. Thank you, |
@couloir007 A more specific type of room in sdo-hotels is: However, as per the breadcrumb path above "Room" is currently constituted as a more specific type of: Pinging @philbarker - I strongly suspect, based on my prior work on modelling brick-and-mortar courses, that a "Room" property will also be required by the course schema(s), since the current scope of the course extension encompasses "any type of educational course". |
Note that the fact that MeetingRoom is a subtype of Accommodation should not bother you, because the latter is essentially anything that can accommodate human beings, see the definition: "An accommodation is a place that can accommodate human beings, e.g. a hotel room, a camping pitch, or a meeting room. Many accommodations are for overnight stays, but this is not a mandatory requirement. For more specific types of accommodations not defined in schema.org, one can use additionalType with external vocabularies." Martin martin hepp http://www.heppnetz.de
|
The hotels extension is not yet part of the live version of schema.org, but I hope we can get it into the next release. Martinmartin hepp http://www.heppnetz.de
|
Thank you for the responses. I've commented out the Room for now until it validates, but probably doesn't much matter at this point. Being new to Schema.org, I'm still learning how best to implement it. Would the Room an event takes place in at a Museum be containedInPlace, as in the event is in a Room with an address at a Museum, or at a Museum with an address that containsPlace Room? |
Thanks @mfhepp. While I've doubtlessly got the modelling backwards, could this schema conceivably be employed in this fashion to declare a room location?
|
If this hasn't been needed in 4 years, we can probably close the issue until there is a driving use case. |
For many events, the location includes a room name. Schema.org should support a way to specify the room.
In some cases, rooms have numeric names containing floor and room number. For example, MIT's 26-100.
In other cases, the room name has no location information embedded in it. For example, Stanford's Berg Hall within the Li Ka Shing Center. Schema.org would need separate properties if we want to get to the level of floor number, etc.
The text was updated successfully, but these errors were encountered: