Skip to content

Commit

Permalink
Correct the edge name for category-code sample query
Browse files Browse the repository at this point in the history
  • Loading branch information
CoralineAda committed Jun 25, 2024
1 parent 61427b2 commit 7383967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/codebook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Codebook
def self.category_query(context)
{
explainer: "// Show me a graph of \"#{context}\"-related categories and their associated codes.",
query: "MATCH (cat:Category)-[:CATEGORIZES_AS]-(c:Code) WHERE cat.context=\"#{context}\" RETURN cat,c"
query: "MATCH (cat:Category)-[:CATEGORIZED_AS]-(c:Code) WHERE cat.context=\"#{context}\" RETURN cat,c"
}
end

Expand Down
1 change: 1 addition & 0 deletions db/neo4j/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
- '20240323194853'
- '20240323195422'
- '20240325234413'
- '20240412021416'
- '20240522013044'
- '20240607210627'
- '20240615023034'
Expand Down

0 comments on commit 7383967

Please sign in to comment.