Dependency Parse Tree

"Show me the sales report for the last quarter"
flowchart TD
    Show["Show (VB)"]:::root
    me["me (PRP)"]:::word
    report["report (NN)"]:::word
    the1["the (DT)"]:::word
    sales["sales (NN)"]:::word
    for["for (IN)"]:::word
    quarter["quarter (NN)"]:::word
    the2["the (DT)"]:::word
    last["last (JJ)"]:::word

    Show -->|dative| me
    Show -->|dobj| report
    report -->|det| the1
    report -->|compound| sales
    report -->|prep| for
    for -->|pobj| quarter
    quarter -->|det| the2
    quarter -->|amod| last

    classDef root fill:#e9ecef,stroke:#1a3a6c,stroke-width:3px,color:#1a3a6c,font-size:20px,font-weight:bold
    classDef word fill:#e9ecef,stroke:#495057,stroke-width:1.5px,color:#212529,font-size:16px

    linkStyle 0 stroke:#d32f2f,stroke-width:2.5px,color:#d32f2f,font-size:14px
    linkStyle 1 stroke:#d32f2f,stroke-width:2.5px,color:#d32f2f,font-size:14px
    linkStyle 2 stroke:#1976d2,stroke-width:2px,color:#1976d2,font-size:14px
    linkStyle 3 stroke:#1976d2,stroke-width:2px,color:#1976d2,font-size:14px
    linkStyle 4 stroke:#388e3c,stroke-width:2px,color:#388e3c,font-size:14px
    linkStyle 5 stroke:#388e3c,stroke-width:2px,color:#388e3c,font-size:14px
    linkStyle 6 stroke:#1976d2,stroke-width:2px,color:#1976d2,font-size:14px
    linkStyle 7 stroke:#1976d2,stroke-width:2px,color:#1976d2,font-size:14px
            
Dependency Relation Color Key
Core arguments (dative, dobj)
Modifiers (det, compound, amod)
Prepositional (prep, pobj)

Word Details

Hover a word to see its grammatical role.