Skip to content

Cypher Query Components Interactive Infographic

Run the Cypher Query Components Interactive Infographic MicroSim Fullscreen

About This MicroSim

This infographic breaks a Cypher query into its four core clauses — MATCH (find a graph pattern), WHERE (filter by properties), WITH (pipeline and aggregate), and RETURN (shape the output) — each shown with a healthcare example and color-coded. At the bottom, a complete query assembled from those clauses finds elderly patients with multiple chronic conditions, with each line colored to match its clause.

How to Use

Read each color-coded card from top to bottom to see what its clause does and a healthcare example of its syntax. Hover over any clause card to emphasize it and dim the others in the complete query at the bottom, making it easy to see exactly which line of the full query comes from which clause.

Iframe Embed Code

You can add this MicroSim to any web page by adding this to your HTML:

1
2
3
4
<iframe src="https://dmccreary.github.io/modeling-healthcare-data/sims/cypher-query-components-infographic/main.html"
        height="450px"
        width="100%"
        scrolling="no"></iframe>

Lesson Plan

Grade Level

9-12 (High School Geometry)

Duration

10-15 minutes

Prerequisites

TODO: List prerequisites.

Activities

  1. Exploration (5 min): TODO
  2. Guided Practice (5 min): TODO
  3. Assessment (5 min): TODO

Assessment

TODO: List assessment criteria.

References

  1. TODO: Add references.