How can I make a proper SPARQL query to filter out entities using their IRI? Currently, I am getting empty set when I try to filter by IRI.
I am using Blazegraph DB and I run this SPARQL query:
SELECT ?y ?p ?g
WHERE
> { ?y ?p ?g .
FILTER regex(?g, "Svet", "i") }
The result is the following: Result filter by Object
But when I run the query on the same data by subject:
SELECT ?y ?p ?g
WHERE
{ ?y ?p ?g .
FILTER regex(?y, "www", "i") }
I get an empty result: Result filter by Subject
From SPARQL 1.1:
In Blazegraph, there is a query hint which is equivalent of always using
str():There is also a system property which is equivalent of always using this query hint: