Granthika’s search engine supports the following semantic elements:
literal: Text enclosed in double quotation marks, such as “pipe,” “Sherlock Holmes,” “he was excited.”
individual: An instance of a
individual. Sherlock Holmes is an
data-property: A relationship between a
literal. The query
characters containing “Sherlock”uses the
containsto find all characters which have the string “Sherlock” in their names, and similarly
scenes containing “Sherlock”finds all scenes with the string “Sherlock” within their text.
object-property: A relationship between a
individuals. The currently defined
depicts. These allow queries such as
events with participant Sherlock Holmes.
- All discourse elements are represented by the term
Manuscriptis the top-level discourse element.
The following semantic patterns are recognized by Granthika’s search engine:
literalonly: Queries such as
“no fear”. The search engine looks for the single word entered, or (if entered) a phrase, and–in the latter case–if there are no results, falls back to searching for individual words within the search term. The results will list discourse elements that contain the matches found and highlights the occurrences of the entered search term.
typeonly: Will find all the
individualsof the given type. So
eventswill find all events like “Watson Writes Memoirs.”
individualonly: Will find
individualsthat have the entered name. So
Holmeswill find “Sherlock Holmes” (a character) and “Holmes in Practise” (an event), and
officewill find “Sherlock’s Office” (a location).
type object-property individual: Will find all
individualsfrom the given
typewhich have the relationship specified by the given
events with participant Sherlock Holmeswill find all events that have Sherlock Holmes as a participant, and
characters mentioned Chapter 2will find all characters that are mentioned in Chapter 2.
object-property invidual: Works like
type object-property individual, but will infer the
have location officeinfers that you are looking for events, and will find all events that have Sherlock’s Office as a location. Similarly,
mentions Holmesinfers that you are looking for all discourse elements that mention Sherlock Holmes.
mentioned by Chapter 1will infer that you are looking for any story element mentioned within Chapter 1.
type data-property literal: Will find
individualsfrom the given
typethat have the relationship specified by the
data-propertywith the given
characters containing “Ronder”will find all characters that have the string “Ronder” in their name (Mr. Ronder and Mrs. Ronder).
object-propertyalone: Finds all
individualsthat engage in a relationship via the given
participantswill find all characters who participate in any events, and
depictingwill find all discourse elements that depict any events.
data-property literal: This works like
type data-property literal, but looks for any
individual, disregarding its
contain “pipe”will find any discourse element that contains “pipe” within its text.
individual object-property: Finds all
objectsfor the given
Holmes in Practise participantwill find all the characters who participate in the event “Holmes in Practise,” and “Allahabad locate” will find all the events that have Allahabad as a location.