fluree / core

Fluree releases and public bug reports
0 stars 0 forks source link

filter doesn't work on variable predicates #93

Closed chrisdostert closed 2 months ago

chrisdostert commented 3 months ago

When querying with a variable predicate, filter does not work.

To Reproduce Steps to reproduce the behavior:

  1. transact a subject with a firstName predicate and an object of "Elon"
  2. query
    "where": [
    {
        "@id": "?id",
        "?o": "?p"
    },
    [
        "filter",
        "(contains ?p \"Elon\")"
    ]
    ],
    "select": {
    "?id": ["*"]
    }

Expected behavior Elon is returned

System (please complete the following information):

zonotope commented 2 months ago

This has been fixed in https://github.com/fluree/db/pull/746