Cross-ledger query

Querying data across ledgers

Open Fluree UI at http://localhost:8090 and make the following query from the local/music ledger:

{
    "prefixes": {
        "art": "local/art"
    },
    "select": [
        "?artistName",
        "?title",
        "?coverArtworkId",
        { "?album": ["*"] }
    ],
    "where": [
        ["?album", "album/coverArtworkId", "?coverArtworkId"],
        ["art", "?artwork", "artwork/identifier", "?coverArtworkId"],
        ["art", "?artwork", "artwork/title", "?title"],
        ["art", "?artwork", "artwork/author", "?author"],
        ["art", "?author", "artist/name", "?artistName"]

    ]

}

It will cross join into local/art ledger and will bring back the name of the artist and the title for the cover:

Last updated