Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

NOT EXISTS filter doesn't seem to work with VALUES clause #122

Open
joernhees opened this Issue · 1 comment

3 participants

@joernhees

Tried on DBpedia endpoint:

This query works:

select ?t
where {
    dbpedia:Barack_Obama a ?t.
    FILTER(NOT EXISTS {
        ?t a dbpedia:foo.
    })
}

This doesn't:

select ?s ?t
where {
    ?s a ?t.
    FILTER(NOT EXISTS {
        ?t a dbpedia:foo.
    })
    VALUES (?s) { (dbpedia:Barack_Obama) (dbpedia:Angela_Merkel) }
}

No results?!?

Notice how it works in this one:

select ?s ?t
where {
    ?s a ?t.
    FILTER(NOT EXISTS {
        ?t a dbpedia:foo.
    })
    VALUES (?s) { (dbpedia:Barack_Obama) }
}
@HughWilliams
Collaborator

We are looking into this ...

@iv-an-ru iv-an-ru was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.