Skip to content

boolean value in FlureeQL Query #718

Answered by Domenic-MZS
keispace asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @keispace, that indeed seems like a bug. It may be related to issue #522 (already fixed), but in this case, the issue lies within the where clause.

Although, you can leverage that functionality by using filters on a logical variable.

{
    "@context": {
        "ex": "http://example.org/",
        "schema": "http://schema.org/",
        "f": "https://ns.flur.ee/ledger#",
        "rdfs": "http://www.w3.org/2000/01/rdf-schema#"
    },
    "from": "test/test",
    "where": [
        {
            "@id": "?s",
            "@type": "Event",
            "ex:public": "?public"
        },
        [
            "filter",
            "(not ?public)"
        ]
    ],
    "select": {
        "?s":…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Domenic-MZS
Comment options

Answer selected by keispace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants