
All digests have 10 questions (numbered 1 - 10) except Digest 0 which has 43 questions, and digest 1000 which has 20 (the 10 proper oracularities and 10 'April Fools' questions).
Order, and case of the words is not considered. There are no binary operators that you can use with this interface (see the binary search engine below if you want functionality like that).
The current options are
Key words can either be a single word, or a string of words with quotes around them. E.g. searching on peter pan will return oracularities with peter and pan somewhere in the text. This may of course return an oracularity with Peter Andre using pan-cakes to help maintain his six-pack.
If you search on "peter pan", then only oracularities with that string in it will be returned. You can use either " or # as quotes, but the ending quote symbol must match the starting quote symbol.
Case, and the size/character of 'white space' between tokens is ignored.
If two key words are given with no operator between them (e.g. star trek) then it is assumed that they are linked with an 'and'. Also, if the last word of a query is an operator (e.g. I think not) then that operator is ignored. This means that you never get syntax errors, though things may not work as you expect if you type an actual error. If in doubt, quote keywords.
Finally, you can access some special variables in your search. These allow
you to restrict searches based on question, digest, or voting score. Examples of each are:
Note that you have to register your authorship as 'public' before other people can search on your name. The list of people whom you can search on is presently:
In general, the pattern is keyword op number. Note that the parsing of the number is a bit generous, and you can have whitespace between the integer/fractional parts and the '.'. This will only cause unexpected parses if you are dropping 'ands'. Note that oracularities with no scores will not be retrieved by any expression testing score. Hence, something like not score < 3 will retrieve the entire digest 0 (and others) which have no numbers, but score >= 3 (its logical converse) will not.
Note that selected= is an exception to the above syntax. The only comparision that can be used is =, and instead of taking a number as its parameter, it takes either a single token, or a string of tokens quoted with either " or # (starting and ending quotes must match).
Keywords are score, digest, and question. Other keywords may be added in the future, mainly I would like to add search on selecting priest. Operators are <, >, =, <=, >=.
Some sample queries are:
Binary search has Sort by, Sort asc/descending and show brief
quotes options similar to the text search engine. However there are a
few differences:
You can also do a binary search directly via the web address, although this is a bit tricky. You have to change spaces in your queries to %20 and double quotes (") have to become, wait for it, %26qt%3B !!! This interface is not really
intended for human use, but for the The Natural Language Interface. A sample query is: http://www.wmin.ac.uk/cgi-bin/oracle/binary=%20og%20and%20ogwa%20and%20not%20%26qt%3BThe%20Oracle%20%26qt%3B. Masochists, start typing now.
It probably takes some getting used to, but hopefully the process of using
it shouldn't be too tricky to work out. One thing, when you match words in
sentences to other words, don't worry about grammar, etc. Just match the
words that it seems to you should be matched (words that are identical
are matched automatically, though you can unmatch them if you like).
Note, that to teach the system, you need to know how to make queries using
the Binary Search Interface, as this is what the
Natural Language Interface uses to execute queries..
As a word of advice, try some simple sentences first, then build up to
more complex ones if the system can handle the simple ones first.
I would greatly appreciate hearing about people's experience with the
system by email or other
methods.
Note that this facility is not fully debugged, and sometimes the wrong
oracularities are retrieved. Experiments are continuing to solve this
problem.