Building Blocks for Distributed Geo-Knowledge Graphs

30
T B P S I A P I C B B D K G GVC DC 2016 Krzysztof Janowicz STKO Lab, University of California, Santa Barbara, USA B B D K G K. J

Transcript of Building Blocks for Distributed Geo-Knowledge Graphs

Page 1: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Building Blocks for Distributed

Knowledge Graphs

GeoVoCamp DC 2016

Krzysztof JanowiczSTKO Lab, University of California, Santa Barbara, USA

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 2: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

The Big Picture

The Big Picture

More Than Just Content Patterns

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 3: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Semantic Interoperability

What is Interoperability Anyway?

(Technical) Interoperability measures the degree to which differentsystems (e.g., Web Services/APIs) are able to work in concert to reach acommon task.

Some (subtle) consequencesData do not inter-operate.Operating requires an intension, e.g., a goal.Interoperability is about a degree of meaningful exchange.

Syntactic interoperability relies on common protocols and dataformats to ensure the proper exchange of data. We can ensure a perfectsyntactic interoperability, e.g., via rigid standardization.

Semantic interoperability relies on a common understanding of theexchanged data, i.,e., meaning remains invariant during the exchangebetween multiple systems. This requires common reference systems.

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 4: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Semantic Interoperability

What is Meaning Anyway?

Semantics is the study of meaning, i.e., the study of how and whatsignifiers denote. Meaning is an emergent property of interaction.

Humans use complex processes such as situated simulation tonegotiate the approximate, common meaning of terms during interaction.

Unfortunately, we cannot do so with data.

The driving, often implied assumption behind the call for raw data is theidea that once collected data can be reused outside its original creationcontext and is free of interpretation.

However, there are no raw data. Data are always created followingparticular workflows, procedures, sampling strategies, are derived usingspecific instrumentation, are pre-processes in specific ways, and so forth.

One way to approach this problem are ontologies. However, they cannotfix meaning. Rather, they formally restrict the possible interpretations ofdomain terminology towards their intended meaning.

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 5: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Semantic Interoperability

Consequences?

We can only measure semantic interoperability after the fact.

To move forward, we should measure our progress in preventinginteroperability problems, not by trying to ensure semantic interoperability.

Our work should notify users that two datasets cannot be meaningfullycombined or two systems will not meaningfully interact, instead ofdreaming the dream of fully-automated service orchestration inheterogeneous environments.

Example: If one application ontology models cars exclusively by fuelconsumption and another ontology models cars exclusively by color, candata about cars be integrated across them?

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 6: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Pattern-based Arcitecture

Envisioned, Pattern-based Arcitecture (Horizontal)

Patterns act as fallback level that ensures minimal interoperability whilepreserving heterogeneity (i.e., local, repository-specific ontologies can differ).

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 7: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Pattern-based Arcitecture

Envisioned, Pattern-based Arcitecture (Horizontal)

Views as virtual ontologies. ‘All’ provider- and user-perspectives agree on acommon core; more specific results can differ.

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 8: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Pattern-based Arcitecture

Envisioned, Pattern-based Arcitecture (Horizontal)

All users can query for data that correspond to the pattern, using view A one canretrieve data on human trajectories but these data will only come from RA and RB.

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 9: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Pattern-based Arcitecture

Envisioned, Pattern-based Arcitecture (Vertical)

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 10: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Pattern-based Arcitecture

Envisioned, Pattern-based Arcitecture (Vertical)

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 11: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Pattern-based Arcitecture

Envisioned, Pattern-based Arcitecture (Vertical)

Cons... speak now or foreverhold your peace

ProsDefers the introduction of classes that areheavy on ontological commitments (e.g.,‘vulnerability’)No need for (community-wide) agreementwhich is a key (social) challenge for otherapproaches. Preserves heterogeneityMines ontological primitives out of realobservation dataAssists domain experts in becomingknowledge engineers by developingreusable patternsMoves ontology reuse to the layer whereit belongs (and avoid Frankenontologies)Is driven by publishing, discovery, reuse,and integration needs.

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 12: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Semantic Trajectory Pattern

A Semantic Trajectory Pattern

A pattern for discrete trajectories of people, wildlife, vessels, and so forth.

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 13: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Semantic Trajectory Pattern

A Semantic Trajectory Pattern

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 14: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Semantic Trajectory Pattern

Ontology Design Patterns Can Be Specialized

Trajectories that model the research cruises of scientific vesselsIs this still an ontology design pattern?

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 15: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Semantic Trajectory Pattern

AMicro-Ontology for Cruises

Combining the InformationObject, Agent, Event, Vessel, and Trajectory patterns

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 16: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Semantic Trajectory Pattern

Idea Behind Semantic Trajectory Pattern

Can cover a wide range of domainsCan be easily extendedSupports multiple granularitiesAxiomatization beyond mere surface semanticsHas various hooks to well-known ontologies / patterns.Only partially self-contained §

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 17: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Typecasting and Views

Typecasting – Dealing with Styles

Typecasting Individual to Class and Back

ClassName v ∃hasType.{classname} (1)∃hasType.{classname} v ClassName (2)

Rolification: Typecasting from Classes to Properties...Reification: Typecasting Properties into Classes...

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 18: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Typecasting and Views

Views – Dealing with Granularity and Perspectives

Vessel ≡ ∃RVessel.SelfCruise ≡ ∃RCruise.Self

Trajectory ≡ ∃RTrajectory.SelfSegment ≡ ∃RSegment.SelfRSegment ◦ hasSegment− ◦ RTrajectory ◦

◦ hasTrajectory− ◦ RCruise ◦ isUndertakenBy v isTraversedBy

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 19: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Exploring Linked Data

Ontologies as Interfaces

Our completely client-based JS explorer can be connected to any triple store

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 20: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Exploring Linked Data

Ontologies as Interfaces

Allows users to explore Linked Data; constructs filters (e.g., >) based on probing

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 21: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Exploring Linked Data

Ontologies as Interfaces

How does the interface know which data can be mapped and how to do this?

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 22: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Exploring Linked Data

Ontologies as Interfaces

Our explorer can even combine data from multiple sources as layers (here cruisesfrom R2R in green and gazetteer features in pink)

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 23: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

What about Time?

What about Time and Age?

Google’s Knowledge Graph in 2012

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 24: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

What about Time?

What about Time and Age?

Google’s Knowledge Graph in 2013

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 25: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

What about Time?

What about Time and Age?

Google’s Knowledge Graph in 2014

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 26: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

What about Time?

What about Time and Age?

Google’s Knowledge Graph in 2015

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 27: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

What about Time?

What about Time and Age?

Google’s Knowledge Graph in 2015

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 28: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

What about Time?

What about Time and Age?

Will you please define a rule how age is computed... (like a Time Interface ©)

Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 29: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Storing versus Computing

Storing versus Computing

We cannot possibly materialize (store) all interesting (geo-)properties suchas cardinal directions between places (≈ 452 billion), nearby triples,elevations, topological relations, population density, and so forth.However, we could try to compute properties on-demand (if we could figureout a way of doing so without changing the SW layer cake).The VOLT framework acts as a transparent proxy on top of any existingSPARQL 1.1 endpoint and can compute results and their provenancegraphs on-demand.How to decide which properties to store and which to compute? → patterns!

Detailed slides at: http://www.slideshare.net/BlakeRegalia/volt-eswc-2016Building Blocks for Distributed Knowledge Graphs K. Janowicz

Page 30: Building Blocks for Distributed Geo-Knowledge Graphs

The Big Picture Semantic Interoperability Architecture Patterns Interfaces Computation

Storing versus Computing

Ontology Design Patterns Book

Building Blocks for Distributed Knowledge Graphs K. Janowicz