Changes between Version 11 and Version 12 of SPARQLExtensions
- Timestamp:
- 01/19/10 16:27:36 (8 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SPARQLExtensions
v11 v12 9 9 === textlike === 10 10 11 The predicate `http://openanzo.org/ predicates/textlike` can be used within a SPARQL query to find literals that match a certain wildcard pattern. This is similar to and uses the same syntax as SQL's `%` operator. For example, the following query finds articles whose title contains the word `Anzo`:11 The predicate `http://openanzo.org/ontologies/2008/07/Anzo#textlike` can be used within a SPARQL query to find literals that match a certain wildcard pattern. This is similar to and uses the same syntax as SQL's `%` operator. For example, the following query finds articles whose title contains the word `Anzo`: 12 12 13 13 {{{ … … 33 33 === textmatch === 34 34 35 The predicate `http://openanzo.org/ predicates/textmatch` allows a SPARQL query access to Anzo's text-indexing capabilities. (@@ link to text-indexing docs needed)`textmatch` is similar to `textlike` in that it relates a literal value to a search string; however, `textmatch` uses specialized text indexes that allow a broader range of search options. Further, because `textmatch` is executed against a specialized text index that also contains 'nearby' subject and property data, queries using `textmatch` can often be executed without going to the underlying database at all.35 The predicate `http://openanzo.org/ontologies/2008/07/Anzo#textmatch` allows a SPARQL query access to Anzo's text-indexing capabilities. `textmatch` is similar to `textlike` in that it relates a literal value to a search string; however, `textmatch` uses specialized text indexes that allow a broader range of search options. Further, because `textmatch` is executed against a specialized text index that also contains 'nearby' subject and property data, queries using `textmatch` can often be executed without going to the underlying database at all. 36 36 37 37 @@ example of more complex search using textmatch
