suggestions-questions-brainstorming
suggestions-questions-brainstorming copied to clipboard
Add a Quotation type with supporting properties
https://www.w3.org/wiki/WebSchemas/QuotationSchema
- @danbri had some discussion at Wikimania 2014 w/ WikiQuote / Wikidata people.
- @benestar_wm hi! re https://meta.wikimedia.org/wiki/Structured_Wikiquote … maybe http://sdo-wip1.appspot.com/Quotation https://www.w3.org/wiki/WebSchemas/QuotationSchema … interesting?(link) ... I posted https://github.com/danbri/schemaorg/blob/sdo-quotation/data/sdo-quotation-schema.rdfa … while you were talking...(link)
- ~~http://sdo-wip1.appspot.com/Quotation~~ - test build currently offline
- Draft schema: https://github.com/danbri/schemaorg/blob/sdo-quotation/data/sdo-quotation-schema.rdfa
Draft schema (pretty basic)
<div typeof="rdf:Property" resource="http://schema.org/spokenByCharacter">
<span class="h" property="rdfs:label">spokenByCharacter</span>
<span property="rdfs:comment">The (e.g. fictional) character, Person or Organization to whom the quotation is attributed within the containing CreativeWork.</span>
<span>domainIncludes: <a property="http://schema.org/domainIncludes" href="http://schema.org/Quotation">Quotation</a></span>
<span>rangeIncludes: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Person">Person</a></span>
<span>rangeIncludes: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Organization">Organization</a></span>
</div>
This has been floating around forever. I have recently created a 'pending' schema to surface some of these ideas that have been stuck in review, so that they can be seen, implemented, reviewed without diving around inside the issue tracker.
http://pending.webschemas.org/Quotation
The old Wiki page linked above has some more potential properties that could be added. We also should add an example, especially showing how to include the main body of the quotation (via 'text' property).
May also be relevant to https://github.com/schemaorg/schemaorg/issues/1061 for fact-checking sites.
There are two types of examples: quotes from fiction and quotes by real people. As an example, of both:
{
"@context": "http://schema.org/",
"@type": "Quotation",
"spokenByCharacter": {
"@type": "Person",
"name": "Princess Leia"
},
"text": "Help my Obi Wan. You're my only hope.",
"isPartOf": {
"@type": "Movie",
"name": "Star Wars Episode IV: A New Hope"
}
}
{
"@context": "http://schema.org/",
"@type": "Quotation",
"creator": {
"@type": "Person",
"name": "Franklin Delano Roosevelt"
},
"text": "The only thing we have to fear is fear itself."
}
Updated http://pending.webschemas.org/Quotation with these examples.
Does anyone want to argue for the inclusion of more properties?
Or know where things got to in the Wikipedia/Wikidata world on this front? I found https://www.wikidata.org/wiki/Q19581108 in Wikidata but it seems incomplete.
Note that Vicki's examples simply use isPartOf for the quotation coming from a creative work; earlier sketches used http://schema.org/isBasedOnUrl
Structurally, I think this covers use cases in publishing without attempting to duplicate PROV-O or FRBR and friends. It would be a good idea to include examples of quotes from publications that are not intended to be credited to fictional characters. It is very common for a book or article to begin with an epigraph.
Something like this:
"@context": "http://schema.org/",
"@type": "Quotation",
"creator": {
"@type": "Person",
"name": "F Scott Fitzgerald"
},
"text": "So we beat on, boats against the current, borne ceaslessly into the past.",
"isPartOf": {
"@type": "CreativeWork",
"name": "The Great Gatsby"
}
Thanks, @TzviyaSiegman - are you also suggesting we should figure out a pattern to represent the case where a quote like this one appears within another work? Let's say a book chapter leads with this Great Gatsby quote, ... the example above captures the basics of the quote (who said it and where); but how should we tie that to the chapter itself? /cc @RichardWallis @dbs
Ingredients include:
- http://schema.org/citation
- http://schema.org/exampleOfWork / http://schema.org/workExample (FRBRish)
- http://schema.org/hasPart / http://schema.org/isPartOf
- http://schema.org/isBasedOnUrl (see schemaorg/schemaorg#950; could be renamed isBasedOn)
- http://schema.org/source (currently pulled into health-lifesci proposed extension structure but see schemaorg/schemaorg#579; see also schemaorg/schemaorg#975 /cc @darobin)
Yes, and I'm going to let @darobin answer.
On Mon, Apr 4, 2016 at 3:08 PM, Dan Brickley [email protected] wrote:
Thanks, @TzviyaSiegman https://github.com/TzviyaSiegman - are you also suggesting we should figure out a pattern to represent the case where a quote like this one appears within another work? Let's say a book chapter leads with this Great Gatsby quote, ... the example above captures the basics of the quote (who said it and where); but how should we tie that to the chapter itself? /cc @RichardWallis https://github.com/RichardWallis @dbs https://github.com/dbs
Ingredients include:
- http://schema.org/citation
- http://schema.org/exampleOfWork / http://schema.org/workExample (FRBRish)
- http://schema.org/hasPart / http://schema.org/isPartOf
- http://schema.org/isBasedOnUrl (see schemaorg/schemaorg#950 https://github.com/schemaorg/schemaorg/issues/950; could be renamed isBasedOn)
- http://schema.org/source (currently pulled into health-lifesci proposed extension structure but see schemaorg/schemaorg#579 https://github.com/schemaorg/schemaorg/issues/579; see also schemaorg/schemaorg#975 https://github.com/schemaorg/schemaorg/issues/975 /cc @darobin https://github.com/darobin)
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/schemaorg/schemaorg/issues/271#issuecomment-205451202
A http://schema.org/citation could be http://schema.org/isPartOf a http://bib.schema.org/Chapter
http://schema.org/citation is more about a work that cites another in its text. Source is a better match I believe for defining who or where a quotation came from. However the current definition of http://schema.org/source is way wide of what is needed here.
I have just posted a fix for schemaorg/schemaorg#950 so isBasedOn is now available. Queued at http://webschemas.org/isBasedOn
(assuming nobody objects, which I would predict is a reasonable assumption)
(Now I'm thinking isBasedOn was a poor name since property isn't boolean. Investigating whether we've used "is*" for non-booleans...)
@danbri isPartOf
Thanks @philbarker. I just looked at the data too :)
We have lots of relational properties with names beginning with "is*", so this is ok.
- isRelatedTo, isSimilarTo, isVariantOf, isConsumableFor, isBasedOnUrl, isPartOf, isAccessoryOrSparePartFor (relational)
- isAccessibleForFree,isGift, isFamilyFriendly, isLiveBroadcast (boolean valued)
(via ./scripts/rdfa2nt data/schema.rdfa | grep "Property" | grep '#type' | grep '/is' )
Guys, any idea when this will be published on schema.org? We are planing to implement it on www.quotetab.com. Is it possible to use it while it is in pending status and than once it is published to switch to real version?
Can we please avoid using "Quotation" for this and use e.g. "quote"? Quotation is also used in the commercial world and me might want to extend schema.org lateron to support commercial quotations.
martin hepp http://www.heppnetz.de [email protected] @mfhepp
On 04 Jul 2016, at 10:27, Semin Alkic [email protected] wrote:
Guys, any idea when this will be published on schema.org? We are planing to implement it on www.quotetab.com. Is it possible to use it while it is in pending status and than once it is published to switch to real version?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Business also uses "quote" extensively. I think we should go with "Quotation" and if we want to describe a price offered from a business, we should use something that sounds more clearly like that.
I can't speak for technical usage in ecommerce formats but my native speaker intuition for general colloquial usage is that "quote" is very widely used in the business / cost estimation sense and that "quotation", while used in both ways, leans somewhat to the "something someone said" sense.
My native speaker intuition concurs with @danbri
FWIW Google Finance (e.g.) uses these locally-extended schema.org types and properties that include "quote" (none contain "quotation"):
FinancialQuote afterHoursQuoteTime quoteTime
ok, no more objections against "Quotation" for the liberal arts and "Quote" for the business worlds ;-)
@mfhepp Thanks - I may quote you on that!
@danbri I am looking forward to the quotation ;-)
When doing so will you use single quotes or double quotes?
This is available in pending, http://pending.schema.org/Quotation
... any feedback on it? Should we move it towards inclusion in the core?
@danbri
-
Improve definition grammer...
A quotation from some work, attributable to a real world author and - if associated with a fictional character - to any fictional Person. Use isBasedOnUrl to link to source/origin.
-
Need to add or expand example to have the WHEN of the quotation. We have the property spokenByCharacter but no dateSpoken. We cannot use any dates from the CreativeWork because that aligns a work to a quote, but what if there is no creative work and a journalist has a need to state what date/time they got a quotation?...(see 3.)
For instance, how can we use Quotation to note the date/time of when Abraham Lincoln said "Four score and seven years ago our fathers brought forth on this continent a new nation..." without jumping hoops to linking it to the Gettysburg Address ?
-
The Quotation definition is narrowed a bit too much I think in the definition with the phrase..."from some work". Can we remove that ?
Hi, just saw this proposal; I was waiting for a schema.org for Quotations! I will implement it on our website PensieriParole as soon as it's released officially.
@thadguidry
I think dateSpoken
could be a duplication of dateCreated
. The dateCreated
in the case of the Quotation
to me refers to the date on which the Quotation
was conceived, so for a quotation from a book it's the date on which the book was written, for a part of a speech it will be the date on which the speech was written; datePublished
for a quotation from a book is the date of the publishing of the book, for a part of a speech it's the date on which the speech was given. I don't see any problem in linking the quotation dates to its "owning" creative work.
Could http://pending.schema.org/contentReferenceTime be useful for Quotation?
I have addressed @thadguidry 's points 1.) and 3.) with some minor edits.
2.) (spoken time) is partially addressed by noting that Event has recordedIn. As @ibobo mentions dateCreated, datePublished is relevant too.
Also many quotations are not spoken, they appear in literary form only. So I think that dateCreated is even more valid.
@Dataliberate the definition to date was very literary-minded, today's tweaks make it more applicable to quotations that don't have a canonical literary reference.
@danbri No, contentReferenceTime still mentions 'works' ... I don't care about 'works'. rNews doesn't have this idea of a 'date of a quote' either yet. And Apple News Format has the Type, but not WHEN properties on them yet Quote https://developer.apple.com/library/ios/documentation/General/Conceptual/Apple_News_Format_Ref/Quote.html#//apple_ref/doc/uid/TP40015408-CH32-SW1 and Pull Quote https://developer.apple.com/library/ios/documentation/General/Conceptual/Apple_News_Format_Ref/Pullquote.html#//apple_ref/doc/uid/TP40015408-CH31-SW1
re: 2. (spoken time) - I don't want to have to attach a quote to an Event. I just have a need to attach additional data about a Quote itself. When your a journalist... you write down who said what and when. We just need to capture all of these at a Quote level. Then the Wordpress, Drupal, and even rNews communities will have their cake.