Semantics. Matthew J. Graham CACR. Methods of Computational Science Caltech, 2011 May 10. matthew graham

Similar documents
Library of Congress Controlled Vocabularies as Linked Data:

Semantic Web Fundamentals

Semantic Web Fundamentals

A brief introduction to SKOS

Chapter 13: Advanced topic 3 Web 3.0

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services

Report from the W3C Semantic Web Best Practices Working Group

On practical aspects of enhancing semantic interoperability using SKOS and KOS alignment

SWAD-Europe Deliverable 8.1 Core RDF Vocabularies for Thesauri

INF3580/4580 Semantic Technologies Spring 2015

From the Web to the Semantic Web: RDF and RDF Schema

The Semantic Web Revisited. Nigel Shadbolt Tim Berners-Lee Wendy Hall

Linked data and its role in the semantic web. Dave Reynolds, Epimorphics

Introducing Linked Data

Converting a thesaurus into an ontology: the use case of URBISOC

Mapping between Digital Identity Ontologies through SISM

Semantic Web and Linked Data

Orchestrating Music Queries via the Semantic Web

Temporality in Semantic Web

Application Services for Knowledge Organisation and System Integration

Library of Congress BIBFRAME Pilot. NOTSL Fall Meeting October 30, 2015

Google indexed 3,3 billion of pages. Google s index contains 8,1 billion of websites

BUILDING THE SEMANTIC WEB

Vocabulary and Semantics in the Virtual Observatory

Multi-agent and Semantic Web Systems: RDF Data Structures

RESOURCES DESCRIPTION FRAMEWORK: RDF

Semantic Integration with Apache Jena and Apache Stanbol

Implementing and extending SPARQL queries over DLVHEX

0.1 Knowledge Organization Systems for Semantic Web

Helmi Ben Hmida Hannover University, Germany

Introduction to Linked Data

RDF /RDF-S Providing Framework Support to OWL Ontologies

CHAPTER 1 INTRODUCTION

SKOS - Simple Knowledge Organization System

Table of Contents. iii

Semantiska webben DFS/Gbg

OWL a glimpse. OWL a glimpse (2) requirements for ontology languages. requirements for ontology languages

Is Linked Data the future of data integration in the enterprise?

OSM Lecture (14:45-16:15) Takahira Yamaguchi. OSM Exercise (16:30-18:00) Susumu Tamagawa

Copyright 2012 Taxonomy Strategies. All rights reserved. Semantic Metadata. A Tale of Two Types of Vocabularies

Linked Open Data: a short introduction

Standardization of Ontologies

13. The Semantic Web. Plan for INFO Lecture #13. INFO October Bob Glushko. Overview of the Semantic Web RDF OWL

Unified Thesaurus feasibility study

CS Knowledge Representation and Reasoning (for the Semantic Web)

Extracting knowledge from Ontology using Jena for Semantic Web

Linking Data with RDF

What is the Semantic Web?

The Data Web and Linked Data.

Linked Data: What Now? Maine Library Association 2017

Semantic Technologies and CDISC Standards. Frederik Malfait, Information Architect, IMOS Consulting Scott Bahlavooni, Independent

THE GETTY VOCABULARIES TECHNICAL UPDATE

SWAD-Europe Deliverable 8.3: RDF Encoding of Multilingual Thesauri

XML and Semantic Web Technologies. III. Semantic Web / 1. Ressource Description Framework (RDF)

H1 Spring B. Programmers need to learn the SOAP schema so as to offer and use Web services.

Today: RDF syntax. + conjunctive queries for OWL. KR4SW Winter 2010 Pascal Hitzler 3

Semantic Web Programming

INTEROPERABILITY, ONTOLOGIES AND LINKED DATA THE LAY OF THE (IRE)LAND

Short notes about OWL 1

Semantic Web Publishing. Dr Nicholas Gibbins 32/4037

A General Approach to Query the Web of Data

COMPUTER AND INFORMATION SCIENCE JENA DB. Group Abhishek Kumar Harshvardhan Singh Abhisek Mohanty Suhas Tumkur Chandrashekhara

Knowledge Representation for the Semantic Web

A faceted lightweight ontology for Earthquake Engineering Research Projects and Experiments

Semantic web. Tapas Kumar Mishra 11CS60R32

Description Logic. Eva Mráková,

Presented By Aditya R Joshi Neha Purohit

Adding formal semantics to the Web

Linked Data and RDF. COMP60421 Sean Bechhofer

Terminologies, Knowledge Organization Systems, Ontologies

An Argument For Semantics

Opus: University of Bath Online Publication Store

Publishing Vocabularies on the Web. Guus Schreiber Antoine Isaac Vrije Universiteit Amsterdam

SEMANTIC WEB AN INTRODUCTION. Luigi De

SKOS. COMP62342 Sean Bechhofer

Introduction and background

Copyright 2012 Taxonomy Strategies. All rights reserved. Semantic Metadata. A Tale of Two Types of Vocabularies

The Semantic Web. What is the Semantic Web?

Proposal for Implementing Linked Open Data on Libraries Catalogue

Knowledge Representations. How else can we represent knowledge in addition to formal logic?

O.Curé [1 ] Mashup, Microformats, RDFa and GRDDL

Why You Should Care About Linked Data and Open Data Linked Open Data (LOD) in Libraries

Graph Data Management & The Semantic Web

Ontologies SKOS. COMP62342 Sean Bechhofer

JENA: A Java API for Ontology Management

Today s Plan. INF3580 Semantic Technologies Spring RDF on the Web. Outline. Lecture 13: Publishing RDF Data on the Web.

Simplified Approach for Representing Part-Whole Relations in OWL-DL Ontologies

Semantic Technology. Opportunities

Publier, Lier et Utiliser TAXREF dans le Web de Données

Publishing OWL ontologies with Presto

Semantic Days 2011 Tutorial Semantic Web Technologies

Semantic Web Tools. Federico Chesani 18 Febbraio 2010

Deep integration of Python with Semantic Web technologies

H1 Spring C. A service-oriented architecture is frequently deployed in practice without a service registry

Structure of This Presentation

Using RDF to Model the Structure and Process of Systems

A Semantic Web-Based Approach for Harvesting Multilingual Textual. definitions from Wikipedia to support ICD-11 revision

Chapter 16 Linked Data, Ontologies, and DBpedia

FIBO Metadata in Ontology Mapping

SPARQL: An RDF Query Language

Transcription:

Semantics Matthew J. Graham CACR Methods of Computational Science Caltech, 2011 May 10

semantic web The future of the Internet (Web 3.0) Decentralized platform for distributed knowledge A web of databases Logical pieces of meaning that can be mechanically manipulated by a machine Vocabularies for making assertions about things Data consistency and inferencing Smart applications

smart apps

knowledge as a graph Information is best expressed as a labelled, directed graph (entity-attribute-value data model)

resource description framework W3C standard for encoding knowledge A fact is expressed as a subject-predicate-object triple or statement: 1 has Atomic Number 57 Subjects, predicates and objects are given as names for entities Names are URIs Objects can also be given as text values, called literal values, which may or may not be typed using XML Schema datatypes

n3/turtle URIs are expressed as <... > or abbreviated with namespaces Statement is just written as subject URI, predicate URI and object URI/literal value with a period: @prefix pt: <http://www.example.org/periodictable#>. <http://www.example.org/periodictable#la> pt:name "lanthanum". Multiple statements with the same subject (and predicate) can be grouped together with a semicolon (commas) <http://www.example.org/periodictable#la> pt:name "lanthanum" ; pt:atomicnumber 57 ; pt:color "silvery white".

rdf/xml Resource nodes: Statement subjects and objects Usually have rdf:about attribute Can only contain property nodes Property nodes: Literal values Reference to an object resource using rdf:resource attribute Resource node

rdf/xml example <rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:pt="http://www.example.org/periodictable#"> <rdf:description rdf:about="http://www.example.org/periodictable#la"> <pt:name> lanthanum <pt:name> <pt:atomicnumber> 57 </pt:atomicnumber> <pt:color> silvery white </pt:color> </rdf:description> </rdf:rdf> For comparison: @prefix pt: <http://www.example.org/periodictable#>. <http://www.example.org/periodictable#la> pt:name "lanthanum" ; pt:atomicnumber 57 ; pt:color "silvery white".

rdfa Embed knowledge in an (X)HTML document Uses attributes applicable to all elements: -- about -- rel and rev -- href, src and resource -- property -- content -- datatype -- typeof

rdfa example <html xmlns="http://www.w3.org/1999/xhtml" xmlns:pt="http://www.example.org/periodictable#"> <head> <title> Lanthanum </title> <base href="http://www.example.org/periodictable#la" /> </head> <body> <p> The element <span property="pt:name"> lanthanum </span> has an atomic weight of <span property="pt:atomicweight"> 57 </span> and is <span property="pt:color"> silvery white </span> in color. </p> </body> </html>

linked data A term coined by Tim Berners-Lee who outlined four principles: -- Use URIs to identify things that you expose to the Web as resources -- Use HTTP URIs so that people can locate and look up (dereference) these things -- Provide useful information about the resource when its URI is dereferenced -- Include links to other, related URIs in the exposed data

linked data web

linked data examples List all episodes of the HBO television series "The Sopranos" ordered by their air-date Find the official websites of companies with more than 50000 employees Find me things close to the Eiffel Tower Discover new drugs to treat Alzheimer's: -- What proteins are involved in signal transduction and are related to pyramidal neurons? Google: 223000 hits, 0 results Linked healthcare data: 32 hits, 32 results

linked data tools Browsers: -- Tabulator (also has Firefox plugin) -- Disco -- Openlink Data Browser Libraries -- Semantic Web Client Library (Java) Exposing data -- d2r for exposing relational data in a db

concept schemes controlled vocabulary: a closed list of terms that can be used for classification taxonomy: a controlled vocabulary with hierarchy (term - sub-term) thesaurus: a taxonomy with broader/narrower term, synonymous term, top term, scope note and related term subject heading list, terminology, glossary, faceted classification

simple knowledge organization system W3C standard for expressing knowledge concept schemes in a machine-understandable way Set of RDF properties and RDFS classes to express the content and structure of a concept scheme as an RDF graph: Collection CollectableProperty OrderedCollection ConceptScheme Concept preflabel altlabel hiddenlabel definition example scopenote broader narrower related

skos example <rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xml:base="http://www.astro.physik.uni-goettingen.de/~hessman/rdf/ivoat"> <skos:conceptscheme rdf:about=""> <skos:hastopconcept rdf:resource="#temperaturescales"/> </skos:conceptscheme> <skos:concept rdf:about="#absolutetemperaturescale"> <skos:preflabel>absolute temperature scale</skos:preflabel> <skos:definition>absolute temperature scale</skos:definition> <skos:broader rdf:resource="#temperaturescales"/> <skos:narrower rdf:resource="#kelvin"/> <skos:related rdf:resource="#celsiustemperaturescale"/> <skos:related rdf:resource="#temperature"/> </skos:concept> </rdf:rdf>

sparql protocol and rdf query language W3C standard for RDF query language and data access protocol SELECT, CONSTRUCT, ASK, DESCRIBE WHERE, FILTER, OPTIONAL, UNION ORDER BY, DISTINCT, REDUCED, LIMIT, OFFSET

PREFIX table: <http://www.example.org/periodictable#> SELECT?name?symbol?weight?number?color FROM <http://www.example.org/periodictable.owl> WHERE {?uranium table:name "uranium".?uranium table:atomicweight?uraniumweight.?element table:name?name.?element table:symbol?symbol.?element table:atomicweight?weight.?element table:atomicnumber?number. OPTIONAL {?element table:color?color }. FILTER (?weight >?uraniumweight ) } ORDER BY ASC[?weight] sparql example

ontologies An ontology is a formal specification of a shared conceptualization -- it is a data model that represents a set of concepts within a domain and the relationships between those concepts Ontologies generally describe: Individuals: the basic or "ground level" objects Classes: sets, collections, or types of objects Attributes: properties, features, characteristics, or parameters that objects can have and share Relations: ways that objects can be related to one another Events: the changing of attributes or relations

web ontology language (owl) W3C standard for authoring ontologies Based on RDF (OWL semantically extends RDFS) Regarded as one of the fundamental technologies underpinning the Semantic Web OWL allows descriptions of: -- relations between classes (e.g. disjointness) -- cardinality (e.g. "exactly one") -- characteristics of properties (e.g. symmetry) -- enumerated classes

Data is interpreted as: owl components -- a set of individuals -- a set of property assertions relating the individuals to each other -- a set of axioms placing constraints on sets of individuals (classes) and the types of relationships allowed between them For example, the family ontology: -- "hasmother" is only present between two individuals when "hasparent" is also present -- members of "HasTypeOBlood" are never related via "hasparent" to members of "HasTypeABBlood" -- If Ada "hasmother" Anne and Ada is "HasTypeOBlood" then Anne is not "HasTypeABBlood"

inference Computers provide reasoning services over a knowledge domain where the domain and the knowledge have been formally and rigorously specified and reasoning algorithms have been implemented in a way which that computer can apply. For example: Sheep only eat grass Grass is a plant Plants and parts of plants are disjoint from animals and parts of animals Vegetarians only eat things which are not animals or parts of animals => sheep are vegetarians!

relevant terms for stage: inference examples start some (succeeded by some stage1) and end some (preceded by some stage2) related terms for term: part of some class1 or develops from some class1 or has part from some class1 lowest common ancestor: superclassof(class1 or class2)

software Jena (jena.sourceforge.net) Protege (protege.stanford.edu) cwm (www.w3.org/2000/10/swap/doc/cwm.html)