W3C home > Mailing lists > Public > public-vocabs@w3.org > December 2013

Re: Marking up quotes that relate to known Freebase topics/people

From: Shawn Simister <simister@google.com>
Date: Thu, 5 Dec 2013 16:59:28 -0800
Message-ID: <CAPYFVRTsj6dyBza1yL13JXb8Y7oRKw-xGeF-8MBbjhSxa=B=oQ@mail.gmail.com>
To: Quotations Book <quotationsbook@gmail.com>
Cc: W3C Web Schemas Task Force <public-vocabs@w3.org>
Hey Amit,

Thanks for putting in the hard work to align your content with Freebase. Fo
what you're trying to accomplish you would use your own identifiers for the
item IDs and then use the sameAs <http://schema.org/sameAs> property to
align them with Freebase. Here's how I would mark up a quotation (once the
type is part of schema.org) using Microdata:

<div itemscope itemtype="http://schema.org/Quotation">
<p itemprop="description">Never let formal education get in the way of your
 <span itemprop="author" itemscope itemtype="http://schema.org/Person"
 <a itemprop="name" href="http://quotationsbook.com/quotes/author/7349/">Mark
 <meta itemprop="sameAs" content="http://www.freebase.com/m/014635" />
 </span> on
<span itemprop="about" ietmscope itemtype="http://schema.org/Thing" itemid="
 <a itemprop="name" href="http://quotationsbook.com/quotes/tag/learning/
 <meta itemprop="sameAs" content="http://www.freebase.com/m/0d846" />

On Thu, Dec 5, 2013 at 3:59 PM, Quotations Book <quotationsbook@gmail.com>wrote:

>  Hi everyone,
> I run a quotations site called http://quotationsbook.com and this might
> appear a newbie question, for which I apologise.
> I have previously requested a "quotation" a unique schema.org type which
> appears to be pending:
> http://www.w3.org/wiki/WebSchemas/QuotationSchema
> Unrelated to this, I have now disambiguated and know freebase unique
> entity ID's for the following two object-types on my site (painstaking!):
>    - Each author e.g. "Mark Twain". URL on my site:
>    http://quotationsbook.com/quotes/author/7349/ with Freebase ID:
>    http://www.freebase.com/m/014635
>    - Each topic e.g. "Hope". URL on my site:
>    http://quotationsbook.com/quotes/tag/hope/ / with Freebase ID:
>    http://www.freebase.com/m/0d846
> In fact, quotationsbook.com first generated that “Hope” topic and linked
> it as a “quotation subject”.
> In both cases, the problem I have is referencing the author and topic
> properly:
> - Firstly with the right schema.org markup for both author and topic
> (please send examples)
> - Secondly, how do I link the author and the topic to Freebase i.e.
> declare this page has quotes about the entity Mark Twain
> How do I achieve this markup, while also referencing existing Freebase
> entries which I know?
> Is it better to make top-level references to Freebase or to Wikipedia in
> the long-term?
> thanks
> Amit
> Founder, quotationsbook.com

Shawn Simister

Knowledge Developer Relations
Received on Friday, 6 December 2013 00:59:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:29:36 UTC