https://www.w3.org/wiki/api.php?action=feedcontributions&feedformat=atom&user=TguidryW3C Wiki - User contributions [en]2024-03-28T09:57:53ZUser contributionsMediaWiki 1.41.0https://www.w3.org/wiki/index.php?title=WebSchemas/MultipleTypesSDO&diff=71382WebSchemas/MultipleTypesSDO2014-01-08T19:57:07Z<p>Tguidry: HELP - Business making offer for Repair Services as a business function in an area</p>
<hr />
<div>==Multiple Types in Schema.org==<br />
<br />
<br />
=== Example example ===<br />
<br />
This is a trivial-example showing the wiki markup structure (look at the source within the wiki for details) for including pretty-printed HTML markup in a Wiki page:<br />
<br />
<syntaxhighlight lang="html4strict" line start="1" highlight="1"><br />
<div itemscope="" itemtype="http://schema.org/SoftwareApplication http://schema.org/MobileApplication"><br />
<p itemprop="operatingSystems">OSX 10.6</p>,<br />
<p itemprop="operatingSystems">Windows 7</p><br />
...<br />
</div><br />
</syntaxhighlight><br />
<br />
It also (to stay on topic) shows a Microdata syntax for mentioning multiple types. In this case it is quite a redundant example, since every MobileApplication is already known to be a SoftwareApplication too.<br />
<br />
Other notes:<br />
<br />
* for types in another vocabulary, the http://schema.org/additionalType property can be used in Microdata. In RDFa, the @typeof attribute can use multiple schemas directly.<br />
* the schema.org design has built-in multiple types for everything below LocalBusiness, since every LocalBusiness is both an Organization and a Place<br />
* A common candidate for multiple-typing is Product, since many other type hierarchies are things that also serve as Products<br />
<br />
=== Improve this example - Business making offer for Repair Services as a business function in an area ? ===<br />
<br />
<syntaxhighlight lang="html4strict" line start="1" highlight="1"><br />
<span itemprop="makesOffer" itemprop="name" itemscope itemtype="http://schema.org/Service" itemprop="http://schema.org/serviceType">Drywall Repair<br />
<span itemprop="http://schema.org/provider">John's Quik Repair</span><br />
<link itemtype="BusinessFunction" itemprop="url" href="http://purl.org/goodrelations/v1#Repair" itemprop="businessFunction" ><br />
Service Type: Repair<br />
</link><br />
<span itemprop="http://schema.org/serviceArea">Dallas - Fort Worth, Texas, USA</span><br />
</span><br />
</syntaxhighlight></div>Tguidryhttps://www.w3.org/wiki/index.php?title=Talk:WebSchemas/FictionalThing&diff=64153Talk:WebSchemas/FictionalThing2013-02-15T13:53:24Z<p>Tguidry: </p>
<hr />
<div>We need a '''created_by''' property as well (Stan Lee created the FictionalThing "Spiderman") [[User:Tguidry|Thad Guidry]] 13:32, 15 February 2013 (UTC)<br />
<br />
We might also need a '''part_of_Organization''' property as well, since many FictionalThing's are part_of or belong_to an Organization. [[User:Tguidry|Thad Guidry]] 13:53, 15 February 2013 (UTC)<br />
<br />
Another consideration is the need for '''FictionalUniverse''' where sometimes the FictionalThing is also a part_of one or many FictionalUniverse. In Freebase, we used FictionalUniverse to represent a separate concern from a BookSeries or FictionalSeries. However, a FictionalUniverse can be used to represent the same idea of a Franchise or Market that holds the characters, locations, and fictional works under a single Type. Marvel Universe (or just Marvel in marketing), Earthsea, Star Trek, Star Wars, Shrek, Hello Kitty, Dune universe (or just Dune in marketing), etc. [[User:Tguidry|Thad Guidry]] 13:53, 15 February 2013 (UTC)</div>Tguidryhttps://www.w3.org/wiki/index.php?title=Talk:WebSchemas/FictionalThing&diff=64142Talk:WebSchemas/FictionalThing2013-02-15T13:32:23Z<p>Tguidry: Created page with "We need a '''created_by''' property as well (Stan Lee created the FictionalThing "Spiderman") ~~~~"</p>
<hr />
<div>We need a '''created_by''' property as well (Stan Lee created the FictionalThing "Spiderman") [[User:Tguidry|Thad Guidry]] 13:32, 15 February 2013 (UTC)</div>Tguidry