Discussion:
Filter syntax
kumar rohit
2016-11-01 21:43:17 UTC
Permalink
+ "FILTER ( ?student =' "+name+" ' ) " //name can be any string

+ "FILTER ( ?student , ' "+name+" ' ) "

which syntax is correct? == sign or just comma sign?
And is regex keyword mandatory here? In which situation we should use regex
with Filter keyword?
Andy Seaborne
2016-11-01 22:13:07 UTC
Permalink
Post by kumar rohit
+ "FILTER ( ?student =' "+name+" ' ) " //name can be any string
+ "FILTER ( ?student , ' "+name+" ' ) "
which syntax is correct? == sign or just comma sign?
Syntax is shown in the SPARQL specification.

https://www.w3.org/TR/sparql11-query/
Post by kumar rohit
And is regex keyword mandatory here? In which situation we should use regex
with Filter keyword?
Loading...