- From: Muri, Allison <allison.muri@usask.ca>
- Date: Tue, 29 May 2018 21:57:51 +0000
- To: Thad Guidry <thadguidry@gmail.com>
- CC: Martynas Jusevičius <martynas@atomgraph.com>, "Manolis Koubarakis" <koubarak@di.uoa.gr>, chaals is Charles McCathie Nevile <chaals@yandex.ru>, "public-schemaorg@w3.org" <public-schemaorg@w3.org>
- Message-ID: <8460236C-56E5-4F29-8843-0DFADC295879@usask.ca>
Okay! That is good advice. Pretty soon all 250 pages of the 1729 edition of Alexander Pope's Dunciad Variorum will be completely marked up using the schema.org<http://schema.org> vocabulary. And to the Web: you're welcome :-)
On May 29, 2018, at 3:52 PM, Thad Guidry <thadguidry@gmail.com<mailto:thadguidry@gmail.com>> wrote:
Ignore most errors from Google's Structured Data Testing Tool when you dealing with Things from Long-Tail Domains :) Because your creating that Domain knowledge to begin with :) And the Web thanks you !
-Thad
On Tue, May 29, 2018 at 4:50 PM Muri, Allison <allison.muri@usask.ca<mailto:allison.muri@usask.ca>> wrote:
This will work just fine, if it's considered valid. I just registered with Bing and tried its microdata testing tool and that use of Event is fine according to that tool. I was a bit confused because Google's Structured Data Testing Tool shows 2 errors and 5 warnings for the following markup:
the <span itemscope itemtype="http://schema.org/Event"><span itemprop="name">Trojan war</span></span>
It says "A value for the location field is required." and "A value for the startDate field is required."
Thank you, Thad.
- Allison
On May 29, 2018, at 3:13 PM, Thad Guidry <thadguidry@gmail.com<mailto:thadguidry@gmail.com>> wrote:
Allison and Roger... see examples below. Yes, you can still use Event. When you don't have a startDate or endDate, then just leave them excluded. The use of additionalType and referencing other ontologies or Wikidata is quite useful and a generally accepted best practice when you need to easily subtype things that Schema.org<http://schema.org/> has only general types available.
{
"@context": "http://schema.org<http://schema.org/>",
"@type": "Event",
"sameAs": "https://www.wikidata.org/wiki/Q327052",
"additionalType": "https://www.wikidata.org/wiki/Q15815670",
"name": "Battle of Aachen",
"startDate": "2 October 1944",
"description": "major conflict during World War II",
"endDate": "21 October 1944"
}
{
"@context": "http://schema.org<http://schema.org/>",
"@type": "Event",
"sameAs": "https://www.wikidata.org/wiki/Q11761",
"additionalType": "https://www.wikidata.org/wiki/Q15401699",
"name": "Bronze Age",
"description": "prehistoric period",
"about": "Historical Event"
}
Any other questions ?
-Thad
....................................................
Allison Muri
Department of English
Arts 418
University of Saskatchewan
Saskatoon, SK, Canada
ph: 306.966.5503<tel:(306)%20966-5503>
....................................................
Allison Muri
Department of English
Arts 418
University of Saskatchewan
Saskatoon, SK, Canada
ph: 306.966.5503
Received on Tuesday, 29 May 2018 21:58:18 UTC