---
title: Query examples
slug: graph/docs/query-examples
docTags: 
createdAt: 2026-07-30T20:30:19.179Z
---

Use the following query examples to learn common Optimizely Graph patterns:

- [Recent articles by category](docId\:T6I4cD51zXllEke7t_d5P) – Use Optimizely Graph queries to retrieve and display recent articles based on category filters.
- [Product search with inventory](docId\:i3hHufqOrP51-6gTCHVAu) – Use Optimizely Graph queries to search products by keyword, price range, and inventory status.
- [Block with image and metadata](docId\:fIJeUJXGsjGhYrRdAU_Cx) – Use block fragments to define reusable content structures (such as images, text, videos, and rich content) with metadata support.
