schema.org

What is the relation between Schema.org, Goodrelations-vocabulary.org and Productontology.org?

依然范特西╮ 提交于 2019-11-30 19:55:34
问题 What is the relation between Schema.org, Goodrelations-vocabulary.org and Productontology.org? Schema.org informs, "W3C schema.org Community Group is the main forum for the project". Google, Microsoft, Yahoo and Yandex are founding companies. Are Google, Microsoft, Yahoo and Yandex accepting Goodrelations-vocabulary.org and Productontology.org standard as well? If not, is it good idea to use them for future? Although Google did not mention, I read that there are some differences regarding

Schema for an actor/actress Person

北城余情 提交于 2019-11-30 06:04:06
问题 How could I represent the Movie, TVSeries or any other CreativeWork items a Person acted or participated in? I mean, something like: { "@context": "http://schema.org/", "@type": "http://schema.org/Person", "name": "John Doe", "performerIn" : [ { "@type": "http://schema.org/Movie", "name": "A Movie" }, { "@type": "http://schema.org/Movie", "name": "Another Movie" } ] } Unfortunately, performerIn works only for Event items. 回答1: For an actor in a Movie / TVSeries /etc., you can use the actor

Can Schema.org Expected Types be collections, too?

家住魔仙堡 提交于 2019-11-29 16:56:39
A Schema.org object of type Person can have a sameAs property of type URL . According to Google's structured data site , the sameAs property can be a single item or an array. The docs on Schema.org do not mention whether sameAs can be a single item or an array. Is this just Google deviating from Schema.org? Or is it the case that all properties in Schema.org can be single items or arrays? Every Schema.org property can have multiple values. It doesn’t necessarily make sense for some properties (e.g., birthDate ), but it’s still allowed. In JSON-LD: "sameAs": ["/foo", "/bar"], In Microdata:

Can you use plain text for addresses in schema.org markup?

 ̄綄美尐妖づ 提交于 2019-11-29 15:25:54
I have a CMS that has a single text field for an Organization address. The data is stored very inconsistently and, in many cases, I'm dealing with city/state only. I'm fairly new to schema.org and would like to know if I can simply do something like the following to handle the markup: <p itemprop="address">Some city, WY</p> As I said, I'm new to all this, but I guess I'm using the "Microdata" format. Yes, you may use text as value for address . While its expected value is another item (namely PostalAddress ) instead of text, Schema.org does not require this (bold emphasis mine): While we would

Google SDTT error: “All values provided for http://www.example.com/ must have the same domain.”

倾然丶 夕夏残阳落幕 提交于 2019-11-29 12:38:30
问题 When I copy/paste JSON-LD example from Google Documentation (code-snippet below) I get an error in the Structured Data Testing Tool: http://www.your-company-site.com (All values provided for http://www.example.com/ must have the same domain.) Why is Google's own documentation example giving an error? Code snippet from Google’s documentation: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Organization", "url": "http://www.your-company-site.com", "contactPoint"

Linking independent elements in Microdata

可紊 提交于 2019-11-29 12:31:19
I'm creating a site about an author. He is the main-topic. On this site his written books are shown, too. Unfortunately, I can't find a solution to link these books to the main person-element. I tried itemref , but it doesn't work when linking to such 'independent' element, which has no itemprop value (says the Google testing tool). Both following "book"-cases don't work. <div id="author" itemscope="" itemtype="http://schema.org/Person"> <span itemprop="name">Marvin</span> </div> <div itemscope="" itemtype="http://schema.org/Book"> <span itemprop="name">Nice Book</span> <meta itemprop="author"

Schema.org: Use Microdata, RDFa or JSON-LD?

六月ゝ 毕业季﹏ 提交于 2019-11-29 11:13:52
Are there any advantages/disadvantages in using a specific format for http://www.schema.org/Product ? Something like "Searchengines understand Microdata better than JSON-LD"? I would like to use JSON-LD, because it doesn't mess-up with your html-code, but I'm not sure if it would be better concerning the searchengines to use Microdata. unor There is no general answer, it depends on the consumer of the data. A specific consumer supports a specific set of syntaxes, and might or might not recommend a subset of these supported syntaxes. Because search engines usually try to make sure not to get

The correct approach to markup “keywords” of a blog post by using HTML5 and Microdata?

牧云@^-^@ 提交于 2019-11-29 05:05:50
The keywords property from Schema.org, as it being in plural form suggests, seems to imply its value should be a line of comma-separated text . Like the following example: <p itemprop="keywords">lorem, ipsum, dolor, sit, amet</p> That reminds me of the <meta name="keywords" content="lorem, ipsum, dolor, sit, amet"> tag we used to put within <head></head> for SEO reason. However, from semantics' perspective, I think the above example is incorrect because keywords should be a list of words . Thus it should be markuped by using the <ul> element. Is there a common consensus on how the keywords of

How do I relate items in schema.org?

非 Y 不嫁゛ 提交于 2019-11-29 01:40:33
Suppose I have this simple HTML page about a guy getting a job: <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>New Job for John Doe</title> </head> <body> <h1>New Job for John Doe</h1> <p>This week John Doe accepted an offer to become a Software Engineer at MITRE. John graduated from MIT in 2005 with a BS in Computer Science. He previously worked at a small company near Boston. Blah, blah, blah.</p> <p>The MITRE Corporation is a not-for-profit organization chartered to work in the public interest. The MITRE Corporation has two principal locations: Bedford, Massachusetts, and

Microdata or JSON-LD? I'm confused

我的梦境 提交于 2019-11-28 16:49:23
I haven't found a clear and updated answer, even after googling for a few hours, so here it goes: I am aware of the advantages and disadvantages of both Microdata and JSON-LD. I also know that Microdata was dropped from W3C (and consequently from the browsers' API). What I'm not sure about is that how it will affect any site where Microdata is used specifically for SEO purpose. Does Google support JSON-LD for SERPs? What format does it recommend to use? I am looking for updated answers - not from 2011 or 2012 (if they are still applicable though, feel free to post it). What is more appropriate