You can use regular expressions or operators in the SPARQL queries to filter the search.
Tutorials on how to code SPARQL queries are available on Internet but here is a reminder of the main regular expressions.
| Option | Description |
|---|---|
| AR | The sequence contains AR |
| ^S | The sequence begins with S |
| O$ | The sequence ends with O |
| D* | The sequence contains zero or more occurrences of D |
| M? | The sequence contains zero or one occurrence of M |
| m.*r | The sequence contains M followed by any character and R |
| m.*r, i | The sequence contains M followed by R ignoring case |
You can also use the following operators to express your query:
| Operator | Function |
|---|---|
| A && B | A and B |
| A UNION B | A or B |
| A=1 | A is equal to 1 |
| A != 5 | A is different from 5 |
| A < 10 | A is less than 10 |
| A > 50 | A is greater than 50 |
| A <= 100 | A is less than or equal to 100 |
| A >= 500 | A is greater than or equal to 500 |
| A >= 5 && A <= 10 | A is 5 - 10 |