Search code examples
google-searchschema.orgjson-ldgoogle-rich-snippetsstructured-data

Use Google Search to search for an attribute in a Recipe Rich Snippet


A lot of sites with recipes use http://schema.org/ markup, e.g.,

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Recipe",
  "cookTime": "PT0M",
  "datePublished": "2008-03-22",
  "description": "Lothars beste N&amp;uuml;rnberger Elisenlebkuchen, ein sehr sch&amp;ouml;nes Rezept mit Bild aus der Kategorie Kekse &amp;amp; Pl&amp;auml;tzchen. 602 Bewertungen: &amp;Oslash; 4,8. Tags: Backen, Kekse, Weihnachten",
  "image": "http://static.chefkoch-cdn.de/ck.de/rezepte/101/101059/850506-960x720-lothars-beste-nuernberger-elisenlebkuchen.jpg",
  "recipeIngredient": [
    "6  Ei(er) ",
    …

How can I search for pages with JSON-LD code in the webpage that are using this schema (e.g. identified by "@context": "http://schema.org" in combination with "@type": "Recipe") or maybe by an attribute recipeIngredient?


Solution

  • Google Search doesn’t offer an operator that would allow you to search for (Schema.org) types or property values.

    (Related: Google CSE allows you to create a custom search engine that only searches in pages with Schema.org Recipe markup.)