90
Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Semantic Web Delhi, India, 11 November 2005 Ivan Herman, W3C

Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Semantic WebDelhi, India, 11 November 2005

Ivan Herman, W3C

Page 2: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Slides of the tutorial given in Delhi, India, at the International Conference & Workshop on Web Technologies, on the 11th

of November, 2005.

These slides are online at: http://www.w3.org/2005/Talks/1111-Delhi-IH/ with active links. A printable version(in PDF) is also available.

Page 3: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Towards a Semantic Web“The future of the Web is a universal medium for the exchange of data”But… the current Web represents information using

natural language (English, Hungarian, Hindi,…)graphics, multimedia, page layout

This is okay for humans; difficult for machines!

Page 4: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: SearchingThe best-known example…

Google et al. are great, but there are too many false hitsadding descriptions to resources should improve this

However: the Semantic Web is not only about searching!

Page 5: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: Data(base) IntegrationDatabases are very different in structure, in contentLots of applications require managing several databases

after company mergerscombination of administrative data for e-Governmentbiochemical, genetic, pharmaceutical researchetc.

Most of these data are now on the WebThe semantics of the data(bases) should be known (how this semantics is mapped on internal structures isimmaterial)

Page 6: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: Digital LibrariesIt is a bit like the search exampleIt means catalogs on the Web

librarians have known how to do that for centuriesgoal is to have this on the Web, World-wideextend it to multimedia data, too

But it is more: software agents should also be librarians!help you in finding the right publications

Page 7: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: Semantics of Web ServicesWeb services technology is greatBut if services are ubiquitous, searching issue comes up, for example:

“find me the most elegant Schrödinger equation solver”but what does it mean to be

“elegant”?“most elegant”?

mathematicians ask these questions all the time…It is necessary to characterize the service

not only in terms of input and output parameters……but also in terms of its semantics

Page 8: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

What Is Needed (Technically)?To make metadata machine processable, we need:

unambiguous names for resources (URIs)a common data model for expressing metadata (RDF)

and ways to access the metadata on the Webcommon vocabularies (Ontologies)

The “Semantic Web” is a metadata based infrastructure for reasoning on the WebIt extends the current Web (and does not replace it)

Page 9: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Basic Metadata Architecture: RDF

Page 10: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

StatementsThe metadata is a set of statementsIn a graphical example:

“the type of the full slide is a chart, and the chart type is «line»”“the chart is labeled with an (SVG) text element”“the legend is also a hyperlink”“the target of the hyperlink is «URI»”“the full slide consists of the legend, axes, and data lines”“the data lines describe full and affiliate members, all members”

The statements are about resources:SVG elements, general URI-s, …

Page 11: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Resource Description FrameworkStatements can be modeled (mathematically) with:

Resources: an element, a URI, a literal, …Properties: directed relations between two resourcesStatements: “triples” of two resources bound by a property

usual terminology: (s,p,o) for subject, properties, objectyou can also think about a property/value pair attached to a resource

RDF is a general model for such statements… with machine readable formats (e.g., RDF/XML, Turtle, n3, RXR, …)RDF/XML is the “official” W3C format

Page 12: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

RDF is a GraphAn (s,p,o) triple can be viewed as a labeled edge in a graph

i.e., a set of RDF statements is a directed, labeled graphboth “objects” and “subjects” are the graph nodes“properties” are the edges

One should “think” in terms of graphs; XML or Turtle syntax are only the tools for practical usage!RDF authoring tools usually work with graphs, too (XML or Turtle is done “behind the scenes”)

Page 13: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

A Simple RDF Example

Page 14: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

URI-s Play a Fundamental RoleOne can uniquely identify all resources on the webUniqueness is vital to make consistent statementsAnybody can create metadata on any resource on the Web

e.g., the same SVG file could be annotated through other termsURI-s ground RDF into the Web

e.g., information can be retrieved using existing toolsthis makes the “Semantic Web”, well… “Semantic Web”

Page 15: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

URI-s: MergingIt becomes easy to merge metadata

e.g., applications may merge the SVG annotationsMerge can be done because statements refer to the same URI-s

nodes with identical URI-s are considered identicalMerging is a very powerful feature of RDF

metadata may be defined by several (independent) parties……and combined by an applicationone of the areas where RDF is much handier than pure XML

Page 16: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

What Merge Can Do...

Page 17: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

RDF/XML Principles

Encode nodes and edges as XML elements or with literals:

«Element for #FullSlide» «Element for labelledBy» «Element for #BottomLegend» «/Element for labelledBy»«/Element for #FullSlide»«Element for #FullSlide» «Element for graphicsType» Chart «/Element for graphicsType»«/Element for #FullSlide»

Page 18: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

RDF/XML Principles (cont)

Encode the resources (i.e., the nodes):

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="#FullSlide"> «Element for labelledBy» <rdf:Description rdf:about="#BottomLegend"/> «/Element for labelledBy» </rdf:Description><rdf:RDF>

Note the usage of namespaces!

Page 19: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

RDF/XML Principles (cont)

Encode the property (i.e., edge) in its own namespace:

<rdf:RDF xmlns:axsvg="http://svg.example.org#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="#FullSlide"> <axsvg:labelledBy> <rdf:Description rdf:about="#BottomLegend"/> </axsvg:labelledBy> </rdf:Description><rdf:RDF>

(To save space, we will omit namespace declarations…)

Page 20: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

RDF/XML Syntax SimplificationsThe RDF/XML Syntax introduces a number of “simplifications”:

e.g., “merging” several properties into the same rdf:Description elementdescriptions can be nestedand a lot more!

<rdf:Description rdf:about="#FullSlide"> <axsvg:LabelledBy> <rdf:Description rdf:about="#BottomLegend"> <axsvg:IsAnchor>True</axsvg:IsAnchor> </rdf:Description> </axsvg:LabelledBy> <axsvg:GraphicsType> Chart </axsvg:GraphicsType> </rdf:Description>

Page 21: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

RDF Vocabulary Description Language (RDFS)

(a.k.a. RDFS)

Page 22: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Need for RDF SchemasAdding metadata and using it from a program works… provided the program knows what terms to use!We used terms like:

Chart, labelledBy, isAnchor, ...chartType, graphicsType, ...etc

Are they all known? Are they all correct? Are there (logical) relationships among the terms?This is where RDF Schemas come in

officially: “RDF Vocabulary Description Language”; the term “Schema” is retained for historical reasons…

Page 23: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Classes, Resources, …Think of well known in traditional ontologies:

use the term “snake”, “cobra”“every cobra is a snake”“Nag and Nagaina are cobras” (at least in the Jungle Book)etc.

RDFS defines resources and classes:everything in RDF is a “resource”“classes” are also resources, but…they are also a collection of possible resources (i.e., “individuals”)

“snake”, “cobra”, …

Page 24: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Classes, Resources, … (cont.)Relationships are defined among classes/resources:

“typing”: an individual belongs to a specific class (“Nag is a cobra”)“subclassing”: instance of one is also the instance of the other (“every cobra is a snake”)

RDFS formalizes these notions in RDF

Page 25: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Classes, Resources in RDF(S)

RDFS defines rdfs:Resource, rdfs:Class as nodes; rdf:type, rdfs:subClassOf as propertiesUser should create RDF Schema file for the user types (note: RDFS is also RDF!)

Page 26: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Schema Example in RDF/XMLIn axsvg-schema.rdf (“application’s data types”):

<rdf:Description rdf:ID="SVGEntity"> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/></rdf:Description>

In the rdf data on a specific graphics (“using the type”):

<rdf:Description rdf:about="#Datalines"> <rdf:type rdf:resource="axsvg-schema.rdf#SVGEntity"/></rdf:Description>

In traditional knowledge representation this separation is often referred to as:“Terminological axioms”, “Terminological box”, “TBox”“Assertions”, “Assertion box”, “ABox”

Page 27: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Inferred Properties

(#AnimatedLines rdf:type #SVGEntity)is not in the original RDF data……but can be inferred from the RDFS rulesBetter RDF environments will return that triplet, too

Page 28: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Inference: Let Us Be Formal…The RDF Semantics document has a list of (44) entailment rules:

“if such and such triplets are in the graph, add this and this triplet”do that recursivelythis can be done in polynomial time for a specific graph

The relevant rule for our example:

If: uuu rdfs:subClassOf xxx . vvv rdf:type uuu .Then add: vvv rdf:type xxx .

Whether those extra triplets are physically added to the graph, or deduced when needed is an implementation issue

Page 29: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Properties (Predicates)Property is a special class (rdf:Property)

i.e., properties are also resourcesProperties are constrained by their range and domain

i.e., what individuals can be on the “left” or on the “right”There is also a possibility for a “sub-property”

all resources bound by the “sub” are also bound by the other

Page 30: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Property Specification Example

Note that one cannot define what literals can be usedThis requires ontologies (see later)

Page 31: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Literals in RDF (and RDF/XML)Literals may have a data type (floats, int, etc; all types defined in XML Schemas)

<rdf:Description rdf:about="#Datalines"> <axsvg:IsAnchor rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"> false </axsvg:IsAnchor> </rdf:Description>

XML Literals:

<rdf:Description rdf:about="#Datalines"> <axsvg:SVGContent rdf:parseType="Literal" xmlns:svg="http:...."> <svg:line x1="..."/> <svg:path d="..."/> ... </axsvg:SVGContent> </rdf:Description>

Page 32: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Querying RDF Data: SPARQL

Page 33: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

How to retrieve triples?In simple cases: a programming environment gives direct access. E.g.:

triples = graph.triples((Resource,Property,None))

to retrieve all objects for (Resource,Property)This is programming language dependentIt becomes too complex for complex dataDoes not work if the data are remoteWe need query facilities

Page 34: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Querying RDF GraphsThe fundamental idea: use graph patterns to define subgraphs:

a pattern contains unbound symbolsby binding the symbols, subgraphs of the RDF graph may be matchedif there is such a match, the query returns the bound resources or a subgraph

This is the how SPARQL (Query Language for RDF) is definedis programming language-independent query languageis in a last call working draft phase (Recommendation in 2006?)

Page 35: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Simple SPARQL ExampleSELECT ?cat ?valWHERE { ?x rdf:value ?val. ?x category ?cat }

Returns: [["Total Members",100],["Total Members",200],…,["Full Members",10],…]Note the role of ?x: it helps defining the pattern, but is not returned

Page 36: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Other SPARQL FeaturesDefine optional patternsLimit the number of returned results; remove duplicates, sort them,…Add functional constraints to pattern matchingReturn a full subgraph (instead of a list of bound variables)Use datatypes and/or language tags when matching a patternSPARQL is in last call Working Draft, i.e., the technical aspects are now fixed (modulo further community commentsand/or implementation problems)

but there are a number of implementations already!

Page 37: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

SPARQL Usage in PracticeLocally, i.e., bound to a programming environment like RDFLib or Jena

details are language dependentRemotely, e.g., over the network or into a database

very important usage: a growing number of RDF depositories…separate documents define the protocol and the result format

SPARQL Protocol for RDFSPARQL Results XML Format

return is in XML: can be fed, e.g., into XSLT for direct displayAn application pattern evolves: use (XHTML) forms to create a SPARQL Query to a database and display the resultin XHTML

there are a number of application experiments, demos, etc., already; see, e.g., the W3C’s Talk database

Page 38: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Ontologies (OWL)

Page 39: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

OntologiesRDFS is useful, but does not solve all the issuesComplex applications may want more possibilities:

can a program reason about some terms? E.g.:“if «A» is left of «B» and «B» is left of «C», is «A» left of «C»?”obviously true for humans, not obvious for a program …… programs should be able to deduce such statements

if somebody else defines a set of terms: are they the same?obvious issue in an international contextnecessary for complex merging

construct classes, not just name themrestrict a property range when used for a specific classdisjointness or equivalence of classesetc.

Page 40: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

W3C’s Ontology Language (OWL)A layer on top of RDFS with additional possibilitiesOutcome of various projects:

SHOE project: an early attempt to add semantics to HTML1.DAML-ONT (a DARPA project) and OIL (an EU project)2.an attempt to merge the two: DAML+OIL3.the latter was submitted to W3C4.lots of coordination with the core RDF work5.recommendation since early 20046.

Page 41: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Classes in OWLIn RDFS, you can subclass existing classes… that’s allIn OWL, you can construct classes from existing ones:

enumerate its contentthrough intersection, union, complementthrough property restrictions

To do so, OWL introduces its own Class and Thing to differentiate the classes from individuals

Page 42: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: (OWL) EnumerationThe OWL solution, where possible content is explicitly listed:

Page 43: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Union of ClassesEssentially, a set-theoretical union:

Page 44: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Property Restrictions(Sub)classes created by restricting the property value on that classFor example, “an Egyptian cobra (naja haje) is a cobra living in the Sahara or Syria” means:

restrict the value of “living in” when applied to “cobra”……thereby define the class of “Egyptian cobra”

Page 45: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Property Restrictions in OWLRestriction may be by:

value constraints (i.e., further restrictions on the range)all values must be from a classat least one value must be from a class

cardinality constraints(i.e., how many times the property can be used on an instance?)

minimum cardinalitymaximum cardinalityexact cardinality

Page 46: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Property Restriction Example“An Egyptian Cobra is a Cobra living in the Sahara or in the Syrian Desert”:

Page 47: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Property CharacterizationIn RDFS, properties are constrained by domain and rangeIn OWL, one can also characterize their behavior (symmetric, transitive, …)OWL separates data properties

“datatype property” means that its range are typed literals

Page 48: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Characterization Example“There should be only one chart type”

Page 49: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

OWL: Additional FeaturesOntologies may be extremely a large:

their management requires special carethey may consist of several modulescome from different places and must be integrated

Ontologies are on the Web. That meansapplications may use several, different ontologies, or…… same ontologies but in different languagesequivalence of, and relations among terms become an issue

OWL includes possibilites for class/property equivalence, version and deprecation control, etc.

Page 50: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: Connecting to Hungarian

Page 51: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

However: Ontologies are Hard!Hard to implement a full ontology management system

may be superfluous for some applicationsHence the “onion” model of increasingly complex specs:

no property expressions or datatypes in RDF Schemasnot all set operators, restricted cardinality in OWL Litesome restrictions, but a computational guarantee in OWL DLfull expressive power in OWL Full (but no computational guarantee)

Page 52: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Ontologies are Hard! (cont)“Lite” < “DL” < “Full”, but not completely true for RDFS

RDFS is “almost” a subcategorynot all RDFS statements are valid in DL……but they are for Full

Applications may take what they really need!

Page 53: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

RDF/OWL in Practice

Page 54: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

RDF in Programming PracticeProgramming environments usually provide:

creation of a “Graph”, “Triple Store”, or “Model” (the terms used are different in various implementations)the RDF file(s) are parsed and results stored in the Graphthe Graph offers methods to retrieve and/or remove triples, resources, etc“merge” is automatic if several files are parsedthe rest is conventional programming…

Page 55: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: JenaRDF toolkit in Java from HP’s Bristol lab

// create a model (a.k.a. Triple Store) Model model = new ModelMem(); Resource subject = model.createResource("URI_of_Subject") // 'in' refers to the input file model.read(new InputStreamReader(in)); StmtIterator iter = model.listStatements(subject,null,null); while(iter.hasNext()) { st = iter.next(); p = st.getProperty(); o = st.getObject(); do_something(p,o); }

Page 56: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Jena (cont)But Jena is much more than just the basics; it has

a huge number of classes/methodslisting, removing associated properties, objects, comparing full RDF graphs, manage typed literals, etc.

an “RDFS Reasoner”all the “inferred” properties, types are accessible and errors are checked

a SPARQL implementationan OWL reasonera layer (Joseki) for remote access of triples (essentially, and triple database)

Probably the most widely used RDF environment in Java today

Page 57: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Lots of Other toolsThere are lots of other tools:

RDF frameworks for specific languages: RDFStore (Perl), RAP (PHP), SWI-Prolog (Prolog), …Redland: general RDF Framework, with bindings to C, C++, C#, Python, …, and with SPARQL facilities (Rasqal)RDF storage systems:

Sesame, Kowari, Tucana, Gateway, @Semantics RDFStore, 3Store, Jena’s Joseki, InferEd, Oracle Database 10g , …some of these are based on an internal sql engine (3Store, Oracle), others are made bottom up as triple storesmost of them have or plan for SPARQL facilitiessome are part of a larger system (InferEd, @Semantics), others are “simply” database systems

See, for example, the tool list at W3C or the Free University of Berlin listIt has become easy to quickly prototype an RDF based application!

Page 58: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Current/future Developments

Page 59: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Simple Knowledge Organisation System (SKOS)Goal: porting (“Webifying”) thesauri: representing and sharing classifications, glossaries, thesauri, etc, as developedin the “Print World”. For example:

Dewey Decimal Classification, Art and Architecture Thesaurus, ACM classification of keywords and terms…DMOZ categories (a.k.a. Open Directory Project)

The system must be simple to allow for a quick port of traditional data (done by “traditional” people…)This is where SKOS comes in

Page 60: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: Entries in a Glossary (1)“Assertion”

“(i) Any expression which is claimed to be true. (ii) The act of claiming something to be true.”“Class”

“A general concept, category or classification. Something used primarily to classify or categorize other things.”“Resource”

“(i) An entity; anything in the universe. (ii) As a class name: the class of everything; the most inclusive categorypossible.”

(from the RDF Semantics Glossary)

Page 61: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: Entries in a Glossary (2)

Page 62: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: Entries in a Glossary (3)

Page 63: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: Taxonomy (1)Illustrates “broader” and “narrower”

GeneralTravellingPolitics

SemWebRDF

OWL

(From MortenF’s weblog categories. Note that the categorization is arbitrary!)

Page 64: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: Taxonomy (2)

Page 65: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: Thesaurus (1)Term

Economic cooperationUsed For

Economic co-operationBroader terms

Economic policyNarrower terms

Economic integration, European economic cooperation, European industrial cooperation, Industrial cooperationRelated terms

InterdependenceScope Note

Includes cooperative measures in banking, trade, industry etc., between and among countries

(from UK Archival Thesaurus)

Page 66: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Example: Thesaurus (2)

Page 67: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

SKOS Core OverviewBasic description (Concept, ConceptScheme, inScheme, hasTopConcept)Labelling (prefLabel, altLabel, prefSymbol, altSymbol …)Documentation (definition, scopeNote, changeNote, historyNote, editorialNote, publicNote,privateNote)Semantic relations (broader, narrower, related)Subject indexing (subject, isSubjectOf, primarySubject, isPrimarySubjectOf)Grouping (Collection, OrderedCollection, CollectableProperty, member, memberList)

Page 68: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Complementarity of SKOS and OWL (Why Having SKOS?)

OWL’s precision not always necessary or even appropriate“OWL a sledge hammer / SKOS a nutcracker”, or “OWL a Harley / SKOS a bike”complement each other, can be used in combination to optimize cost/benefit

Role of SKOS isto bring the worlds of library classification and Web technology togetherto be simple and undemanding enough in terms of cost and required expertise

SKOS should be finalized in 2006

Page 69: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

“Core” VocabulariesA number of public “core” vocabularies evolve to be used by applications, e.g.:

SKOS Core: about knowledge systemsDublin Core: about information resources, digital libraries, with extensions for rights, permissions, digital right management for, e.g., books,mainstream journal content by PRISMFOAF: about people and their organizationsDOAP: on the descriptions of (mainly open source) software projectsMusicBrainz: on the description of CDs, music tracks, ……

They share the underlying RDF model (provides mechanisms for extensibillity, sharing, …)

Page 70: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

RulesOWL can be used for simple inferencesApplications may want to express domain-specific knowledge, like “Horn clauses”:

(prem-1 ∧ prem-2 ∧ …) ⇒ (concl-1 ∧ concl-2 ∧ …)e.g.: for any «X», «Y» and «Z»: “if «Y» is a parent of «X», and «Z» is a brother of «Y» then «Z» is the uncle of «X»”

But it gets more complicated; there is a large corpus of rule based systems and languages (mostly vendor specific),though not necessarily bound to the Web (yet)Several attempts already to combine Semantic Web with Rules (Metalog, RuleML, SWRL, WRL, cwm, …)

note: cwm, for example, defines Horn predicates in terms of graph patterns, a connection to SPARQL…

Page 71: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

W3C’s Rules WorkshopW3C held a Workshop in April 2005; lots of issues and user cases were identifiedSome interesting scenarios have already been identified:

exchange mail filtering rules among clientsrules to search into data (databases, RDF stores)rules to analyse medical, banking, or other data data (merging rules of different origins)

interest from financial services, business rules, life science community,…

Page 72: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Rules Interchange Format Working GroupThe W3C Working Group started at the beginning of November 2005Work is planned in two “phases”:

construct an extensible format for rule interchange1.define more complex extensions2.

Page 73: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

RIF Phase 1 GoalsAn interchange format to exchange rules among rule engines and systems

probably based on “full Horn Logic” with some simple datatypes (int, boolean, strings, …)make it relatively simple, leave the more complex issues to Phase 2

An extensible format to allow more complex alternatives to be definede.g., fuzzy and/or temporal logic

Recommendation in May 2007.

Page 74: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

RIF Phase 2 GoalsDefine more complex extensions

towards First Order Logic (FOL), Logic Programming systems…syntactic extensions to Horn logic like Lloyd-Topor (i.e., making the rule bodies and head richer), HiLog (i.e., some form of higher ordersyntax)

First recommendation(s) in May 2008

Page 75: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Lots of Theoretical Questions to SolveOpen vs. Closed Worlds, monotonicity vs. non-monotonicityHow to use various logic systems (Description Logic, F-Logic, Horn,…)

there is need for a coherent structureRelationship to RDFS and OWL: “One Tower” vs. “Two Towers” model:

Page 76: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Beyond Rules: TrustCan I trust a metadata on the Web?

is the author the one who claims he/she is, can I check his/her credentials?can I trust the inference engine?etc.

Some of the building blocks are available (e.g., Signature/Encryption) but some are missing:how to “name” a full grapha “canonical” form of triplets (necessary for unambiguous signatures or to compare graphs)how to “express” trust? (e.g., trust in context)protocols to check, for example, a signature…

It is on the “future” stack of W3C and the SW Community …

Page 77: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

A Number of Other Issues…Lot of R&D is going on:

improve the inference algorithms and implementationsimprove scalability, reasoning with OWL Fulltemporal & spatial reasoning, fuzzy logicbetter modularization (import or refer to part of ontologies)procedural attachments (e.g., in rules)exact relationships between Description and other types logics (and their usage on the Web)ontology management on the Web…

This mostly happens outside of W3C, thoughW3C is not a research entity…

Page 78: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Available Documents

Page 79: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Some BooksJ. Davies, D. Fensel, F. van Harmelen: Towards the Semantic Web (2002)S. Powers: Practical RDF (2003)D. Fensel, J. Hendler: Spinning the Semantic Web (2003)F. Baader, D. Calvanese, D. McGuinness, D. Nardi, P. Patel-Schneider: The Description Logic Handbook (2003)G. Antoniu, F. van Harmelen: Semantic Web Primer (2004)A. Gómez-Pérez, M. Fernández-López, O. Corcho: Ontological Engineering (2004)…

Page 80: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Further InformationDave Beckett’s Resources at Bristol University

huge list of documents, publications, tools, …Semantic Web Community Portals, e.g.:

Semanticweb.org“Business model IG” (part of semanticweb.org)list documents, software, host project pages, etc,…

Page 81: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

SWBP Working Group DocumentsDocuments for ontology engineering

“Managing a Vocabulary for the Semantic Web”“Defining N-ary relations”“Representing Classes As Property Values”“Representing "value partitions" and "value sets"”“XML Schema Datatypes in RDF and OWL”

SKOS “Quick Guide”, “Core Guide”, and “Vocabulary Specification”Semantic Web Tutorials (list of references)Metadata modules in XHTML2 (jointly with the HTML WG)Links with OMG’s “Ontology Definition Metamodel”“Ontology Driven Architectures in Software Engineering”

Page 82: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Further Information (cont)Full, interactive view of the RDFS and OWL definitions

requires an SVG clientDescription Logic links:

online course by Enrico Franconi,teaching material and links by Ian Horrocks

“Ontology Development 101”OWL Reasoning ExamplesLots of papers at WWW2003, WWW2004, and WWW2005

Page 83: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Public Fora at W3CSemantic Web Interest Group

a forum for discussions on applicationsRDF Logic

public (archived) mailing list for technical discussions

Page 84: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Some Application Examples

Page 85: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

SW ApplicationsLarge number of applications emerge:

first applications were RDF only……but recent ones use ontologies, too

huge number of ontologies exist already, with proprietary formatsconverting them to RDF/OWL is a significant task (but there are converters)

Most applications are still “centralized”, not many decentralized applications yetFor further examples, see, for example, the SW Technology Conference

not a scientific conference, but commercial people making real money!

Page 86: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Data integrationSemantic integration of corporate resources or different databasesRDF/RDFS/OWL based vocabularies as an “interlingua” among system components (early experimentation atBoeing, see, e.g., a WWW11 paper)Similar approaches: Sculpteur project, MITRE Corp., MuseoSuomi, …There are companies specializing in the area

Page 87: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

PortalsVodaphone's Live Mobile Portal

search application (e.g. ringtone, game, picture) using RDFbetter search: page views per download decreased 50%increased revenue: ringtone up 20% in 2 months

RDF was key factor in making this possibleSun’s SwordFish

Public queries for support, handbooks, etc, go through an internal RDF engine:White Papers collection, System Handbooks collection

the queries are answered via an internal RDF databaseNokia has a somewhat similar support portal

Improved Search via Ontology: GoPubMedImproved search on top of pubmed.org (the “google” for life science articles)Search results are ranked using the specialized ontologies (e.g., Gene Ontology)Extra search terms are generated (as an extra menu) and terms are highlighted in the abstractsShows the importance of domain specific ontologies for search improvement

Page 88: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Page 89: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Adobe's XMPAdobe’s tool to add RDF-based metadata to most of their file formats

used for more effective organizationsupported in Adobe Creative Suitesupport from 30+ major asset management vendors

The tool is available for all!

Page 90: Semantic Web [1]Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C Literals in RDF (and RDF/XML) Literals may have a data type (floats, int, etc; all types defined in XML

Semantic Web, Delhi, India, 11 November 2005 Ivan Herman, W3C

Further InformationThese slides are at:

http://www.w3.org/2005/Talks/1111-Delhi-IH/Semantic Web homepage

http://www.w3.org//2001/sw/More information about W3C:

http://www.w3.org/Consortium/Contact information:

http://www.w3.org/Consortium/ContactMail me:

[email protected]