110 likes | 267 Views
Simple Query Interface (SQI). Presented by David Massart Mar. 10, 2009 - Leuven, Belgium. Outline. Welcome Workshop Agenda Discovering resources in a hidden educational Web Metadata formats and query languages LRE architecture and services Core services SQI-based services
E N D
Simple Query Interface (SQI) Presented by David Massart Mar. 10, 2009 - Leuven, Belgium
Outline • Welcome • Workshop Agenda • Discovering resources in a hidden educational Web • Metadata formats and query languages • LRE architecture and services • Core services • SQI-based services • Harvesting services • DRM services • Lab Exercises
Simple Query Interface • Standard API (CWA - 15454, Nov. 2005) • For combining highly heterogeneous metadata repositories • Neutral in terms of query languages and results format • Supports synchronous and asynchronous query mode • Based on a session management concept
SQI Methods • Asynchronous Query Interface • asynchronousQuery • setSourceLocation • queryResultsListener • Session Management • createSession • createAnonymousSession • destroySession • Query Configuration • setQueryLanguage • setResultsFormat • setMaxQueryResults • setMaxDuration • Synchronous Query Interface • setResultsSetSize • synchronousQuery • getTotalResultsCount
Fault Mechanism • Intentionally unsophisticated • Simplicity rather than richness • Only one fault: SQIFault • Thrown by all methods • Allows: • Free-text messages • Predefined error codes
Metadata Formats&Query Languages • Metadata / Result Format: • Information model (e.g., DC, LOM) • Binding (e.g., XSD) • Encoding (e.g., UTF-8) • Query (Exchange) Language • Semantics • Syntax • Lexicon • Encoding
LRE SQI Web Service • Query Language: LRE-QL • Result Format: • LOM (LRE AP) • ILOX • http://wiki.eun.org/lre-dev-guide/ Simple Query Interface (SQI) SOAP Web Service