ulex:StructuredQuery
A ULEX Structured query, stated using the ULEX Digest and Structured Payload entities by supplying field values for selected elements.
Element information
Namespace: http://ulex.gov/ulex/2.0
Schema document: ulex.gov/ulex/2.0/ulex.xsd
Type: ulex:StructuredQueryType
Properties: Global, Qualified
Content
- Sequence [1..1]
- ulex:DigestQueryStatement [0..*]A query statement against a ULEX Digest. Structure serves as a wrapper for the Digest elements being searched, their values, and any modifiers (such as "fuzzy"). This element may not exist if the search is only being performed on Structured Payload elements. This element includes a single Digest element with a single value; if multiple Digest elements are to be searched, or if multiple values are supplied for a single element, there must be multiple DigestQueryStatement blocks.
- ulex:StructuredPayloadQueryStatement [0..*]A Structured Payload query statement.
- Choice [0..*]
- lexs:StructuredQueryExtensionA LEXS extension to ULEX that adds additional LEXS-specific query parameters to a structured query.
- ulex:StructuredQueryDomainAttributeA structured query domain attribute. For Name/Value pair attributes use ulex:AttributeName and ulex:AttributeValueText elements. For hierarchical data xsd:any structure should be used.
from subst. group ulex:StructuredQueryExtensionAbstract
Attributes
None
Used in
Sample instance
<ulex:StructuredQuery> <ulex:DigestQueryStatement> <lexs:DigestQueryField> <lexsdigest:EntityPerson> <lexsdigest:Person> <nc:PersonName> <nc:PersonGivenName>Tommy</nc:PersonGivenName> </nc:PersonName> </lexsdigest:Person> </lexsdigest:EntityPerson> </lexs:DigestQueryField> <ulex:QueryMatchCode>exact</ulex:QueryMatchCode> </ulex:DigestQueryStatement> <ulex:DigestQueryStatement> <lexs:DigestQueryField> <lexsdigest:EntityPerson> <lexsdigest:Person> <nc:PersonBirthDate> <nc:Date>1974-01-01</nc:Date> </nc:PersonBirthDate> </lexsdigest:Person> </lexsdigest:EntityPerson> </lexs:DigestQueryField> <ulex:QueryMatchCode>gt</ulex:QueryMatchCode> </ulex:DigestQueryStatement> <ulex:DigestQueryStatement> <lexs:DigestQueryField> <lexsdigest:EntityPerson> <lexsdigest:Person> <nc:PersonBirthDate> <nc:Date>1980-01-01</nc:Date> </nc:PersonBirthDate> </lexsdigest:Person> </lexsdigest:EntityPerson> </lexs:DigestQueryField> <ulex:QueryMatchCode>lt</ulex:QueryMatchCode> </ulex:DigestQueryStatement> </ulex:StructuredQuery>