Re: Historical events

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> 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> 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 has only general types available.
>
> {
>   "@context": "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",
>   "@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 <(306)%20966-5503>
>

Received on Tuesday, 29 May 2018 21:53:30 UTC