New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Match nodes by label #8
Comments
@spranger: Yes! import networkx as nx
from grandcypher import GrandCypher
host = nx.DiGraph()
host.add_edge("spranger", "grandlite")
host.add_node("spranger", __labels__={"Person"})
host.add_node("grandlite", __labels__={"Repository"})
GrandCypher(host).run("MATCH (n:Person) RETURN n") See aplbrain/grand-cypher#22 for more details :) |
Thanks a lot. Regards |
the cypher ""MATCH (n:Person) RETURN n"" query fails:
my environment: python 3.12.1 |
Try updating Right now we only support entity labels using the MATCH (n)
WHERE n.type = "Person"
RETURN n |
Is their a way to match nodes by labels. eg. MATCH (p:Person) RETURN p.name?
The text was updated successfully, but these errors were encountered: