You are looking at documentation for an older release. Not what you want? See the current release documentation.
Query: Select all documents with the apollo:someProperty property that does not equal to "test word second".
Initial data:
document1: apollo:someProperty - "test word first"
document2: apollo:someProperty - "test word second"
SELECT * FROM cmis:document WHERE apollo:someProperty <> 'test word second'
Query result:
document1.