closed
4.2.1.1
2004-11-22T04:09:25.993-06:00
2004-10-30T15:11:19.031-06:00
TSD4.2
Archaeological Markup Language (ArchaeoML), version 0.9, February 2006.
Created by David Schloen of the University of Chicago.
Query document type.
A Query document stores the search criteria for a named query.
Recursive representation of boolean expression (not currently used).
Sequential representation of query that mirrors XQuery syntax generated via query table.
Currently allowed criteria types and subtypes are listed here.
- intrinsicProperties: item map, text
- treeContainment: directlyContains, indirectlyContains, directlyContainedIn, indirectlyContainedIn
- graphAdjacency: directlyAdjacentTo, indirectlyAdjacentTo
- graphSequence: directlyBefore, indirectlyBefore, directlyAfter, indirectlyAfter, directlyCorrelatedWith, indirectlyCorrelatedWith, inPhaseWith
- mapRelationship: touches, intersects, surrounds, isSurroundedBy
- mapBufferDistance: { decimal value }
The startingItemID specifies the ArchaeoML document at which the query should start within a hierarchy.
The dateTime here stores the date and time when the query was last executed.
The docID here refers to a Set document that contains items found by the query.
Items of different types (and hence multiple sets) might be returned by a query.
The displayStyle element specifies how items that match the query are to be displayed.
Built-in properties can be map properties, text properties, or other types of hard-coded information that can be queried (e.g., email address on Person; partOfSpeech on DictionaryUnit; author on Bibliography; format of Image).
Map properties include area, extent, and perimeter (in square meters or meters).
The following comments apply to text properties:
If textVariable is hasTransliterationString, has TranscriptionString, or hasTranslationString, then textValue is the string being searched for.
If textVariable is hasLinguisticProperty, then the textValue contains two UUIDs referencing a variable-value pair, where the variable is of type linguistic (e.g., variable = gender, value = feminine).
If textVariable is hasScriptUnit, hasScriptUnitReading, usesScript, or usesLanguage, then the textValue contains a UUID referencing the appropriate Script, ScriptUnit, or Language document, or a reading element within a ScriptUnit document.
Operator can be any of the relational operators (e.g. less than, equal to, etc.) or special XPath/XQuery operators (e.g. starts-with, contains).