http://franz.com/ns/allegrograph/2.2/textindex/matchExpression

Perform AllegroGraph freetext expression queries.

Like the fti:match magic property, this magic property can be used in several ways:

  ?subject fti:matchExpression 'expression' .  

will perform a freetext expression query for 'expression' and bind ?subject to the subject of each triple found.

  (?subject ?textObject) fti:matchExpression 'expression' .  

will act as the first but will also bind ?textObject to the object of the triples found.

  ?subject fti:matchExpression ( 'expression' 'indexName' ) .  

and

  (?subject ?textObject) fti:matchExpression ( 'expression' 'indexName' ) .  

will perform a freetext expression search using only the specified index.

Notes

The following namespace abbreviations are used:

The SPARQL magic properties reference has additional information on using AllegroGraph magic properties and functions.