symbology mediation

21
® Sponsored by Symbology Mediation ER Symbology Mediation ER 95th OGC Technical Committee Boulder, Colorado USA Stephane Fellah 02 June 2015 Copyright © 2015 Open Geospatial Consortium Copyright © 2015 Open Geospatial Consortium

Upload: stephane-fellah

Post on 04-Aug-2015

54 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Symbology mediation

®

Sponsored by

Symbology Mediation ERSymbology Mediation ER

95th OGC Technical Committee

Boulder, Colorado USA

Stephane Fellah

02 June 2015

Copyright © 2015 Open Geospatial ConsortiumCopyright © 2015 Open Geospatial Consortium

Page 2: Symbology mediation

OGC®

AgendaAgenda

• The Inter-community Symbology Challenges• OGC Testbed 11 Task Objectives• Architectural Context• Incident Taxonomies modeling• Portrayal Service and Ontologies• Semantic Mediation Service and Ontologies• Aviation Symbology• Outcome• Future works

Copyright © 2015 Open Geospatial Consortium

Page 3: Symbology mediation

OGC®

Po

rtra

yal

Po

rtra

yal

Po

rtra

yal

Po

rtra

yal

The Inter-community Symbology ChallengeThe Inter-community Symbology Challenge

• Challenges:– Mediation of feature types– Mediation of portrayal rules– Styling and symbolization– Feature information

Copyright © 2015 Open Geospatial Consortium

Inte

r-community

Portrayal

Styled Layer DescriptorStyled Layer Descriptor

UserLayerUserLayer

UserStyleUserStyle

FeatureTypeStyleFeatureTypeStyle

RuleRule

SymbolizerSymbolizer

RemoteOWS

Community A SymbologyCommunity A Symbology Community B SymbologyCommunity B SymbologyMediation

ConversionMediation

Conversion

Community A Feature Types

Community B Feature Types

Mediation ConversionMediation

Conversion

RemoteOWS

FeatureTypeName

Filter

PropertyName

TaxonomyTaxonomy

Page 4: Symbology mediation

OGC®

OGC Testbed 11 Task Objectives OGC Testbed 11 Task Objectives

• Prove core concepts and state of readiness of semantic-based approaches to symbology mediation and interoperability

• Pursuing efforts started in Testbed-10• Build, test and demonstrate Core Portrayal Ontologies

– Key new building block in achieving portrayal interoperability– Enabler for producing and sharing portrayal catalogues

• Build, test and demonstrate core ontologies and components to enable Symbology Mediation applied for E&DM and Aviation

• Implement a true semantic-enabled service that demonstrates semantic integration and interoperability across disparate symbology styles

Page 4

Page 5: Symbology mediation

OGC®

Page 5

Page 6: Symbology mediation

OGC®

HSWG Symbols - SamplesHSWG Symbols - Samples

Page 6

TESTBED-11 FOCUS

Page 7: Symbology mediation

OGC®

Emergency Mapping Symbology (EMS)Emergency Mapping Symbology (EMS)

Page 7

Page 8: Symbology mediation

OGC®

Incident Type Taxonomy EncodingIncident Type Taxonomy Encoding

Page 8

ems.incident.aviation.aircraftCrash

police.cad.traffic.drunkDriver (example of extension)

• Simple Knowledge Organization System

• Scope: knowledge organization systems (KOS) such as thesauri, classification systems, subject heading lists…

• SKOS is for representing KOSs in RDF in a simple way

• Multilingual support

• Semantic relations (broader, narrower, related)

• SKOS Mapping: allows bridging across KOSs from different contexts

• exactMatch, broaderMatch, closeMatch, narrowMatch

Page 9: Symbology mediation

OGC®

SKOS Encoding of Incident TypeSKOS Encoding of Incident Type

Page 9

:ems.incident.aviation a incident:IncidentType ; rdfs:label "Aviation”; skos:definition "An incident involving aircraft resulting in damage, bodily injury, death, or the disruption of transportation service.”; skos:narrower :ems.incident.aviation.aircraftCrash , :ems.incident.aviation.noticeToAirmen , :ems.incident.aviation.airspaceClosure , :ems.incident.aviation.airportClosure , :ems.incident.aviation.aircraftHijacking; skos:inScheme :emsIncidentTypeScheme.:ems.incident.aviation.aircraftCrash a incident:IncidentType , skos:Concept ; rdfs:label "Aircraft Crash"^^xsd:string ; skos:definition "A sudden, unexpected event involving aircraft resulting in fuselage damage, bodily injury, death and/or the disruption of transportation service; prompting emergency landing procedures or uncontrolled impact with the ground." . skos:inScheme :emsIncidentTypeScheme. skos:broader :ems.incident.aviation , hswg:AirAccident ; skos:broaderTransitive :ems.incident.aviation, ems:.incident, hswg:AirAccident, hswg:AirIncident ; (inferred from semantic mapping) skos:broadMatch hswg:AirAccident ; (from semantic mapping of HSWG to EMS) skos:mappingRelation hswg:AirAccident ; (inferred from semantic mapping) skos:semanticRelation hswg:AirAccident . (inferred from semantic mapping)

Inferred facts in green

Page 10: Symbology mediation

OGC®

Taxonomy mediationTaxonomy mediation

Copyright © 2015 Open Geospatial Consortium

Page 11: Symbology mediation

OGC®

Portrayal OntologiesPortrayal Ontologies

Page 11

Style

Graphic

Symbol

Portrayal

Catalog

Style

Graphic

Symbol

Portrayal

Catalog

Drawn from ISO 19117 – Portrayal, OGC SLD and SE specifications

Page 12: Symbology mediation

OGC®

Style OntologyStyle Ontology

Page 12

Page 13: Symbology mediation

OGC®

Example of PortrayalRule EncodingExample of PortrayalRule Encoding

:ems.incident.roadway.hazardousRoadConditions-portrayal-rule a style:PortrayalRule ;

dct:description "Portrayal rule for incident type ems.incident.roadway.hazardousRoadConditions" ;

dct:title "Hazardous Road Conditions incident portrayal rule" ;

style:featureType incident:Incident ;

style:hasRuleCondition [ a style:PortrayalRuleCondition ;

style:featureProperty incident:incidentType ;

style:hasOGCFilterCondition [ a style:OGCFilter ;

style:body “ ogc filter encoding”;

] ;

style:hasRIFCondition [ a style:RIFCondition ;

style:body "Prefix(incident <http://www.opengis.net/ont/emergency/incident#>)

Exists ?incident ( incident:incidentType(?incident

http://www.opengis.net/taxonomy/ems#ems.incident.roadway.hazardousRoadConditions>) )"

] ;

style:hasSPARQLCondition [ a style:SPARQLCondition ;

style:body "PREFIX incident: http://www.opengis.net/ont/emergency/incident#

ASK

WHERE { ?incident incident:incidentType

<http://www.opengis.net/taxonomy/ems#ems.incident.roadway.hazardousRoadConditions>.}"

]

];

style:symbol <http://www.opengis.net/testbed/11/cci/ems/symbols#ems.incident.roadway.hazardousRoadConditions-symbol> .

Page 13

Page 14: Symbology mediation

OGC®

Symbology OntologySymbology Ontology

Page 14

Page 15: Symbology mediation

OGC®

Symbol Encoding ExampleSymbol Encoding Example

Page 15

:ems.incident.roadway.roadwayClosure-symbol a symbol:Symbol ; rdfs:label "roadwayClosure" ; dct:identifier "ems.incident.roadway.roadwayClosure" ; symbol:definition :ems.incident.roadway.roadwayClosure-symbolDefinition ; symbol:denotes <http://www.opengis.net/taxonomy/ems#ems.incident.roadway.roadwayClosure> ; symbol:specification <https://cms.masas-x.ca.s3.amazonaws.com/EMS_Symbology_v1.0.pdf> ; symbol:symbolSet :EMSSymbolSet ; skos:notation "ems.incident.roadway.roadwayClosure"^^:emsNotation .

:ems.incident.roadway.roadwayClosure-symbolDefinition a symbol:PointSymbolDefinition ; dct:description "Technical definition for symbol ems.incident.roadway.roadwayClosure" ; symbol:browseGraphic <http://ows.usersmarts.com/ems/icons/tier1/Base/ems.incident.roadway.roadwayClosure.png> ; symbol:component :ems.incident.roadway.roadwayClosure-pointIcon .

:ems.incident.roadway.roadwayClosure-pointIcon a symbol:PointIcon ; symbol:graphicContent <http://ows.usersmarts.com/ems/icons/tier1/Base/ems.incident.roadway.roadwayClosure.png> ; symbol:specification <https://cms.masas-x.ca.s3.amazonaws.com/EMS_Symbology_v1.0.pdf> .

<http://ows.usersmarts.com/ems/icons/tier1/Base/ems.incident.roadway.roadwayClosure.png> a graphic:ExternalGraphic ; rdfs:label "ems.incident.roadway.roadwayClosure icon" ; dct:description "icon for ems.incident.roadway.roadwayClosure" ; graphic:format "image/png" ; graphic:onlineResource <http://ows.usersmarts.com/ems/icons/tier1/Base/ems.incident.roadway.roadwayClosure.png> .

Page 16: Symbology mediation

OGC®

Semantic Mediation ServiceSemantic Mediation Service

• Perform alignment between two ontologies• Semantic Mapping is defined declaratively in RDF using

two new ontologies defined during the testbed– GeoSPARQL Extensions (custom functions and mapping)– Semantic Mediation ontology (defined notion of Alignment)

• Linked data REST API and SPARQL endpoints• SKOS Taxonomy mediation is supported• Partial information mediation is supported.

Copyright © 2015 Open Geospatial Consortium

Page 17: Symbology mediation

OGC®

Semantic Mediation ServiceSemantic Mediation Service

Copyright © 2015 Open Geospatial Consortium

Mediation Service

GeoSPARQL Extensions

Plugin functions and Mapping Types

Mediation OntologyAlignment and

MappingDefinitions

Mapping Engine

LD REST API GeoSPARQL Endpoints

GeoSPARQL Engine

Mediator REST API

HSWG IncidentsLinked Data

EMS IncidentsLinked Data

HSWG-EMSAlignment

Page 18: Symbology mediation

OGC®

Aviation SymbologyAviation Symbology

• Symbology– OGC services and ontologies can present diverse feature data in a community’s familiar map

language.• Semantic Enablement

– “Smarter” semantic OGC service profiles and ontologies can better serve complex data to diverse global audiences.

Copyright © 2015 Open Geospatial Consortium

Data Broker

Aviation Client GeoSPARQLOntology Service

Feature PortrayalService (FPS)

1

2

3

SLD/SE Producer

4

AIXMWeb FeatureService

5

6

Page 19: Symbology mediation

OGC®

Aviation Symbology DemoAviation Symbology Demo

Copyright © 2015 Open Geospatial Consortium

Page 20: Symbology mediation

OGC®

OutcomeOutcome

• Ability to define semantic mediation using declarative mapping definition in RDF

• Ability to define portrayal rules semantically• GeoSPARQL Extensions and semantic mediation ontologies• Portrayal Ontologies • Semantic Mediation Service Implementation• Semantic Portrayal Service Implementation (Image Matters

and Envitia)• WPS generating SLD from Semantic Portrayal Servicees• Symbology Mediation ER

Copyright © 2015 Open Geospatial Consortium

Page 21: Symbology mediation

OGC®

Future workFuture work

• Generate directly symbolized map (KML, SVG) from mediated Linked Data (extension of Portrayal service ?)

• Extends Portrayal Rules to support parameterized symbols (MIL 2525)

• Extends Portrayal ontology to cover line and area-based symbology.

• Robustness testing of mediation ontology on more advanced semantic models.

• GeoSPARQL revision (modularization, function extensions)

Copyright © 2015 Open Geospatial Consortium