An extended OGC query for semantic data search
81
xmlns:ogc=http:www.opengis.netogc xmlns:cnd=http:daac.ornl.govcatalogconnected-data
xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:schemaLocation=http:www.opengis.netcatcsw2.0.2
......csw2.0.2CSW-discovery.xsd Query typeNames=Record
ElementSetNamebriefElementSetName Constraint version=1.1.0
ogc:Filter ogc:And
cnd:DataIsRelated cnd:RelationContextContentcnd:RelationContext
cnd:Concepthydrologycnd:Concept cnd:DataIsRelated
cnd:DataIsRelated cnd:RelationContextLineagecnd:RelationContext
cnd:DataObjectid93872cnd:DataObject cnd:DataIsRelated
ogc:And ogc:Filter
Constraint Query
GetRecords
Figure 13. Example OGC CSW Query for semantic data search aspatial Figure 14 demonstrates another enhanced CSW query that combines semantic search
based on the semantic association definition and the spatial filter. This query tries to identify all hydrology related datasets. These datasets should cover a requested spatial
area, defined by bounding box “3.19 50.67; 7.26 53.59”.
?xml version=1.0 encoding=ISO-8859-1? GetRecords service=CSW version=2.0.2 maxRecords=500
startPosition=1 resultType=results outputFormat=applicationxml outputSchema=http:www.opengis.netcatcsw2.0.2
xmlns=http:www.opengis.netcatcsw2.0.2 xmlns:ogc=http:www.opengis.netogc
xmlns:cnd=http:daac.ornl.govcatalogconnected-data xmlns:xsi=http:www.w3.org2001XMLSchema-instance
xsi:schemaLocation=http:www.opengis.netcatcsw2.0.2 ......csw2.0.2CSW-discovery.xsd
Query typeNames=Record ElementSetNamebriefElementSetName
Constraint version=1.1.0 ogc:Filter
ogc:And
82
cnd:DataIsRelated cnd:RelationContextContentcnd:RelationContext
cnd:Concepthydrologycnd:Concept cnd:DataIsRelated
ogc:BBOX ogc:PropertyNameows:BoundingBoxogc:PropertyName
gml:Envelope gml:lowerCorner3.19
50.67gml:lowerCorner gml:upperCorner7.26
53.59gml:upperCorner gml:Envelope
ogc:BBOX
ogc:And ogc:Filter
Constraint Query
GetRecords
Figure 14. Example OGC CSW Query for semantic data search spatial