A set of Term templates for the rdfInterface
- A set of term templates allowing to match desired RDF named nodes, literals and quads.
To be used mainly as
- A convenient methods for extracting single terms and/or their values from
Usage examples can be found here (search for rdfInterface usage examples).
(all classes in the
|Match by||Supported operators||Match both named nodes and literals||Match only named nodes||Match only literals||Remarks|
|term's string value||==, <, >, <=, >=, starts with, ends with, contains, any value||
|term's numeric value||==, <, >, <=, >=, isnumeric||NA||NA||
|regex on term's string value||regex match||
 Supports filtering also by literal's lang (using == and any operators) and datatype (only using == operator).
 Supports both strict and non-strict mode. In the strict mode comparison with literals with non-numeric datatype returns
false no matter their value.
termTemplate\AnyOfTemplate- matches terms being equal to any of given array of
termTemplate\DatasetExtractors- provides a set of static methods for extracting
rdfInterface\Datasetquad elements as single
rdfInterface\Term, single value, array of
rdfInterface\Termor array of values.
- Obtain the Composer
composer require sweetrdf/term-templates
It's very incomplete but better than nothing.
RdfInterface documentation is included which explains the most important design decisions.