Skeleton grammar supporting blocks, comments, strings, numbers, and identifiers. Full DQL keyword support planned for Phase 2.
19 lines
217 B
Plaintext
19 lines
217 B
Plaintext
# Simple DQL query
|
|
{
|
|
me(func: eq(name, "Alice")) {
|
|
name
|
|
age
|
|
friend @filter(ge(age, 21)) {
|
|
name
|
|
}
|
|
}
|
|
}
|
|
|
|
# Mutation example
|
|
{
|
|
set {
|
|
_:alice <name> "Alice" .
|
|
_:alice <age> "30" .
|
|
}
|
|
}
|