Skip to content

Commit 6c65c7f

Browse files
committed
Fix logic
1 parent f80a048 commit 6c65c7f

File tree

1 file changed

+3
-3
lines changed
  • src/app/docs/woql-variable-generation

1 file changed

+3
-3
lines changed

src/app/docs/woql-variable-generation/page.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,10 @@ const [innerPerson, details] = WOQL.vars_unique("person", "details");
388388

389389
const query = WOQL.and(
390390
WOQL.triple(outerPerson, "rdf:type", "@schema:Person"),
391-
WOQL.select([innerPerson, details],
391+
WOQL.select([details],
392392
WOQL.and(
393-
WOQL.triple(innerPerson, "details", details),
394-
WOQL.eq(innerPerson, outerPerson)
393+
WOQL.eq(innerPerson, outerPerson),
394+
WOQL.triple(innerPerson, "details", details)
395395
)
396396
)
397397
);

0 commit comments

Comments
 (0)