Geographic information - Filter encoding

ISO 19143:2010 describes an XML and KVP encoding of a system neutral syntax for expressing projections, selection and sorting clauses collectively called a query expression.
These components are modular and intended to be used together or individually by other International Standards which reference ISO 19143:2010.  
ISO 19143:2010 defines an abstract component, named AbstractQueryExpression, from which other specifications can subclass concrete query elements to implement query operations.  
It also defines an additional abstract query component, named AbstractAdhocQueryExpresison, which is derived from AbstractQueryExpression and from which other specifications can subclass concrete query elements which follow the following query pattern:  
An abstract query element from which service specifications can subclass a concrete query element that implements a query operation that allows a client to specify a list of resource types, an optional projection clause, an optional selection clause, and an optional sorting clause to query a subset of resources that satisfy the selection clause.  
This pattern is referred to as an ad hoc query pattern since the server in not aware of the query until it is submitted for processing. This is in contrast to a stored query expression, which is stored and can be invoked by name or identifier.  
ISO 19143:2010 also describes an XML and KVP encoding of a system-neutral representation of a select clause. The XML representation is easily validated, parsed and transformed into a server-specific language required to retrieve or modify object instances stored in some persistent object store.  
ISO 19143:2010 defines the XML encoding for the following predicates.
- A standard set of logical predicates: and, or and not.
- A standard set of comparison predicates: equal to, not equal to, less than, less than or equal to, greater than, greater than or equal to, like, is null and between.
- A standard set of spatial predicates: equal, disjoint, touches, within, overlaps, crosses, intersects, contains, within a specified distance, beyond a specified distance and BBOX.
- A standard set of temporal predicates: after, before, begins, begun by, contains, during, ends, equals, meets, met by, overlaps and overlapped by.
- A predicate to test whether the identifier of an object matches the specified value.
ISO 19143:2010 defines the XML encoding of metadata that allows a service to declare which conformance classes, predicates, operators, operands and functions it supports. This metadata is referred to as Filter Capabilities.

Information Géographique - Codage de filtres

L'ISO 19143:2010 décrit un encodage en XML et KVP d'une syntaxe neutre de système destiné à exprimer des clauses de projection, de sélection et de tri collectivement appelées expression d'interrogation.
Ces composants sont modulaires et destinés à être utilisés ensemble ou individuellement par d'autres normes que celles qui référencent l'ISO 19143:2010.
L'ISO 19143:2010 définit un composant abstrait, nommé AbstractQueryExpression, à partir duquel d'autres spécifications peuvent sous-classer des éléments d'interrogation concrets pour mettre en ?uvre des opérations d'interrogation.
L'ISO 19143:2010 définit également un composant d'interrogation abstrait supplémentaire, nommé AbstractAdhocQueryExpression, qui est dérivé du composant AbstractQueryExpression et à partir duquel d'autres spécifications peuvent sous-classer des éléments d'interrogation concrets qui suivent le modèle d'interrogation suivant:
Un élément d'interrogation abstrait à partir duquel des spécifications de service peuvent sous-classer un élément d'interrogation concret mettant en oeuvre une opération d'interrogation permettant à un client de spécifier une liste de types de ressources, une clause de projection optionnelle, une clause de sélection optionnelle et une clause de tri optionnelle afin d'interroger un sous-ensemble de ressources qui satisfont à la clause de sélection.  
Ce modèle est désigné comme étant un modèle d'interrogation ad hoc du fait que le serveur n'est pas informé de l'interrogation jusqu'à ce qu'elle lui soit soumise pour traitement. Cela s'oppose à une expression d'interrogation mémorisée, qui est mémorisée et peut être appelée par un nom ou un identifiant.
L'ISO 19143:2010 décrit également un encodage en XML et en KVP d'une représentation neutre de système d'une clause de sélection. La représentation XML est facilement validée, analysée et transformée en un langage spécifique au serveur requis pour récupérer ou modifier des instances d'objets mémorisées dans certains stockages d'objets permanents.
L'ISO 19143:2010 définit l'encodage en XML pour les prédicats suivants: un ensemble standard de prédicats logiques: and, or and not (et, ou et non); un ensemble standard de prédicats de comparaison: equal to, not equal to, less than, less than or equal to, greater than, greater than or equal to, like, is null and between (égal à, pas égal à, inférieur à, inférieur ou égal à, supérieur à, supérieur ou égal à, comme, est nul et entre); un ensemble standard de prédicats spatiaux: equal, disjoint, touches, within, overlaps, crosses, intersects, contains, within a specified distance, beyond a specified distance and BBOX (égal, disjoint, touche, dans, chevauche, croise, intersecte, contient, à une distance spécifiée, au-delà d'une distance spécifiée et boîte englobante); un ensemble standard de prédicats temporels: after, before, begins, begun by, contains, during, ends, equals, meets, met by, overlaps and overlapped by (après, avant, commence, commencé par, contient, pendant, se termine, égal à, satisfait, satisfait par, chevauche et chevauché par); et un prédicat pour vérifier si l'identifiant d'un objet correspond à la valeur spécifiée.
L'ISO 19143:2010 définit l'encodage en XML des métadonnées qui permettent à un service de déclarer les classes de conformité, les prédicats, les opérateurs, les opérandes et les fonctions qu'il prend en charge. Ces métadonnées sont désignées par le terme Capacités de filtre.

Geografske informacije - Kodiranje s filtrom

Ta mednarodni standard opisuje XMl- in KVP-kodiranje sistema nevtralne sintakse za izražanje napovedi, izbire in razvrščanje stavkov, skupaj imenovanih poizvedba. Te komponente so modularne in se skupaj ali posamično uporabijo v drugih standardih, ki se sklicujejo na ta mednarodni standard. PRIMER 1: ISO 19142 uporablja nekatere ali vse te komponente. Ta mednarodni standard opredeljuje abstraktno komponento, imenovano AbstractQueryExpression (abstraktna poizvedba), iz katere lahko druge specifikacije porazdelijo konkretne poizvedbene elemente v podrazrede za izvajanje poizvedbenih operacij. Ta mednarodni standard prav tako opredeljuje dodatno abstraktno poizvedbeno komponento, imenovano AbstractAdhocQueryExpresison (abstraktna ad hoc poizvedba), iz katere lahko druge specifikacije porazdelijo konkretne poizvedbene elemente v podrazrede, ki sledijo naslednjemu poizvedbenemu vzorcu: abstraktni poizvedbeni element, iz katerega lahko specifikacije storitev porazdelijo v podrazrede konkretne poizvedbene elemente, ki izvajajo poizvedbeno operacijo, katera omogoča stranki, da navede seznam vrst virov, izbirno napovedno klavzulo, izbirno klavzulo za izbor in izbirno klavzulo za razvrščanje za poizvedbo podsklopa virov, ki zadosti izborni klavzuli. Ta vzorec se navaja kot ad hoc poizvedbeni vzorec, ker strežnik ni seznanjen s poizvedbo, dokler ni predložena v obdelavo. To je v nasprotju s shranjeno poizvedbo, ki je shranjena in se lahko uveljavi z imenom ali označbo. Ta mednarodni standard prav tako opisuje XML- in KVP-kodiranje sistemsko nevtralne predstavitve izbrane klavzule. Predstavitev XML se zlahka potrdi, razčleni in pretvori v strežniško specifičen jezik, ki je potreben, da se ponovno pridobi ali spremeni primerke predmeta, shranjene v nekem obstojnem pomnilniku predmetov. PRIMER 2: XML-kodiran filter se lahko pretvori v KJE-klavzulo za izjavo SQL IZBERI za pridobitev podatkov, shranjenih v relacijski podatkovni bazi, osnovani na SQL.  Podobno se lahko XML-kodiran izraz za filtriranje pretvori v izraz XPath ali XPointer za pridobitve podatkov iz XML-dokumentov. Ta mednarodni standard opredeljuje XML-kodiranje za naslednje predikate: a) Standardni sklop logičnih predikatov: in, ali ter ne. b) Standardni sklop primerjalnih predikatov: enak, neenak, manj kot, manj kot ali enak, večji kot, večji kot ali enak, kot, je nič in vmes. c) Standardni sklop prostorkih predikatov: enak, razčlenjen, se dotika, znotraj, se prekriva, prečka, seka, vsebuje, znotraj določene razdalje, zunaj določene razdalje in BBOX. d) Standardni sklop začasnih predikatov:  po, pred, se začne, se je začel s/z, vsebuje, med, se konča, je enak, se ujema, se je ujemal s/z, se prekriva, se je prekrival s/z. e) Predikat za preskus, ali se označba predmeta ujema z določeno vrednostjo. Ta mednarodni standard opredeljuje XML-kodiranje metapodatkov, ki omogoča storitev, ki navaja, katere razrede skladnosti, predikatov, operacij, operandov in funkcij  podpira. Ti metapodatki se navajajo kot zmožnosti filtriranja.

General Information

Status
Withdrawn
Public Enquiry End Date
31-Dec-2009
Publication Date
03-Nov-2010
Withdrawal Date
18-Jun-2012
Technical Committee
Current Stage
9900 - Withdrawal (Adopted Project)
Start Date
18-Jun-2012
Due Date
11-Jul-2012
Completion Date
19-Jun-2012

Relations

Buy Standard

Standard
ISO 19143:2010
English language
87 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day
Standard
ISO 19143:2010 - Geographic information -- Filter encoding
English language
82 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
ISO 19143:2010 - Information géographique -- Codage de filtres
French language
84 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


SLOVENSKI STANDARD
01-december-2010
Geografske informacije - Kodiranje s filtrom
Geographic information - Filter encoding
Information Géographique - Codage de filtres
Ta slovenski standard je istoveten z: ISO 19143:2010
ICS:
07.040 Astronomija. Geodezija. Astronomy. Geodesy.
Geografija Geography
35.240.70 Uporabniške rešitve IT v IT applications in science
znanosti
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

INTERNATIONAL ISO
STANDARD 19143
First edition
2010-10-15
Geographic information — Filter
encoding
Information géographique — Codage de filtres

Reference number
©
ISO 2010
PDF disclaimer
This PDF file may contain embedded typefaces. In accordance with Adobe's licensing policy, this file may be printed or viewed but
shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In
downloading this file, parties accept therein the responsibility of not infringing Adobe's licensing policy. The ISO Central Secretariat
accepts no liability in this area.
Adobe is a trademark of Adobe Systems Incorporated.
Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation
parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In
the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below.

©  ISO 2010
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means,
electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or
ISO's member body in the country of the requester.
ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Published in Switzerland
ii © ISO 2010 – All rights reserved

Contents Page
Foreword .iv
Introduction.v
1 Scope.1
2 Conformance .2
3 Normative references.3
4 Terms and definitions .3
5 Conventions.6
5.1 Abbreviated terms .6
5.2 UML notation.7
5.3 Use of examples .8
5.4 Namespaces.8
5.5 KVP-encoded parameter lists .8
5.6 XML Schema fragments.9
6 Query expressions .9
6.1 General .9
6.2 Abstract query expressions .9
6.3 Ad hoc query expression.10
7 Filter.13
7.1 General considerations.13
7.2 Encoding .14
7.3 Expressions .14
7.4 Value references.15
7.5 Literals.17
7.6 Functions.18
7.7 Comparison operators.19
7.8 Spatial operators .22
7.9 Temporal operators.26
7.10 Logical operators .28
7.11 Object identifiers .30
7.12 Extensions .31
7.13 Filter capabilities .33
7.14 Encoding .35
8 Sorting .42
8.1 General considerations.42
8.2 Encoding .42
8.3 Exceptions .43
Annex A (normative) Conformance testing.44
Annex B (informative) Filter schema definitions .48
Annex C (informative) Examples .60
Annex D (informative) EBNF for XPath subset .80
Annex E (informative) Abstract model.81
Bibliography.82

Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies
(ISO member bodies). The work of preparing International Standards is normally carried out through ISO
technical committees. Each member body interested in a subject for which a technical committee has been
established has the right to be represented on that committee. International organizations, governmental and
non-governmental, in liaison with ISO, also take part in the work. ISO collaborates closely with the
International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization.
International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2.
The main task of technical committees is to prepare International Standards. Draft International Standards
adopted by the technical committees are circulated to the member bodies for voting. Publication as an
International Standard requires approval by at least 75 % of the member bodies casting a vote.
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent
rights. ISO shall not be held responsible for identifying any or all such patent rights.
ISO 19143 was prepared by Technical Committee ISO/TC 211, Geographic information/Geomatics, in
collaboration with the Open Geospatial Consortium Inc. (OGC).

iv © ISO 2010 – All rights reserved

Introduction
Filter encoding was originated within the OGC.
A fundamental operation performed on a set of data or resources is that of querying in order to obtain a subset
of the data which contains certain desired information that satisfies some query criteria and which is also,
perhaps, sorted in some specified manner.
The term “projection clause” is used to describe an encoding for specifying which subset of resource
properties are presented in the response to a query.
The term “filter or selection clause” is used to describe an encoding of predicates which are typically used in
query operations to specify how data instances in a source dataset should be filtered to produce a result set.
Each data instance in the source set is evaluated using the filter expression. The overall filter expression
always evaluates to true or false. If the expression evaluates to true, the data instance satisfies the expression
and is marked as being in the result set. If the overall filter expression evaluates to false, the data instance is
not in the result set. Thus, the net effect of evaluating a filter expression is a set of data or resource identifiers
which satisfy the predicates in the expression.
The term “sorting clause” is used to describe an encoding for specifying how the data in a response is ordered
prior to being presented.
Such encodings are considered system neutral because using the numerous XML tools available today, XML
encoded projection, selection and sorting clauses can be easily validated, parsed and then transformed into
whatever target query language is required to retrieve or modify resources stored in some persistent object
store. For example an XML encoded query composed of a projection, selection and sorting clauses can be
transformed into a SQL “SELECT … FROM … WHERE … ORDER BY …” statement to fetch data stored in a
SQL-based relational database. Similarly, the same XML encoded query expression can just as easily be
transformed into an XQuery expression in order to retrieve data from XML document.
The XML and KVP encodings of projection, selection and sorting clauses described in this International
Standard are common components which can be used together or as individually by a number of web
services. Any service that requires the ability to query objects from a web-accessible repository can make use
of the XML and KVP encodings of a query expression described in this International Standard. For example
the GetFeature operation, defined in ISO 19142, uses the elements derived from definitions in this
International Standard to encode query expressions.

INTERNATIONAL STANDARD ISO 19143:2010(E)

Geographic information — Filter encoding
1 Scope
This International Standard describes an XML and KVP encoding of a system neutral syntax for expressing
projections, selection and sorting clauses collectively called a query expression.
These components are modular and intended to be used together or individually by other standards which
reference this International Standard.
EXAMPLE 1 ISO 19142 makes use of some or all of these components.
This International Standard defines an abstract component, named AbstractQueryExpression, from which
other specifications can subclass concrete query elements to implement query operations.
This International Standard also defines an additional abstract query component, named
AbstractAdhocQueryExpresison, which is derived from AbstractQueryExpression and from which other
specifications can subclass concrete query elements which follow the following query pattern:
An abstract query element from which service specifications can subclass a concrete query element that
implements a query operation that allows a client to specify a list of resource types, an optional projection
clause, an optional selection clause, and an optional sorting clause to query a subset of resources that
satisfy the selection clause.
This pattern is referred to as an ad hoc query
...


INTERNATIONAL ISO
STANDARD 19143
First edition
2010-10-15
Geographic information — Filter
encoding
Information géographique — Codage de filtres

Reference number
©
ISO 2010
PDF disclaimer
This PDF file may contain embedded typefaces. In accordance with Adobe's licensing policy, this file may be printed or viewed but
shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In
downloading this file, parties accept therein the responsibility of not infringing Adobe's licensing policy. The ISO Central Secretariat
accepts no liability in this area.
Adobe is a trademark of Adobe Systems Incorporated.
Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation
parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In
the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below.

©  ISO 2010
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means,
electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or
ISO's member body in the country of the requester.
ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Published in Switzerland
ii © ISO 2010 – All rights reserved

Contents Page
Foreword .iv
Introduction.v
1 Scope.1
2 Conformance .2
3 Normative references.3
4 Terms and definitions .3
5 Conventions.6
5.1 Abbreviated terms .6
5.2 UML notation.7
5.3 Use of examples .8
5.4 Namespaces.8
5.5 KVP-encoded parameter lists .8
5.6 XML Schema fragments.9
6 Query expressions .9
6.1 General .9
6.2 Abstract query expressions .9
6.3 Ad hoc query expression.10
7 Filter.13
7.1 General considerations.13
7.2 Encoding .14
7.3 Expressions .14
7.4 Value references.15
7.5 Literals.17
7.6 Functions.18
7.7 Comparison operators.19
7.8 Spatial operators .22
7.9 Temporal operators.26
7.10 Logical operators .28
7.11 Object identifiers .30
7.12 Extensions .31
7.13 Filter capabilities .33
7.14 Encoding .35
8 Sorting .42
8.1 General considerations.42
8.2 Encoding .42
8.3 Exceptions .43
Annex A (normative) Conformance testing.44
Annex B (informative) Filter schema definitions .48
Annex C (informative) Examples .60
Annex D (informative) EBNF for XPath subset .80
Annex E (informative) Abstract model.81
Bibliography.82

Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies
(ISO member bodies). The work of preparing International Standards is normally carried out through ISO
technical committees. Each member body interested in a subject for which a technical committee has been
established has the right to be represented on that committee. International organizations, governmental and
non-governmental, in liaison with ISO, also take part in the work. ISO collaborates closely with the
International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization.
International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2.
The main task of technical committees is to prepare International Standards. Draft International Standards
adopted by the technical committees are circulated to the member bodies for voting. Publication as an
International Standard requires approval by at least 75 % of the member bodies casting a vote.
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent
rights. ISO shall not be held responsible for identifying any or all such patent rights.
ISO 19143 was prepared by Technical Committee ISO/TC 211, Geographic information/Geomatics, in
collaboration with the Open Geospatial Consortium Inc. (OGC).

iv © ISO 2010 – All rights reserved

Introduction
Filter encoding was originated within the OGC.
A fundamental operation performed on a set of data or resources is that of querying in order to obtain a subset
of the data which contains certain desired information that satisfies some query criteria and which is also,
perhaps, sorted in some specified manner.
The term “projection clause” is used to describe an encoding for specifying which subset of resource
properties are presented in the response to a query.
The term “filter or selection clause” is used to describe an encoding of predicates which are typically used in
query operations to specify how data instances in a source dataset should be filtered to produce a result set.
Each data instance in the source set is evaluated using the filter expression. The overall filter expression
always evaluates to true or false. If the expression evaluates to true, the data instance satisfies the expression
and is marked as being in the result set. If the overall filter expression evaluates to false, the data instance is
not in the result set. Thus, the net effect of evaluating a filter expression is a set of data or resource identifiers
which satisfy the predicates in the expression.
The term “sorting clause” is used to describe an encoding for specifying how the data in a response is ordered
prior to being presented.
Such encodings are considered system neutral because using the numerous XML tools available today, XML
encoded projection, selection and sorting clauses can be easily validated, parsed and then transformed into
whatever target query language is required to retrieve or modify resources stored in some persistent object
store. For example an XML encoded query composed of a projection, selection and sorting clauses can be
transformed into a SQL “SELECT … FROM … WHERE … ORDER BY …” statement to fetch data stored in a
SQL-based relational database. Similarly, the same XML encoded query expression can just as easily be
transformed into an XQuery expression in order to retrieve data from XML document.
The XML and KVP encodings of projection, selection and sorting clauses described in this International
Standard are common components which can be used together or as individually by a number of web
services. Any service that requires the ability to query objects from a web-accessible repository can make use
of the XML and KVP encodings of a query expression described in this International Standard. For example
the GetFeature operation, defined in ISO 19142, uses the elements derived from definitions in this
International Standard to encode query expressions.

INTERNATIONAL STANDARD ISO 19143:2010(E)

Geographic information — Filter encoding
1 Scope
This International Standard describes an XML and KVP encoding of a system neutral syntax for expressing
projections, selection and sorting clauses collectively called a query expression.
These components are modular and intended to be used together or individually by other standards which
reference this International Standard.
EXAMPLE 1 ISO 19142 makes use of some or all of these components.
This International Standard defines an abstract component, named AbstractQueryExpression, from which
other specifications can subclass concrete query elements to implement query operations.
This International Standard also defines an additional abstract query component, named
AbstractAdhocQueryExpresison, which is derived from AbstractQueryExpression and from which other
specifications can subclass concrete query elements which follow the following query pattern:
An abstract query element from which service specifications can subclass a concrete query element that
implements a query operation that allows a client to specify a list of resource types, an optional projection
clause, an optional selection clause, and an optional sorting clause to query a subset of resources that
satisfy the selection clause.
This pattern is referred to as an ad hoc query pattern since the server is not aware of the query until it is
submitted for processing. This is in contrast to a stored query expression, which is stored and can be invoked
by name or identifier.
This International Standard also describes an XML and KVP encoding of a system-neutral representation of a
select clause. The XML representation is easily validated, parsed and transformed into a server-specific
language required to retrieve or modify object instances stored in some persistent object store.
EXAMPLE 2 An XML encoded filter can be transformed into a WHERE clause for a SQL SELECT statement to fetch
data stored in a SQL-based relational database. Similarly, and XML encoded filter expression can be transformed into an
XPath or XPointer expression for fetching data from XML documents.
This International Standard defines the XML encoding for the fo
...


NORME ISO
INTERNATIONALE 19143
Première édition
2010-10-15
Information géographique — Codage de
filtres
Geographic information — Filter encoding

Numéro de référence
©
ISO 2010
PDF – Exonération de responsabilité
Le présent fichier PDF peut contenir des polices de caractères intégrées. Conformément aux conditions de licence d'Adobe, ce fichier
peut être imprimé ou visualisé, mais ne doit pas être modifié à moins que l'ordinateur employé à cet effet ne bénéficie d'une licence
autorisant l'utilisation de ces polices et que celles-ci y soient installées. Lors du téléchargement de ce fichier, les parties concernées
acceptent de fait la responsabilité de ne pas enfreindre les conditions de licence d'Adobe. Le Secrétariat central de l'ISO décline toute
responsabilité en la matière.
Adobe est une marque déposée d'Adobe Systems Incorporated.
Les détails relatifs aux produits logiciels utilisés pour la création du présent fichier PDF sont disponibles dans la rubrique General Info
du fichier; les paramètres de création PDF ont été optimisés pour l'impression. Toutes les mesures ont été prises pour garantir
l'exploitation de ce fichier par les comités membres de l'ISO. Dans le cas peu probable où surviendrait un problème d'utilisation,
veuillez en informer le Secrétariat central à l'adresse donnée ci-dessous.

DOCUMENT PROTÉGÉ PAR COPYRIGHT

©  ISO 2010
Droits de reproduction réservés. Sauf prescription différente, aucune partie de cette publication ne peut être reproduite ni utilisée sous
quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie et les microfilms, sans l'accord écrit
de l'ISO à l'adresse ci-après ou du comité membre de l'ISO dans le pays du demandeur.
ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Version française parue en 2011
Publié en Suisse
ii © ISO 2010 – Tous droits réservés

Sommaire Page
Avant-propos .iv
Introduction.v
1 Domaine d'application .1
2 Conformité .2
3 Références normatives.3
4 Termes et définitions .4
5 Conventions.7
5.1 Abréviations.7
5.2 Notation UML .8
5.3 Utilisation d'exemples.9
5.4 Espaces de nommage.9
5.5 Listes de paramètres encodés en KVP .9
5.6 Fragments de schéma XML.10
6 Expressions d'interrogation.10
6.1 Introduction.10
6.2 Expressions d'interrogation abstraites.10
6.3 Expression d'interrogation ad hoc .11
7 Filtre.14
7.1 Introduction.14
7.2 Encodage .15
7.3 Expressions .15
7.4 Références de valeurs .16
7.5 Valeurs littérales.19
7.6 Fonctions .19
7.7 Opérateurs de comparaison.20
7.8 Opérateurs spatiaux.24
7.9 Opérateurs temporels .27
7.10 Opérateurs logiques.30
7.11 Identifiants d'objets.31
7.12 Extensions .33
7.13 Capacités de filtre.34
7.14 Encodage .37
8 Tri .44
8.1 Introduction.44
8.2 Encodage .44
8.3 Exceptions .45
Annexe A (normative) Tests de conformité .46
Annexe B (informative) Définitions de schéma de filtre .50
Annexe C (informative) Exemples .62
Annexe D (informative) EBNF pour sous-ensemble XPath .82
Annexe E (informative) Modèle abstrait.83
Bibliographie.84

Avant-propos
L'ISO (Organisation internationale de normalisation) est une fédération mondiale d'organismes nationaux de
normalisation (comités membres de l'ISO). L'élaboration des Normes internationales est en général confiée
aux comités techniques de l'ISO. Chaque comité membre intéressé par une étude a le droit de faire partie du
comité technique créé à cet effet. Les organisations internationales, gouvernementales et non
gouvernementales, en liaison avec l'ISO participent également aux travaux. L'ISO collabore étroitement avec
la Commission électrotechnique internationale (CEI) en ce qui concerne la normalisation électrotechnique.
Les Normes internationales sont rédigées conformément aux règles données dans les Directives ISO/CEI,
Partie 2.
La tâche principale des comités techniques est d'élaborer les Normes internationales. Les projets de Normes
internationales adoptés par les comités techniques sont soumis aux comités membres pour vote. Leur
publication comme Normes internationales requiert l'approbation de 75 % au moins des comités membres
votants.
L'attention est appelée sur le fait que certains des éléments du présent document peuvent faire l'objet de
droits de propriété intellectuelle ou de droits analogues. L'ISO ne saurait être tenue pour responsable de ne
pas avoir identifié de tels droits de propriété et averti de leur existence.
L'ISO 19143 a été élaborée par le comité technique ISO/TC 211, Information géographique/Géomatique, en
collaboration avec le Open Geospatial Consortium Inc. (OGC).
iv © ISO 2010 – Tous droits réservés

Introduction
Le codage de filtres trouve ses origines au sein du Open Geospatial Consortium Inc. (OGC).
Une opération fondamentale, exécutée sur un ensemble de données ou de ressources, concerne
l'interrogation de manière à obtenir un sous-ensemble de données qui contiennent certaines informations
souhaitées qui satisfont à certains critères d'interrogation et qui sont également triées éventuellement d'une
certaine manière spécifiée.
L'expression clause de projection est utilisée pour décrire un encodage destiné à spécifier quels sous-
ensembles de propriétés de ressources sont présentés dans la réponse à une interrogation.
L'expression filtre ou clause de sélection est utilisée pour décrire un encodage de prédicats qui sont
généralement utilisés dans des opérations d'interrogation pour spécifier la manière dont il convient que les
instances de données dans un ensemble de données sources soient filtrées pour produire un ensemble
résultat. Chaque instance de données dans l'ensemble source est évaluée en utilisant l'expression de filtre.
L'expression de filtre global évaluera toujours le caractère vrai ou faux de l'instance. Si l'expression évalue
que l'instance est vraie, alors l'instance de données satisfait à l'expression et est marquée comme se trouvant
dans l'ensemble résultat. Si l'expression de filtre global évalue que l'instance est fausse, l'instance de
données ne se trouve pas dans l'ensemble résultat. Donc, l'effet de l'évaluation d'une expression de filtre est
un ensemble de données ou d'identifiants de ressources qui satisfont aux prédicats dans l'expression.
L'expression clause de tri est utilisée pour décrire l'encodage destiné à spécifier la manière dont les données
dans une réponse sont ordonnées afin d'être présentées.
De tels encodages sont considérés comme neutres pour un système grâce à l'utilisation de nombreux outils
XML disponibles aujourd'hui, des clauses de projection, de sélection et de tri encodées en XML peuvent être
facilement validées, analysées et ensuite transformées en tout langage d'interrogation cible qui est requis
pour récupérer ou modifier les ressources mémorisées dans certains stockages d'objets permanents. Par
exemple, une interrogation encodée en XML composée de clauses de projection, de sélection et de tri
pourrait être transformée en une instruction SQL «SELECT … FROM … WHERE … ORDER BY …»
(SELECTION … DEPUIS … OÙ … ORDONNÉ PAR …) pour extraire des données mémorisées dans une
base de données relationnelle utilisant SQL. D'une manière similaire, la même expression d'interrogation
encodée en XML pourrait tout aussi facilement être transformée en une expression XQuery (Xinterrogation)
de manière à récupérer des données d'un document XML.
Les encodages en XML et en KVP de clauses de projection, sélection et tri décrites dans la présente Norme
internationale sont des composants communs qui peuvent être utilisés ensemble ou individuellement par un
certain nombre de services web. Tout service qui exige la capacité d'interroger les objets à partir d'un entrepôt
de données accessible par le web peut faire usage des encodages en XML et KVP d'une expression
d'interrogation décrite dans la présente Norme internationale. Par exemple, l'opération GetFeature, définie
dans l'ISO 19142, utilise les éléments dérivés des définitions de la présente Norme internationale pour
encoder des expressions d'interrogation.
NORME INTERNATIONALE ISO 19143:2010(F)

Information géographique — Codage de filtres
1 Domaine d'application
La présente Norme internationale décrit un encodage en XML et KVP d'une syntaxe neutre de système
destiné à exprimer des clauses de projection, de sélection et de tri collectivement appelées expression
d'interrogation.
Ces composants sont modulaires et destinés à être utilisés ensemble ou individuellement par d'autres normes
que celles qui référencent la présente Norme internationale.
EXEMPLE 1 L'ISO 19142 fait usage de certains de ces composants ou de leur totalité.
La présente Norme internationale définit un composant abstrait, nommé AbstractQueryExpression, à partir
duquel d'autres spécifications peuvent sous-classer des éléments d'interrogation concrets pour mettre en
œuvre des opérations d'interrogation.
La présente Norme internationale définit également un composant d'interrogation abstrait supplémentaire,
nommé AbstractAdhocQueryExpression, qui est dérivé du composant AbstractQueryExpression et à partir
duquel d'autres spécificati
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.