fluree / core

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

Enable `select` Graph Crawl with Federated `:from` Queries #94

Closed aaj3f closed 2 months ago

aaj3f commented 3 months ago

Description

Related to fluree/core#34

Currently, federated queries work if the select statement only includes ?bindings established from the where clause. Federated queries do not, however, work if the select statement performs a graph crawl, e.g. in the following where the ?s binding is used in the select statement to crawl those subjects with {"?s": ["*"]}

{
    "@context": {
        "ex": "http://example.org/",
        "schema": "http://schema.org/"
    },
    "from": ["cookbook/base", "cookbook/base1"],
    "where": {
        "@id": "?s",
        "schema:name": "?name"
    },
    "select": {"?s": ["*"]}
}