Linguaggi Logiche e Tecnologie per la Gestione Semantica dei testi

Similar documents
8 Using OWL-Fast in the Wild

Formalising the Semantic Web. (These slides have been written by Axel Polleres, WU Vienna)

Web Science & Technologies University of Koblenz Landau, Germany. RDF Schema. Steffen Staab. Semantic Web

Lessons Learned from a Greenhorn Ontologist

Unit 2 RDF Formal Semantics in Detail

SWAD-Europe Deliverable 8.1 Core RDF Vocabularies for Thesauri

Semantic Web Test

SKOS - Simple Knowledge Organization System

Mapping between Digital Identity Ontologies through SISM

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

Building Blocks of Linked Data

Logic and Reasoning in the Semantic Web (part I RDF/RDFS)

Vocabulary and Semantics in the Virtual Observatory

Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, Version 3. RDFS RDF Schema. Mustafa Jarrar. Birzeit University

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

Forward Chaining Reasoning Tool for Rya

RDF AND SPARQL. Part III: Semantics of RDF(S) Dresden, August Sebastian Rudolph ICCL Summer School

LECTURE 09 RDF: SCHEMA - AN INTRODUCTION

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

Making BioPAX SPARQL

CC LA WEB DE DATOS PRIMAVERA Lecture 4: Web Ontology Language (I) Aidan Hogan

Deep integration of Python with Semantic Web technologies

A Machine Learning Approach to Linking FOAF Instances

RDF Schema. Mario Arrigoni Neri

Unified Thesaurus feasibility study

Table of Contents. iii

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

Knowledge Representation for the Semantic Web

Accessing information about Linked Data vocabularies with vocab.cc

CC LA WEB DE DATOS PRIMAVERA Lecture 3: RDF Semantics and Schema. Aidan Hogan

6. RDFS Modeling Patterns Semantic Web

Introducing Linked Data

Wondering about either OWL ontologies or SKOS vocabularies? You need both!

Introduction and background

An Introduction to Linked Open Data

Usage of Linked Data Introduction and Application Scenarios. Presented by: Barry Norton

Reasoning with the Web Ontology Language (OWL)

RuleML and SWRL, Proof and Trust

5 RDF and Inferencing

The Semantic Web RDF, RDF Schema, and OWL (Part 2)

Seman&cs)of)RDF) )S) RDF)seman&cs)1)Goals)

Semantic Web In Depth: Resource Description Framework. Dr Nicholas Gibbins 32/4037

An Introduction to the Semantic Web. Jeff Heflin Lehigh University

Social Networks and Data Portability using Semantic Web technologies

INF3580/4580 Semantic Technologies Spring 2017

0.1 Knowledge Organization Systems for Semantic Web

Ontological Modeling: Part 2

Semantic Technologies

Short notes about OWL 1

RDF /RDF-S Providing Framework Support to OWL Ontologies

SWAD-Europe Deliverable 8.3: RDF Encoding of Multilingual Thesauri

MASWS Natural Language and the Semantic Web

Rules and Ontologies for the Semantic Web

Day 2. RISIS Linked Data Course

Outline RDF. RDF Schema (RDFS) RDF Storing. Semantic Web and Metadata What is RDF and what is not? Why use RDF? RDF Elements

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

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

Today s Plan. INF3580 Semantic Technologies Spring Model-theoretic semantics, a quick recap. Outline

The Semantic Web DEFINITIONS & APPLICATIONS

TopBraid EVN. A Tour of Recent Enhancements. Copyright 2014 TopQuadrant Inc. Slide 1

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

Semantic Web. MPRI : Web Data Management. Antoine Amarilli Friday, January 11th 1/29

INF3580 Semantic Technologies Spring 2012

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

RDF Schema. Philippe Genoud, UFR IM2AG, UGA Manuel Atencia Arcas, UFR SHS, UGA

Metamodels for RDF Schema and OWL

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

RDFS. Suresh Manandhar* & Dimitar Kazakov

RDF Semantics by Patrick Hayes W3C Recommendation

The Resource Description Framework and its Schema

Semantic Web. RDF and RDF Schema. Morteza Amini. Sharif University of Technology Spring 90-91

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

RDF AND SPARQL. Part IV: Syntax of SPARQL. Dresden, August Sebastian Rudolph ICCL Summer School

Joint Steering Committee for Development of RDA. Mapping ISBD and RDA element sets; briefing/ discussion paper

Resource Description Framework (RDF)

Classification and reference vocabulary in Linked Environment Data

2. Knowledge Representation Applied Artificial Intelligence

Semantic Web. Lecture 12: SW Programming Dr. Knarig Arabshian

A Semantic MediaWiki-Empowered Terminology Registry

Report from the W3C Semantic Web Best Practices Working Group

SKOS. COMP62342 Sean Bechhofer

New Dimensions in KOS

Flexible Tools for the Semantic Web

KDI OWL. Fausto Giunchiglia and Mattia Fumagallli. University of Trento

KIWI Knowledge Model for Sun CEQ Use Case

Linked Data: What Now? Maine Library Association 2017

2. RDF Semantic Web Basics Semantic Web

Semantic Integration with Apache Jena and Apache Stanbol

Ontologies SKOS. COMP62342 Sean Bechhofer

TMCL and OWL. Lars Marius Garshol. Bouvet, Oslo, Norway

Stream Reasoning For Linked Data

The Semantic Web. Mansooreh Jalalyazdi

Publishing Statistical Data as Linked Data «The RDF Data Cube Vocabulary»

Semantic Web. Ontology and OWL. Morteza Amini. Sharif University of Technology Fall 95-96

Context-aware Semantic Middleware Solutions for Pervasive Applications

Pattern-based design, part I

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

Semantiska webben DFS/Gbg

PoolParty - Thesaurus Server

Transcription:

Linguaggi Logiche e Tecnologie per la Gestione Semantica dei testi

Outline Brief recap on RDFS+ Using RDFS+ SKOS FOAF

Recap RDFS+ includes a subset of the constructs in OWL. It offers more expressive power than RDFS Why? RDFS+ increases the scope of applicability of RDFS. The most applicable extensions, from a Semantic Web perspective, are those that deal with sameness of different individuals. owl:sameas owl:functionalproperty owl:inversefunctionalproperty These constructs provide the modeler with a means for describing how information from multiple sources is to be merged in a distributed web of information.

General idea RDF enables to make statements. We can distinguish between 2 kinds of statements: Statements about data Statements about the model Example of statement about data: <:Giuseppe, :livesin, :Bolzano> Example of statement about the model: <:myclass, rdfs:subclass, :myotherclass> Why this latter kind of statement is important?

What we ll see We will describe two extended uses of the RDFS+ constructs. In particular we ll se how to use RDFS+ to make statements about the model (don t worry!). This means that we can create a new language starting from an existing one! The two applications we will see are real These have been built by groups who originally had no technology commitment to RDFS or OWL.

Overview The first application is called SKOS, the Simple Knowledge Organization System, and proposes a Semantic Web approach to expressing concept organization systems such as thesauri, taxonomies, and controlled vocabularies in RDF. The second application is called FOAF, for Friend of a Friend. FOAF is a project dedicated to creating and using machine-readable descriptions of people, the links between them, and the things they create and do.

Overview Both of these projects were originally based on RDF because of the inherently distributed and web-like nature of the project requirements. As the projects evolved, they found a need to be able to describe the relationships between various resources in a formal way. This led both of them to RDFS and then on to RDFS+. Why not just using RDFS?

SKOS SKOS was developed by the Institute for Learning & Research Technology. The aim was to provide a means for representing knowledge organization systems (including controlled vocabularies, thesauri, taxonomies, and folksonomies) in a distributed and linkable way. The key differentiator between SKOS and thesaurus standards is its basis in the Semantic Web. Another design goal of SKOS was that of enabling to map any thesaurus standards to SKOS in a fairly straightforward way.

SKOS SKOS is organized in two main layers The SKOS Core is the most mature and is the part that maps directly to the thesaurus standards. SKOS Mapping is an extension to SKOS that defines a number of specific properties for mapping thesaurus concepts from one source to another.

SKOS an example An example from a SKOS thesaurus, in which a small fragment of the UK Archival Thesaurus has been rendered in SKOS

SKOS The diagram shows seven concepts, which are related to one another by various properties that are defined in the SKOS Core. Data properties are shown within the boxes corresponding to the concepts. There is a label resource defined in RDFS: rdfs:label. rdfs:label has no formal semantics defined (that is, there are no inferences that concern rdfs:label), However, rdfs:label does have the informal meaning that it is something that can be used as the printable or human readable name of a resource.

SKOS SKOS provides a more detailed notion of a concept s label, in accordance with usual thesaurus practice. It defines three different kinds of labels preferred label alternative label hidden label skos:preflabel a rdf:property ; rdfs:label "preferred label" ; rdfs:subpropertyof rdfs:label. skos:altlabel a rdf:property ; rdfs:label "alternative label" ; rdfs:subpropertyof rdfs:label. skos:hiddenlabel a rdf:property ; rdfs:label "hidden label" ; rdfs:subpropertyof rdfs:label.

SKOS Each property has an rdfs:label, which provides a human readable version of the name of each resource. Furthermore, each of these properties is declared to be of type rdf:property. Finally, each of these is declared to be a subproperty of rdfs:label. What does this mean in terms of RDFS+?

SKOS rdfs:subpropertyof propagates triples from the subproperty to the super-property. In the first case, from any triple using skos:preflabel as a predicate, we can infer the same triple with rdfs:label as a predicate instead. Similarly for skos:altlabel and skos:hiddenlabel. Let s go back and see what we can infer! Every SKOS label shows up as an rdfs:label. In some cases (e.g., UKAT:EconomicCooperation), more than one value for rdfs:label can be inferred.

SKOS SKOS uses this same pattern for many of the properties it defines. Some examples: Notes core:definition rdfs:subpropertyof core:note. core:scopenote rdfs:subpropertyof core:note. core:example rdfs:subpropertyof core:note. core:historynote rdfs:subpropertyof core:note. core:editorialnote rdfs:subpropertyof core:note. core:changenote rdfs:subpropertyof core:note. Symbols core:altsymbol rdfs:subpropertyof core:symbol. core:prefsymbol rdfs:subpropertyof core:symbol.

Semantic Relations in SKOS SKOS defines three so-called Semantic Properties. These are the properties that relate concepts to one another broader narrower related skos:broader a owl:transitiveproperty ; owl:inverseof skos:narrower ; rdfs:comment "Broader concepts are typically rendered as parents in a concept hierarchy (tree)." ; rdfs:label "has broader". skos:narrower a owl:transitiveproperty ; owl:inverseof skos:broader ; rdfs:comment "Narrower concepts are typically rendered as children in a concept hierarchy (tree)." ; rdfs:label "has narrower". skos:related a owl:symmetricproperty; rdfs:label "related to" ; rdfs:subpropertyof rdfs:seealso.

Semantic Relations in SKOS What we can infer? First, since skos:narrower is an inverse of skos:broader we can make the following inferences about UKAT concepts UKAT:EconomicPolicy core:narrower UKAT:EconomicCooperation. UKAT:IndustrialCooperation core:broader UKAT:Economic Cooperation. UKAT:EconomicIntegration core:broader UKAT:Economic Cooperation. UKAT:EuropeanIndustrialCooperation core:broader UKAT:EconomicCooperation. UKAT:EuropeanEconomicCooperation core:broader UKAT:EconomicCooperation.

Semantic Relations in SKOS Furthermore, since each of core:narrower is a owl:transitiveproperty, we can infer that every concept in this sample is narrower than the item at the top of the tree: UKAT:EconomicPolicy core:narrower UKAT:IndustrialCooperation, UKAT:EconomicIntegration, UKAT:EuropeanIndustrialCooperation, UKAT:EuropeanEconomicCooperation. In the case of core:related, it is not defined as owl:transitiveproperty, so we cannot make inferences about chains of related items.

Meaning of SKOS Relations There is a considerable similarity between skos:narrower and skos:broader and rdfs:subclassof and rdfs:superclassof. Both of these pairs of properties are intended for modeling hierarchies. In both cases, the intention of the hierarchical structure that the relations are transitive E.g., narrower than narrower is narrower, and subclassof subclassof is subclassof.

Meaning of SKOS Relations There is one definition for subclassof that has no corresponding condition in SKOS: The semantic rule that says that if we have triples of the form B rdfs:subclassof C. x rdf:type B. then we can infer x rdf:type C.

SKOS Collections SKOS includes a special provision for implementing Collections of concepts. Collections of terms are common in thesaurus and indexing standards. SKOS uses a class called skos:collection and a property called skos:member to express such situations skos:collection rdf:type MilkBySourceAnimal CowMilk skos:member skos:member BuffaloMilk skos:member skos:member GoatMilk SheepMilk

SKOS PSI SKOS includes support for the notion of a Published Subject Indicator, or PSI. The idea of a PSI is that a community can agree on a particular publication that can act as a unique identifier for a certain concept. Examples include things like CDC disease listings, technical standards, acts of governments, and so forth. SKOS provides a property- skos:subjectindicator- to link a skos:concept to a published document. Since a PSI is intended as a unique identifier of a concept it should not be possible for two different concepts to share the same subjectindicator.

SKOS PSI This is simple to represent in RDFS+, as we saw when we discussed owl:inversefunctionalproperty. The SKOS specification includes the triple skos:subjectindicator rdf:type owl:inversefunctionalproperty. This indicates that any two concepts that share the same PSI must therefore refer to the same concept, unifying them in the knowledge organization system.

Friend of a Friend FOAF

FOAF FOAF (Friend of a Friend) is a format for supporting distributed descriptions of people and their relationships. FOAF works in the spirit of the AAA principle: Anyone can say Anything about Any topic. In the case of FOAF, the topics that anyone is usually saying things about are people. Other things that are commonly related to what we might want to say about people, such as Organizations (that people belong to), Projects (that people work on), Documents (that people have created or that describe them), and Images (that depict people), are also included in the core FOAF description.

FOAF FOAF leverages the distributed nature of RDF to provide a distributed representation of this information. Social networking sites have begun to make information available in FOAF for web-scale distribution. The idea of FOAF is not to replace any of these systems but to provide a framework whereby this information can be distributed. By using RDF, FOAF provides a framework that is extensible.

FOAF FOAF is is primarily organized around three classes: foaf:person foaf:group foaf:document These use some of the basic constructs of RDFS+ to maintain consistency and to implement FOAF policies for information merging.

People and Agents Although FOAF is primarily about people, some of the things we want to say about people are true of other things as well: groups, companies, and so forth. So a foaf:person is defined as part of a compact hierarchy under the general grouping of foaf:agent: foaf:person rdfs:subclassof foaf:agent. foaf:group rdfs:subclassof foaf:agent. foaf:organization rdfs:subclassof foaf:agent. Probably the most essential thing we know about a person is that person s name. FOAF provides a number of vocabulary terms to describe the name of a person.

People and Agents Although the full name of a person is quite useful, parts of a person s name are needed in some circumstances. foaf:firstname, foaf:givenname, foaf:family_name, and foaf:surname are four properties relating to names of people that are defined in FOAF. We have that: foaf:surname owl:equivalentproperty foaf:family_name

Nicknames and Online Names It is likely that a FOAF Person will have a screen name on some online chat service. FOAF includes for instance: foaf:aimchatid foaf:icqchatid foaf:msnchatid foaf:yahoochatid foaf:aimchatid rdfs:subpropertyof foaf:nick. foaf:icqchatid rdfs:subpropertyof foaf:nick. foaf:msnchatid rdfs:subpropertyof foaf:nick. foaf:yahoochatid rdfs:subpropertyof foaf:nick. foaf:jabberid rdfs:subpropertyof foaf:nick.

Online Persona The Internet provides a number of ways for a person to express himself, and FOAF is under constant revision to provide properties to describe these things. FOAF includes for instance: foaf:homepage foaf:workplacehomepage foaf:workinfohomepage foaf:schoolhomepage foaf:weblog All of these properties specify instances of the class foaf:document

Groups of People One of the interesting things about people is the groups they belong to. FOAF provides a class called foaf:group to define these groups. A group is connected to its members via a property called, appropriately enough, foaf:member. It is also useful to consider the members of a group as instances of a class- that is, to relate the instance of foaf:group to an rdfs:class. For this purpose, FOAF provides a link from a group to a class, called foaf:membershipclass What we can infer about the members?

Things People Make and Do People create things: they write books, publish webpages, create works of art, found companies, and start organizations. FOAF provides two properties to relate people to their creations: foaf:made and foaf:maker. They are inverse of one another, and they relate a foaf:agent to an owl:thing as follows: foaf:made rdfs:domain foaf:agent. foaf:made rdfs:range owl:thing. foaf:maker rdfs:domain owl:thing. foaf:maker rdfs:range foaf:agent. foaf:made owl:inverseof foaf:maker.

Identity in FOAF RDF uses URIs to denote the things it describes: This means that I should have a URI that denotes me, and anyone who wants to make a comment about me can make it using that URI. When someone makes her first FOAF page, how do she determine her own URI? Do they just make it up? FOAF needs to utilize some preexisting way to identify individuals. The clearest answer to this puzzle is e-mail! foaf:mbox rdf:type owl:inversefunctionalproperty.

Links among people The key to FOAF as a social networking system is the ability to link one person to another. FOAF provides a single, high-level property for this relationship, called foaf:knows. foaf:knows rdfs:domain foaf:person. foaf:knows rdfs:range foaf:person. It is usual to think that if one person knows another that the relationship is mutual. However, the FOAF designers intentionally left out the assertion of foaf:knows as an owl:symmetricproperty.