Availability:
:- use_module(library(semweb/rdf_litindex)).
rdf_find_literals(+Spec, 
-ListOfLiterals)- and(Spec1, Spec2)
 - Intersection of both specifications.
 - or(Spec1, Spec2)
 - Union of both specifications.
 - not(Spec)
 - Negation of Spec. After translation of the full specification to Disjunctive Normal Form (DNF), negations are only allowed inside a conjunction with at least one positive literal.
 - case(Word)
 - Matches all literals containing the word Word, doing the match case insensitive and after removing diacritics.
 - stem(Like)
 - Matches all literals containing at least one word that has the same stem as Like using the Porter stem algorithm. See NLP package for details.
 - sounds(Like)
 - Matches all literals containing at least one word that `sounds like' Like using the double metaphone algorithm. See NLP package for details.
 - prefix(Prefix)
 - Matches all literals containing at least one word that starts with Prefix, discarding diacritics and case.
 - between(Low, High)
 - Matches all literals containing an integer token in the range Low..High, including the boundaries.
 - ge(Low)
 - Matches all literals containing an integer token with value Low or higher.
 - le(High)
 - Matches all literals containing an integer token with value High or lower.
 - Token
 - Matches all literals containing the given token. See tokenize_atom/2 of the NLP package for details.