TRIPLE An RDF Query, Inference, and Transformation Language

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

Adding formal semantics to the Web

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

Semistructured Data Management Part 3 (Towards the) Semantic Web

The Semantic Web. Mansooreh Jalalyazdi

RDF/RuleML Interoperability

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

ELENA: Creating a Smart Space for Learning. Zoltán Miklós (presenter) Bernd Simon Vienna University of Economics

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

Semantic Web Ontologies

Table of Contents. iii

SWAD-Europe Deliverable 8.1 Core RDF Vocabularies for Thesauri

DAML+OIL: an Ontology Language for the Semantic Web

Structure of This Presentation

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

Enabling knowledge representation on the Web by extending RDF Schema

RDF /RDF-S Providing Framework Support to OWL Ontologies

Inference Techniques

RDF(S) Resource Description Framework (Schema)

Semantic Web Technologies: RDF + RDFS

RDF Schema. Mario Arrigoni Neri

RDF Querying: Language Constructs and Evaluation Methods Compared

Description Logic. Eva Mráková,

Multi-agent and Semantic Web Systems: RDF Data Structures

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

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

1 Introduction ). [Fensel et al., 2000b]

Standardization of Ontologies

Semistructured Data Management Part 3 (Towards the) Semantic Web

Semistructured Data Management Part 3 (Towards the) Semantic Web

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

Enabling Knowledge Representation on the Web by Extending RDF Schema

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

Forward Chaining Reasoning Tool for Rya

Semantic Web Solutions

SEMANTIC WEB AN INTRODUCTION. Luigi De

BUILDING THE SEMANTIC WEB

EDUTELLA: A P2P Networking Infrastructure Based on RDF

COSAR-TS Project Report. Applying DAML Languages and Ontologies in CoSAR-TS

Introduction to Ontologies

Temporality in Semantic Web

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

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

SEMANTIC WEB DATA MANAGEMENT. from Web 1.0 to Web 3.0

Ontology Exemplification for aspocms in the Semantic Web

Ontology Engineering for the Semantic Web and Beyond

Design and Implementation of an RDF Triple Store

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

Descriptions. Robert Grimm New York University

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

Semantic Web Lecture Part 4. Prof. Do van Thanh

Interoperability of Protégé using RDF(S) as Interchange Language

Models based on predicate logic

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

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

Semantic Days 2011 Tutorial Semantic Web Technologies

Introduction to RuleML

The RuleML Family of Web Rule Languages

Shared content-vocabularies: Ontologies

Describing Structure and Semantics of Graphs Using an RDF Vocabulary

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

Part II. Representation of Meta-Information

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

Semantic Web Technologies: Web Ontology Language

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

Main topics: Presenter: Introduction to OWL Protégé, an ontology editor OWL 2 Semantic reasoner Summary TDT OWL

Ontological Modeling: Part 2

Analysing Web Ontology in Alloy: A Military Case Study

The Semantic Web. What is the Semantic Web?

CWI. Multimedia on the Semantic Web. Jacco van Ossenbruggen, Lynda Hardman, Frank Nack. Multimedia and Human-Computer Interaction CWI, Amsterdam

RuleML and SWRL, Proof and Trust

SEMANTIC WEB LANGUAGES STRENGTHS AND WEAKNESS

SWAD-Europe Deliverable 8.3: RDF Encoding of Multilingual Thesauri

An Introduction to the Semantic Web. Jeff Heflin Lehigh University

Probabilistic logics for defining and using P2P service descriptions

Linked data basic notions!

RDFS. Suresh Manandhar* & Dimitar Kazakov

Taking the RDF Model Theory Out For a Spin

Semantic Web Fundamentals

Chapter 13: Advanced topic 3 Web 3.0

Semantic Web and Linked Data

Linked Data and RDF. COMP60421 Sean Bechhofer

Metadata Standards and Applications. 4. Metadata Syntaxes and Containers

DC-Text - a simple text-based format for DC metadata

Publishing OWL ontologies with Presto

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

RESOURCES DESCRIPTION FRAMEWORK: RDF

Inferring Metadata for a Semantic Web Peer-to-Peer Environment

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

Presented By Aditya R Joshi Neha Purohit

An RDF Model for Multi-Level Hypertext in Digital Libraries

Multi-agent Semantic Web Systems: RDF Models

SEMANTIC WEB LANGUAGES - STRENGTHS AND WEAKNESS

Enabling knowledge representation on the Web by extending RDF Schema

The Formal Syntax and Semantics of Web-PDDL

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

FOL RuleML: Release, Use, and Outlook

ONTOLOGY QUERY LANGUAGES FOR THE SEMANTIC WEB: A PERFORMANCE EVALUATION ZHIJUN ZHANG. (Under the Direction of John.A.

Opus: University of Bath Online Publication Store

Semantic Web Fundamentals

Transcription:

TRIPLE An RDF Query, Inference, and Transformation Language Michael Sintek sintek@dfki.de DFKI GmbH Stefan Decker stefan@db.stanford.edu Stanford University Database Group DDLP'2001 Tokyo, Japan, October 20-22, 2001 2001 DFKI GmbH -1- Overview Introductions to RDF, RDF Schema DAML TRIPLE Motivation Language Description Layered Architecture Realization Conclusion 2001 DFKI GmbH -2- Management Group 1

A Very Short Introduction to RDF ( Resource Description Framework ) I (Syntactical) basis of the semantic web Similar to semi-structured data: graphs (RDF ~ OEM) Three basic object types: resources: all things being described; named by URIs properties: attributes to describe a resource statements: subject + predicate + object; are all resources (object can also be a literal) Example: the creator of this talk is Michael Sintek subject: predicate: object: http://www.dfki.uni-kl.de/.../ddlp2001talk.html http://www.purl.org/dc/.../creator Michael Sintek 2001 DFKI GmbH -3- A Very Short Introduction to RDF II Representation as graph: http://.../ddlp2001talk.html dc:creator Michael Sintek serialized in XML ( RDF/XML ): <?xml version="1.0"?> <rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns# xmlns:dc="http://www.purl.org/dc/elements/1.0/"> <rdf:description about=" http://.../ddlp2001talk.html "> <dc:creator>michael Sintek</dc:creator> </rdf:description> </rdf:rdf> 2001 DFKI GmbH -4- Management Group 2

A Very Short Introduction to RDF Schema RDF = simple data model RDF Schema allows definition of vocabularies for RDF data Simple frame system / ontology language: classes, subclasses, properties, sub-properties, domain, range Extension of RDF in RDF Example: 2001 DFKI GmbH -5- A Very Short Introduction to DAML ( DARPA Agent Markup Language ) Motivation: support WWW content that is easily used by intelligent agents and other programs enable the Semantic Web DAML language ( DAML+OIL ) extension of RDF[S]: description logics: class expressions: union, intersection, complement inverse, transitive,... properties cardinality constraints support for concrete types (from XML Schema) usually enacted by DL classifier (e.g., FaCT) 2001 DFKI GmbH -6- Management Group 3

TRIPLE: Motivation RDF used in various scenarios: meta-data for documents on the web (e.g., in PDF files) distributed knowledge (e.g., ontologies) exchange of complex semi-structured or object-oriented data (e.g., between companies) message content language in agent systems (e.g., FIPA) Needed: query and inference language for RDF: intelligent information retrieval (search heuristics etc.) ontology mapping, information integration,... Existing/ongoing approaches: SiLRI, DQL, RQL, N3, Squish,... 2001 DFKI GmbH -7- What s Wrong With Existing Approaches? Built-in semantics (e.g. SiLRI, RQL) but: many RDF-based languages with different semantics (DAML+OIL, RDF Schema, UML/RDF, ) No support for RDF models one large heap of RDF data model 1 model 2 model 3 2001 DFKI GmbH -8- Management Group 4

TRIPLE: Language Overview Native support for Resources & namespaces, abbreviations Models (sets of RDF statements) Reification Rules with expressive bodies (full FOL syntax) Transformations Syntactical extension of Horn Logic Syntactically similar to F-Logic (and SiLRI): subject[predicate object] ( molecule ) 2001 DFKI GmbH -9- Language Description I Namespace and resource abbreviations: rdf := http://www.w3.org/1999/02/22-rdf-syntax-ns#. isa := rdf:subclassof. Statements, triples, molecules: subject[predicate object] subject[p 1 o 1 ; p 2 o 2 ;...] s 1 [p 1 s 2 [p 2 o] ] Models, model expressions, parameterized models: s[p o]@m triple <s,p,o> in model m s[p o]@(m 1 m 2 ) model intersection s[p o]@sf(m1, X, Y) Skolem function 2001 DFKI GmbH -10- Management Group 5

Language Description II Reification: stefan[believes <Ora[isAuthorOf homepage]> ] Logical formulae: usual logical connectives and quantifiers: all variables introduced via (or ) Clauses: facts: s[p 1 o 1 ; p 2 o 2 ;...]. rules: X s 1 [p 1 X] s 2 [p 2 X].... Blocks: @model { clauses } Mdl @model(mdl) { clauses } 2001 DFKI GmbH -11- Example: Dublin Core dc := http://purl.org/dc/elements/1.0/. dfki := http://www.dfki.de/. @dfki:documents { dfki:d_01_01 [ } dc:title TRIPLE ; dc:creator Michael Sintek ; dc:subject RDF; dc:subject triples;... ]. S,D search(s,d) D[dc:subject S]. fact rule namespace abbreviations block TRIPLE Michael Sintek dc:title dc:creator dfki:d_01_01 dc:subject dc:subject RDF... triples 2001 DFKI GmbH -12- Management Group 6

Layered Architecture TRIPLE supports the definition of semantical RDF extensions in a modular way RDF Schema (and other simple frame systems): semantics can be directly defined in TRIPLE as a parameterized model (see next slide) OIL, DAML+OIL (i.e., expressive ontology languages, DL): requires interaction with foreign reasoning components (e.g., DL classifier) Goal: use various semantics in one inference (e.g., for information integration) 2001 DFKI GmbH -13- TRIPLE/RDFS: RDF Schema Model rdf := 'http://www.w3.org/...rdf-syntax-ns#'. rdfs := 'http://www.w3.org/.../pr-rdf-schema-...#'. type := rdf:type. subpropertyof := rdfs:subpropertyof. subclassof := rdfs:subclassof. FORALL Mdl @rdfschema(mdl) { transitive(subpropertyof). transitive(subclassof). FORALL O,P,V O[P->V] <- O[P->V]@Mdl. FORALL O,P,V O[P->V] <- EXISTS S S[subPropertyOf->P] AND O[S->V]. FORALL O,P,V O[P->V] <- transitive(p) AND EXISTS W (O[P->W] AND W[P->V]). FORALL O,T O[type->T] <- EXISTS S (S[subClassOf->T] AND O[type->S]). } namespace abbreviations resource abbreviations model block copy triples from Mdl transitivity of subpropertyof and subclassof 2001 DFKI GmbH -14- Management Group 7

TRIPLE/DAML+OIL daml_oil(mdl) model realized by accessing a DL classifier (e.g., FaCT) access only allowed in rule bodies results in hybrid rule language similar to Carin, but more pragmatic approach: powerful but incomplete 2001 DFKI GmbH -15- TRIPLE/DAML+OIL Example daml := 'http://www.daml.org/.../daml+oil#'. animals := 'http://www.example.org/animals#'. Animal @animals:ontology { animals:animal[rdf:type -> daml:class]. s s animals:herbivore[rdf:type -> daml:class; Herbivore rdfs:subclassof -> animals:animal]. daml:disjointwith Carnivore animals:carnivore[rdf:type -> daml:class; rdfs:subclassof -> animals:animal; daml:disjointwith -> animals:herbivore]. s s animals:omnivore[rdf:type -> daml:class; Omnivore rdfs:subclassof -> animals:herbivore; rdfs:subclassof -> animals:carnivore]. s = rdfs:subclassof } FORALL Ont @check(ont) { find all unsatisfiable classes (will detect Omnivore) FORALL C unsatisfiable(c) <- C[daml:subClassOf -> daml:nothing]@daml_oil(ont). } 2001 DFKI GmbH -16- Management Group 8

Realization: Mapping to Horn Logic First implementation (and informal semantics) by mapping to Horn Logic / XSB system (Prolog with tabled resolution) Lloyd-Topor transformation for quantifiers etc. RDF-specific transformations given as rewrite rules: 2001 DFKI GmbH -17- Conclusions TRIPLE is a new RDF-specific query and inference language Allows specification of/access to multiple semantics Every Horn Logic inference engine can be used First implementation available (for a subset of TRIPLE called TRIPLE 0 ): http://www.dfki.uni-kl.de/frodo/triple/ Representation of TRIPLE 0 in RDF exists Part of RuleML initiative: http://www.dfki.uni-kl.de/ruleml/ 2001 DFKI GmbH -18- Management Group 9