schemaorg / suggestions-questions-brainstorming

Suggestions, questions, and brainstorming
19 stars 15 forks source link

What is Fruits vocabulary in schema.org and how to implement it? #81

Open alianz2020 opened 5 years ago

Aaranged commented 5 years ago

If by "fruit" you mean the sweet and fleshy product of a tree or other plant that contains seed and can be eaten as food ... there is no vocabulary for this type of thing.

See schemaorg/schemaorg#746 for a proposal related to this (note that while the issue title refers to animals, the discussion evolved to incorporate vocabulary for plants).

alianz2020 commented 5 years ago

"there is no vocabulary for this type of thing" means there a big gap in Vocabulary. There are subtypes of HousePlant, OrnamentalPlant, AgriculturalPlant etc and animals broken into subtypes of Pet and Livestock. Fruits have subtypes like Dry fruits and fleshy fruits. like "Apple" is a fleshy fruit and it's own have sub categories.
Jonagold Apple Cameo Apple Empire Apple Golden Delicious Apple Red Delicious Apple Gala Apple, etc Nutrient profile Calories: Carbohydrate Fiber Sugar Vitamins etc Suggest the vocabulary

mfhepp commented 5 years ago

Note that you can always use the types from www.productontology.org for more precise markup for any plant or species. www.productontology.org will provide a valid class definition for anything that has a Wikipedia entry, and this is likely any scientifically accepted plant or species on earth.

Examples:

http://www.productontology.org/doc/Sweet_potato http://www.productontology.org/doc/Fuji_(apple) http://www.productontology.org/doc/Granny_Smith http://www.productontology.org/doc/Gala_(apple) http://www.productontology.org/doc/Cameo_(apple)

In Microdata syntax, use the best matching schema.org type as the actual type and the www.productontology.org type as the additional using schema:additionalType:

<!DOCTYPE html>

An offer to sell a / some Cameo_(apple)
.. a short name for the object ... Product description: ... a longer description ...
$19.99 In stock

In JSON-LD, you could simply use multiple values for @type with an enclosing bracket, like so:

"@type": ["Product", "http://www.productontology.org/id/Gala_(apple)"]

but since some Google tools don't properly handle types from external vocabularies, it is safer to use schema:additionalType here, too:

Hope that helps.

Martin

On 22. May 2019, at 08:02, alianz2020 notifications@github.com wrote:

"there is no vocabulary for this type of thing" means there a big gap in Vocabulary. There are subtypes of HousePlant, OrnamentalPlant, AgriculturalPlant etc and animals broken into subtypes of Pet and Livestock. Fruits have subtypes like Dry fruits and fleshy fruits. like "Apple" is a fleshy fruit and it's own have sub categories. Jonagold Apple Cameo Apple Empire Apple Golden Delicious Apple Red Delicious Apple Gala Apple, etc Nutrient profile Calories: Carbohydrate Fiber Sugar Vitamins etc Suggest the vocabulary

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

alianz2020 commented 5 years ago

We could consider adding a "Fruit" in sub type of product. Assuming that "Fruit" is an artificial product which produce in a factory. Fruit is not a person and not thing and product. It has natural specification and multi types of natural entities. It covers lot of use cases like Name, Price, Types, Category, and nutrition information, place of craft, craft season, natural remedy for disease and etc. Search Engines should understand the natural entities and artificial entities. What about the proposal to consider the "Fruits" in term of individual entities due to natural entities and specifications?

philbarker commented 5 years ago

Assuming that "Fruit" is an artificial product which produce in a factory.

@alianz2020 I think you make a mistake here. A product can be naturally produced by a plant.

alianz2020 commented 5 years ago

My intent to get result for apple fruit in SERP but at query "Apple" I found result as electronic product or company like below picture. I think this was due to this @Aaranged "fruit" you mean the sweet and fleshy product of a tree or other plant that contains seed and can be eaten as food ... there is no vocabulary for this type of thing.

Capture

But i think result should be like that. Capture2 If we consider fruits as below, I think its perfect to giving natural meaning to fruits on internet.

<div itemscope itemtype=”http;//schema.org/Fruits”>
<span itemprop=”name”>Apple</span>
<span itemprop=”price”>$6.00</span>
<span itemprop=”type”>Dry / Fleshy</span>
<span itemprop=”Category”>Cameo / Golden Delicious / Red Delicious etc</span>
<span itemprop="Calories">200 calories</span>
<span itemprop="Vitamins">C</span>
<span itemprop=”description”>apple is good for diabetes</span>
</div>
RichardWallis commented 4 years ago

See issue #7 for the context of the move from the main Schema.org issue tracker to this repository.