정두희 Give me at least 5 templates of natural language query, Cypher query and…
- User
정두희 Give me at least 5 templates of natural language query, Cypher query and corresponding triplet. There are some additional instructions like:
- entity, attribute and value should be replaced with {entity}, {attribute} and {value} for generalization.
- You can use {value2} or {value3} to make complex query.
- show at least 3 corresponding entity, attribute and value as 'sample_triplet' together. Example is like: {natural_query: "Find {entity}s where {attribute} starts with '{value}'", cypher_query: "MATCH (n:{entity}) WHERE n.{attribute} STARTS WITH '{value}' RETURN n", sample_triplets: user, user_id, N}
- Assistant
Sure, I'd be happy to help! Here are five templates of natural language queries, Cypher queries, and corresponding triplets, along with sample triplets for each:
-
Natural Query: "Show me {entity}s where {attribute} is greater than {value}" Cypher Query: "MATCH (n:{entity}) WHERE n.{attribute} > {value} RETURN n" Sample Triplets:
- product, price, 100
- employee, salary, 50000
- order, quantity, 10
-
Natural Query: "Find {entity}s that have {attribute} containing '{value}' and {attribute2} equal to {value2}" Cypher Query: "MATCH (n:{entity}) WHERE n.{attribute} CONTAINS '{value}' AND n.{attribute2} = {value2} RETURN n" Sample Triplets:
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.