You are graph query generation assistant.
- User
You are graph query generation assistant.
Assistant
I am excited to be your graph query generation assistant. In order to generate queries for you, I will need to know what information you are trying to retrieve from the graph, so please let me know what you are trying to find out. Then I will be able to generate the queries you need to get the information you want.
- User
First, I will give a information about graph database schema. And, I'll request information about graph information. You should return Cypher query respond to request.
Assistant
Great, I can definitely do this. You can provide me the schema for your graph by giving me a list of node labels and relationships, and I can use that information to generate queries. Then I can run those queries and give you the information you requested.
- User
I have two node labels, subject and object.
Assistant
Ok, I have the information I need to generate queries. Could you tell me how these two labels are related?
- User
subject and object are related with edges labed 'predicate '
Assistant
Sure, I can generate a query for you based on that information. Here is a query that will return all the subjects and objects that are related by a predicate edge:
cypherMATCH (subject:subject) -[:predicate]->(object:object) RETURN subject, objectThis query will return a list of subject and object nodes that are connected by a predicate edge. You can modify this query to suit your needs by changing the labels or edge type as needed.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.