As for the problem at hand, I think the kind of extensibility you
would get by allowing multiple itemtype's is not very impressive. It
only makes sense if all the types you're using have the exact same
properties, which suggests that perhaps they shouldn't have distinct
types to begin with.
Philip
--
Philip Jägenstedt
<div itemscope itemtype="http://www.foo.com/Type1" itemid="http://acme.org/things#1">
<a itemprop="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" href="http://www.foo.com/Type2"></a>
</div>
This is e.g. useful if you want to combine schema.org and GoodRelations (http://purl.org/goodrelations/) elements in the same page.
Best
Martin Hepp
--------------------------------------------------------
martin hepp
e-business & web science research group
universitaet der bundeswehr muenchen
e-mail: he...@ebusiness-unibw.org
phone: +49-(0)89-6004-4217
fax: +49-(0)89-6004-4620
www: http://www.unibw.de/ebusiness/ (group)
http://www.heppnetz.de/ (personal)
skype: mfhepp
twitter: mfhepp
as said - simply using the full URI of rdf:type would do the trick. This would be compatible with other W3C standards.
Also - using a full URI in such advanced scenarios seems fine from my perspective.
--------------------------------------------------------
And that is the difference in <... class=name style="school:class;
school:classname;">
>> e-business& web science research group
>> universitaet der bundeswehr muenchen
>>
>> e-mail: �h...@ebusiness-unibw.org
>> phone: � +49-(0)89-6004-4217
>> fax: � � +49-(0)89-6004-4620
>> www: � �http://www.unibw.de/ebusiness/(group)
>> � � � � �http://www.heppnetz.de/(personal)
>> skype: � mfhepp
>> twitter: mfhepp- Hide quoted text -
>>
>> - Show quoted text -
>>
>
--
--- http://twitter.com/Dzonatas_Sol ---
Web Development, Software Engineering
Ag-Biotech, Virtual Reality, Consultant
<html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title> </head> <body itemscope itemtype="http://schema.org/WebPage"> <div itemprop="breadcrumb"> <a href="category/photographs.html">Photographs</a> <a href="category/photographsOfReceipies">Photographs of Receipes</a> </div> <!--Alternate BreadCrumbs... --> <div itemprop="breadcrumb"> <a href="category/Receipes.html">Receipes</a> <a href="category/ReceipiesInPhotographcs">Receipies in Photographs</a> </div> <div itemscope itemtype="http://schema.org/CreativeWork"> <span itemprop="name">Mom's World Famous Banana Bread</span> By <span itemprop="author"> John Smith</span>, <meta itemprop="publishDate" content="2009-05-08"> May 8, 2009 <img itemprop="image" src="bananabread.jpg" /> <span itemprop="description">This classic banana bread recipe comes from my mom -- the walnuts add a nice texture and flavor to the banana bread.</span> <div itemscope itemtype="http://schema.org/Photograph"> </div> <div itemscope itemtype="http://schema.org/Recipe"> Prep Time: <meta itemprop="prepTime" content="PT15M"> 15 minutes Cook time: <meta itemprop="cookTime" content="PT1H"> 1 hour Yield: <span itemprop="recipeYield">1 loaf</span> <div itemprop="nutrition" itemscope itemtype="http://schema.org/NutritionInformation"> Nutrition facts: <span itemprop="calories">240 calories</span>, <span itemprop="fatContent"> 9 grams fat</span> </div> Ingredients: - <span itemprop="ingredients">3 or 4 ripe bananas, smashed</span> - <span itemprop="ingredients">1 egg</span> - <span itemprop="ingredients">3/4 cup of sugar</span> ... Instructions: <span itemprop="recipeInstructions">Preheat the oven to 350 degrees. Mix in the ingredients in a bowl. Add the flour last. Pour the mixture into a loaf pan and bake for one hour. </span>140 comments: <meta itemprop="interactionCount" content="UserComments:140" /> From Janel, May 5 -- thank you, great recipe! ... </div> </div> </body> </html>
<div itemscope itemtype="http://schema.org/Photograph">
<div itemscope itemtype="http://schema.org/Recipe">
are not meant to introduce two items, but rather to introduce a set of properties for each category the creative work item may belongs to.
-----Original Message-----
From: schemaorg-...@googlegroups.com [mailto:schemaorg-...@googlegroups.com] On Behalf Of Christine Paluch
Sent: Saturday, June 18, 2011 9:08 AM
To: Schema.org Discussion
Subject: Re: Can a LocalBusiness have more than one Schema tag?
You are saying the recipe itself lost those properties, not the creative work?
The thing is from our perspective it is just a creative work, but creative works have multiple categories. This is not an inherit of situation as you may think. We will not necessarily know at the category level if one thing is inherit of another. To us it is a creative work with multiple categories. Better example...a mixed media art piece.
These are the categories
Photograph
Painting
Mixed Media
Digital Art
We don't know what the art piece looks like. We cannot manipulate or figure out what categories there are and how they relate. To us this is just a creative work somebody submitted with multiple categories.
The art piece probably falls under all of these categories. What should we do...
Call it a creative work, and contain the categories within it. You are not saying you lose the properties of creative work are you? No these categories are contained within a creative work, it is still in fact a creative work. But these categories are all important, they are what the thing is. The creative work is multiple things, but ultimately still a creative work. You cannot have painting and photograph both at the high level, the inherit of level, but this piece from our perspective contains both (it is inherently a painting and a photograph, among other things). It may be a painting which contained a photograph that was then digitally manipulated. The system itself is blind, and it is not individuals doing the markup, its programmed machines.
Ultimately though, we do not know. To us the categories are always "contained within" a creative work, rather than "inherit of", that may be the flaw of schema, the "inherit of" and limiting things to one category at top. Since there is no way of knowing the primary nature of a creative work. That is the problem with putting a category at a high level as the examples are on schema, a thing can have multiple categories, be it a business or a creative work. Making something "inherit of" on a category basis, and only allowing it once, loses something. The best thing to do is expand on what can be contained within creative work, and allow "contained within" to deal with categories as an alternative.
The advice may be to expand creative work, and what can be contained within a creative work, derived from it.
To us the recipe and the photograph are one creative work. We don't see the recipe as the "inherit of" part of what it is, again the photograph may be the "inherit of". We have no way of knowing, it may be a photographers artistic picture of an old recipe, rather than a recipe that contains an image. To us it is a single creative work that contains multiple categories, and while something may be lost, it is still just a single creative work with user assigned categories, and the relationship of these categories we are blind to as well.
Again...our perspective and may be a different way of thinking out it. Custom doing attributes to each creative work and the "inherit of" aspect at the high level for what are essentially categories may be what is part of the problem. You may have to treat creative work in a general sense and allow for multiple attributes, including multiple categories in our perspective.
Yes, something may be lost, but in reality it may be more reflective of how things whether they be creative works or businesses, often have multiple categories.