How to check if a string is null or empty in a SPARQL query?

rdf, sparql

Solution

Try this:

BIND(BOUND(?abc) && strlen(?abc)>0 as ?check)

Problem

How do I check and filter out empty strings using sparql.

Original source