W3C home > Mailing lists > Public > public-vocabs@w3.org > April 2015

relating IndividualProduct to Product

From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
Date: Fri, 10 Apr 2015 15:52:25 +0200
Message-ID: <5527D599.8000006@wwelves.org>
To: "public-vocabs@w3.org" <public-vocabs@w3.org>
CC: mfhepp@gmail.com
Hello,

Looking at
* http://schema.org/Product
  "Any offered product or service. For example: a pair of shoes; a
concert ticket; the rental of a car; a haircut; or an episode of a TV
show streamed online."
* http://schema.org/IndividualProduct
  "A single, identifiable product instance (e.g. a laptop with a
particular serial number)."

I struggle to understand how I can specify for IndividualProduct just
URI of the relevant Product. For example

{
  "@id": "https://www.fairphone.com/fairphone",
  "@type": "Product",
  "name": "The Fairphone"
}

{
  "@id": "https://graph.wwelves.org/704e3a57-c09e-4846-b27a-d31854096572"
  "@type": "IndividualProduct",
  "name": "A Fairphone currently used by elf Pavlik",
  "serialNumber": "2092043924022"
}

I understand that I could *duplicate* all the values of properties from
* https://www.fairphone.com/fairphone
on
* https://graph.wwelves.org/704e3a57-c09e-4846-b27a-d31854096572
But I would prefer to just reference it by URI and if needed embed
information about Product resource in document describing
IndividualProduct resource. And the generic data about Product would
keep https://www.fairphone.com/fairphone as its subject.

Thank you for help with understanding how to do that, or pointing out
flaws in my approach.

Cheers!


Received on Friday, 10 April 2015 13:52:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:49:40 UTC