Pests of safflower_Binomics_Identification_Dr.UPR.pdf
Ontology Engineering: A View from the Trenches - WOP 2015 Keynote
1. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Ontology Engineering:
A View from the Trenches
WOP 2015 Keynote
Krzysztof Janowicz
STKO Lab, University of California, Santa Barbara, USA
Ontology Engineering: A View from the Trenches K. Janowicz
2. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
The Big Picture
The Big Picture∗
Ontology Engineering: A View from the Trenches K. Janowicz
3. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
The Big Picture
The Even Bigger Picture
Ontology Engineers
Oscar Corcho’s EKAW2014 Keynote: Ontology engineering for and by the
masses: are we already there? (http://goo.gl/loYAta)
Ontology
The next 60+ minutes
Ontology Engineering
Pascal Hitzler’s Diversity++ 2015 Keynote: Ontology modeling with
domain experts (see.it/tomorrow/9am)
Ontology Engineering: A View from the Trenches K. Janowicz
4. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Ontology Engineering Challenges
Ontology Engineering
Challengesby Example
Ontology Engineering: A View from the Trenches K. Janowicz
5. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Ontology Reuse
Vocabulary/Ontology Reuse
A typical statement:
’Reuse external vocabularies whenever possible.’
<http://dbpedia.org/resource/Copernicus_(lunar_crater)>
...
geo:lat
"9.7"^^xsd:decimal;
geo:long
"20.0"^^xsd:decimal;
...
a
dbpedia-owl:Crater,
...
ns5:Place,
...
Concerns:
Most ontologies are under-specific, the intended meaning or scope remains
unclear, versioning /evolution strategies are unclear, contact persons are
often not available, potential legal issues, lack of proper documentation,
different community-based approaches and styles,...
Ontology Engineering: A View from the Trenches K. Janowicz
6. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Ontology Reuse
Reuse Difficulties Example
The Fluidops interface renders the DBpedia RDF data from the Copernicus
crater and places it on the surface of the Earth instead of realizing that the
given coordinates are selenographic coordinates.
Ontology Engineering: A View from the Trenches K. Janowicz
7. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Standardizing Meaning
‘Standardized Meaning’ Approaches to Ontology Engineering
Ontology Engineering: A View from the Trenches K. Janowicz
8. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Standardizing Meaning
‘Standardized Meaning’ Approaches to Ontology Engineering
California:
City ≡ Town
Utah:
Town ≡ < (population, 1000)
Pennsylvania:
Town ≡ {Bloomsburg}
We will revisit the cities & towns example and the local nature of meaning later.
Ontology Engineering: A View from the Trenches K. Janowicz
9. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Styles and Committments
Modeling Practive, Styles, and Level of Detail
With growing size, complexity, and abstraction-level, different modeling styles,
ontological choices, levels of detail becomes increasingly difficult to handle.
Ontology Engineering: A View from the Trenches K. Janowicz
10. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
The Cause of the Problem
Is There a Common Cause to These Problems?
Ontology Engineering: A View from the Trenches K. Janowicz
11. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
The Cause of the Problem
Is There a Common Cause to These Problems?
We will revisit the age example at the end of this talk.
Ontology Engineering: A View from the Trenches K. Janowicz
12. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Architecturefrom above
Ontology Engineering: A View from the Trenches K. Janowicz
13. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Pattern-based Arcitecture
Envisioned, Pattern-based Arcitecture (Horizontal)
Patterns act as fallback level that ensures minimal interoperability while
preserving heterogeneity (i.e., local, repository-specific ontologies can differ).
Ontology Engineering: A View from the Trenches K. Janowicz
14. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Pattern-based Arcitecture
Envisioned, Pattern-based Arcitecture (Horizontal)
Views as virtual ontologies. ‘All’ provider- and user-perspectives agree on a
common core; more specific results can differ.
Ontology Engineering: A View from the Trenches K. Janowicz
15. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Pattern-based Arcitecture
Envisioned, Pattern-based Arcitecture (Horizontal)
All users can query for data that correspond to the pattern, using view A one can
retrieve data on human trajectories but these data will only come from RA and RB.
Ontology Engineering: A View from the Trenches K. Janowicz
16. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Pattern-based Arcitecture
Envisioned, Pattern-based Arcitecture (Vertical)
Ontology Engineering: A View from the Trenches K. Janowicz
17. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Pattern-based Arcitecture
Envisioned, Pattern-based Arcitecture (Vertical)
Ontology Engineering: A View from the Trenches K. Janowicz
18. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Pattern-based Arcitecture
Envisioned, Pattern-based Arcitecture (Vertical)
Cons
... speak now or forever
hold your peace
Pros
Defers the introduction of classes that are
heavy on ontological commitments (e.g.,
‘vulnerability’)
No need for (community-wide) agreement
which is a key (social) challenge for other
approaches. Preserves heterogeneity
Mines ontological primitives out of real
observation data
Assists domain experts in becoming
knowledge engineers by developing
reusable patterns
Moves ontology reuse to the layer where
it belongs (and avoid Frankenontologies)
Is driven by publishing, discovery, reuse,
and integration needs.
Ontology Engineering: A View from the Trenches K. Janowicz
19. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Patternsand views
Ontology Engineering: A View from the Trenches K. Janowicz
20. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Semantic Trajectory Pattern
A Semantic Trajectory Pattern
A pattern for discrete trajectories of people, wildlife, vessels, and so forth.
Ontology Engineering: A View from the Trenches K. Janowicz
21. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Semantic Trajectory Pattern
A Semantic Trajectory Pattern
Ontology Engineering: A View from the Trenches K. Janowicz
22. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Semantic Trajectory Pattern
Ontology Design Patterns Can Be Specialized
Trajectories that model the research cruises of scientific vessels
Is this still an ontology design pattern?
Ontology Engineering: A View from the Trenches K. Janowicz
23. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Semantic Trajectory Pattern
A Micro-Ontology for Cruises
Combining the InformationObject, Agent, Event, Vessel, and Trajectory patterns
Ontology Engineering: A View from the Trenches K. Janowicz
24. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Semantic Trajectory Pattern
Idea Behind Semantic Trajectory Pattern
Can cover a wide range of domains
Can be easily extended
Supports multiple granularities
Axiomatization beyond mere surface semantics
Has various hooks to well-known ontologies / patterns.
Only partially self-contained
Ontology Engineering: A View from the Trenches K. Janowicz
25. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Typecasting and Views
Typecasting – Dealing with Styles
Typecasting Individual to Class and Back
ClassName ∃hasType.{classname} (1)
∃hasType.{classname} ClassName (2)
Rolification: Typecasting from Classes to Properties
...
Reification: Typecasting Properties into Classes
...
Ontology Engineering: A View from the Trenches K. Janowicz
26. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Typecasting and Views
Views – Dealing with Granularity and Perspectives
Vessel ≡ ∃RVessel.Self
Cruise ≡ ∃RCruise.Self
Trajectory ≡ ∃RTrajectory.Self
Segment ≡ ∃RSegment.Self
RSegment ◦ hasSegment−
◦ RTrajectory ◦
◦ hasTrajectory−
◦ RCruise ◦ isUndertakenBy isTraversedBy
Ontology Engineering: A View from the Trenches K. Janowicz
27. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Typecasting and Views
Signatures
Semantic
Ontology Engineering: A View from the Trenches K. Janowicz
28. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Sensors and Signatures
Observatories and Their Sensors
Whether on land or in space, observatories and their sensors serve
different purposes and are most useful when they work together.
Ontology Engineering: A View from the Trenches K. Janowicz
29. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Sensors and Signatures
Spectral Signatures, Bands, and Remote Sensing
Spectral signatures are the combination of emitted, reflected, or absorbed
electromagnetic radiation at varying wavelengths (bands) that uniquely
identify a feature type.
Spectral libraries, the idea of sharing spectral signatures, has
revolutionized remote sensing.
Ontology Engineering: A View from the Trenches K. Janowicz
30. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Semantic Signatures and Bands
Semantic Signatures As Analogy To Spectral Signatures
Geospatial bands
based on geographic location
ANND
Ripley’s K Bins
J Measure
Dzero
Temporal bands
based on geo-social check-ins
24 Hours
7 Days
Seasons
Thematic bands
based on venue tips and reviews
LDA topics
TF-IDF
Makes use of data
heterogeneity
Ontology Engineering: A View from the Trenches K. Janowicz
31. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Semantic Signatures and Bands
Semantic Signatures and Bands
Semantic
signature
Geographic
feature
Feature type
Spatial band
Temporal band
Thematic band
rdfs:subClassOf
rdfs:subClassOf
rdfs:subClassOf
signifies
hasObservationResulthasType
BandconsistsOf
Spatial signature
Temporal
signature
Thematic
signature
rdfs:subClassOf rdfs:subClassOf rdfs:subClassOf
LDA topic vector
rdf:type
hasSignature
Semantic signatures and bands are an analogy to spectral signatures.
So far, we have mined and modeled hundreds of bands for hundreds of
different geographic features on the micro, meso, and macro-scale.
Applied them to categorization, deduplication, semantic enrichment, cleansing,
visualization, exploration, reverse geocoding, ontology alignment,...
Ontology Engineering: A View from the Trenches K. Janowicz
32. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Thematic Bands
Thematic Bands & Geo-Indicativeness
Places at geographic location 34.43, -119.71 are:
of types city, county seat,...
at the coastline, near the mountains, have Mediterranean climate,...
described in terms of urban area, economy, tourism, government, employment,...
Interesting observation: some of these terms will co-occur by type, others per region.
Ontology Engineering: A View from the Trenches K. Janowicz
33. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Thematic Bands
Thematic Bands & Geo-Indicativeness
A thematic band can be
computed out of unstructured
text from sources such as
Wikipedia, travel blogs, news
articles, and so forth.
Non-georeferenced plain text
is often still geo-indicative
Different types of geographic
features have different,
diagnostic topics associated to
them (out of 500 topics)
Indicative topics and be lifted to
the type-level.
Here, we modeled topics using
latent Dirichlet allocation (LDA)
Ontology Engineering: A View from the Trenches K. Janowicz
34. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Thematic Bands
Thematic Bands & Geographic Feature Types
City topics: 204>450>104>282>267>497>443>484>277>97>...
Town topics: 425>450>419>367>104>429>266>69>204>308>...
Mountain topics: 27>110>5>172>208>459>232>398>453>183>...
Ontology Engineering: A View from the Trenches K. Janowicz
35. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Temporal Bands
Temporal Bands
Study geo-social
check-in data to
location-based social
networks.
Aggregate them to the
feature type level and
clean them.
Intuitively, people visit
wineries in the
after-noon and evening
and bakeries in the
mornings.
Combining weekly and
hourly bands to create
place type signatures.
Ontology Engineering: A View from the Trenches K. Janowicz
36. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Spatial Bands
Spatial Bands
POI plotted by similarity to bar and post office in OpenStreetMap data (London)
Similarity measured as association strength in OSM change history
Bars (and similar features) tend to clump together
Post Offices (and similar features) are rather uniformly distributed
Ontology Engineering: A View from the Trenches K. Janowicz
37. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Spatial Bands
Spatial Bands
Dzero measures the likelihood of features of a certain type to co-occur
within a specific semantic and spatial range.
General idea: generate recommendations and clean up data based on
type likelihood. ’How likely is a post office directly next to an existing one?’
Ontology Engineering: A View from the Trenches K. Janowicz
38. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Sensor Resolution & Social Sensing
Sensor Resolution & Social Sensing
(Remote sensing) sensors can be characterized by their resolution
Spatial resolution: smallest feature that can be detected, i.e., the pixel size.
Temporal resolution: smallest time interval between a repeated observation.
Spectral resolution: number, position, and width of spectral bands.
Radiometric resolution: small distinguishable differences in radiation magnitude.
Analogous social sensor resolutions, e.g., types of bands, number of topics.
Ontology Engineering: A View from the Trenches K. Janowicz
39. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Sensor Resolution & Social Sensing
Place-based Resolution of Termporal Signatures
Circular temporal signatures histograms for Theme Park (a,b,c) and Drugstore (d,e,f).
About 50% of ≈ 400 Point Of Interest (POI) types are regionally invariant in the USA.
Ontology Engineering: A View from the Trenches K. Janowicz
40. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Sensor Resolution & Social Sensing
Temporal Resolution of Termporal Signatures
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
The ‘Foursquare-day’
How and when do people check-in at places, manually, automatically?
Do they check-out? If not, after what time are they checked-out automatically?
Ontology Engineering: A View from the Trenches K. Janowicz
41. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Sensor Resolution & Social Sensing
Distinguishable Feature Types For Thematic Signatures From 500-Topics
Which place types can be meaningfully distinguished (in DBpedia)?
Ontology Engineering: A View from the Trenches K. Janowicz
42. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Interfaces
Ontologies as
Ontology Engineering: A View from the Trenches K. Janowicz
43. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Exploring Linked Data
Ontologies as Interfaces
Our completely client-based JS explorer can be connected to any triple store
Ontology Engineering: A View from the Trenches K. Janowicz
44. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Exploring Linked Data
Ontologies as Interfaces
Allows users to explore Linked Data; constructs filters (e.g., >) based on probing
Ontology Engineering: A View from the Trenches K. Janowicz
45. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Exploring Linked Data
Ontologies as Interfaces
Allows users to explore Linked Data; constructs filters (e.g., >) based on probing
Ontology Engineering: A View from the Trenches K. Janowicz
46. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Exploring Linked Data
Ontologies as Interfaces
How does it know which data can be mapped and how to do this?
Ontology Engineering: A View from the Trenches K. Janowicz
47. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
Exploring Linked Data
Ontologies as Interfaces
Our explorer can even combine data from multiple sources as layers (here cruises
from R2R in green and gazetteer features in pink)
Ontology Engineering: A View from the Trenches K. Janowicz
48. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
What about Time?
What about Time and Age?
Google’s Knowledge Graph in 2012
Ontology Engineering: A View from the Trenches K. Janowicz
49. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
What about Time?
What about Time and Age?
Google’s Knowledge Graph in 2013
Ontology Engineering: A View from the Trenches K. Janowicz
50. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
What about Time?
What about Time and Age?
Google’s Knowledge Graph in 2014
Ontology Engineering: A View from the Trenches K. Janowicz
51. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
What about Time?
What about Time and Age?
Google’s Knowledge Graph in 2015
Ontology Engineering: A View from the Trenches K. Janowicz
52. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
What about Time?
What about Time and Age?
Google’s Knowledge Graph in 2015
Ontology Engineering: A View from the Trenches K. Janowicz
53. The Big Picture Challenges Architecture Patterns Semantic Signatures Interfaces
What about Time?
What about Time and Age?
Will you please define a rule how age is computed... (like a Time Interface )
Ontology Engineering: A View from the Trenches K. Janowicz