I'm trying to run this query in the SPARQL playground on GraphDB.
select * where {
?s content:value ?value .
FILTER REGEX(str(?value), "_:x1697BD364N0abcdd866d54")
}
?value
are BNodes
I'm trying to filter all values where the BNode ID is: _:x1697BD364N0abcdd866d54
I've tried a few different ways to filter by the ID:
FILTER REGEX(str(?value), "#bnode-id")
FILTER (?value), "#bnode-id")
but none was a success.
Questions:
- How would you filter based on a bnode id?
- Is it possible to STR(bnode) ?