Function | AllegroGraph 7.3.2 (original) (raw)
http://franz.com/ns/allegrograph/6.5.0/parseFreetextQuery
Parse the freetext indexing expression into an equivalent s-expression syntax.
This is the function that the fti:match magic predicate uses to convert a query into an AllegroGraph freetext indexing expression. For example:
<http://franz.com/ns/allegrograph/6.5.0/parseFreetextQuery>('soccer | foot*')
would return the string '(:or "soccer" (:match "foot*")))'
Notes
The following namespace abbreviations are used:
- fti - http://franz.com/ns/allegrograph/2.2/textindex/
- geo - http://franz.com/ns/allegrograph/3.0/geospatial/
- geofn - http://franz.com/ns/allegrograph/3.0/geospatial/fn/
- nd - http://franz.com/ns/allegrograph/5.0/geo/nd#
- ndfn - http://franz.com/ns/allegrograph/5.0/geo/nd/fn#
- sna - http://franz.com/ns/allegrograph/4.11/sna/
The SPARQL magic properties reference has additional information on using AllegroGraph magic properties and functions.