75
1 Intelligent Agents Intelligent Agents Meet the Semantic Meet the Semantic Web Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005 http://ebiquity.umbc.edu/v2.1/event/html/id/91/ Joint work with Anupam Joshi, Yun Peng, Scott Cost & many students. http://creativecommons.org/licenses/by-nc-sa/2.0/ This work was partially supported by DARPA contract F30602-97-1-0215, NSF grants CCR007080 and IIS9875433 and grants from IBM, Fujitsu and HP. tell register tell register

1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

Embed Size (px)

Citation preview

Page 1: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

11

Intelligent Agents Intelligent Agents Meet the Semantic Meet the Semantic

WebWebTim Finin

University of Maryland, Baltimore County

ORNL, April 5, 2005

http://ebiquity.umbc.edu/v2.1/event/html/id/91/

Joint work with Anupam Joshi, Yun Peng, Scott Cost & many students.

http://creativecommons.org/licenses/by-nc-sa/2.0/

This work was partially supported by DARPA contract F30602-97-1-0215, NSF grants CCR007080 and IIS9875433 and grants from IBM, Fujitsu and HP.

tell

register

tell

register

Page 2: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 22

This talkThis talk

MotivationMotivation Semantic web concepts and Semantic web concepts and

technologiestechnologies Using the semantic web for Using the semantic web for

(1) Pervasive computing(1) Pervasive computing(3) Information retrieval(3) Information retrieval

ConclusionsConclusions

Page 3: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 33

Once there were only aOnce there were only afew large computersfew large computers

Page 4: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 44

Then there were manyThen there were many

Page 5: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 55

And they all became And they all became physically inter-connected physically inter-connected

24x724x7InternetInternet

Cellular telephonyCellular telephony

IRDAIRDA

802.11802.11

BluetoothBluetooth

Ultra Wide BandUltra Wide Band

RFIDRFIDand more to comeand more to come

Page 6: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 66

Software standards supported Software standards supported access and interoperabilityaccess and interoperability

tcp/ip ftp smtp tcp/ip ftp smtp

rpc corba sshrpc corba ssh

http html http html

xml xml

gif jpg mpg gif jpg mpg mp3mp3

pdf pdf

……

Page 7: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 77

The Result: today we have The Result: today we have access to virtually all the world’s access to virtually all the world’s

knowledgeknowledge

Page 8: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 88

But is mostly in the form of NaturalBut is mostly in the form of NaturalLanguage Text, Images and AudioLanguage Text, Images and Audio

Hard for computers Hard for computers to understandto understand

NuancedNuanced

AmbiguousAmbiguous

Requires contextRequires context

……

Page 9: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 99

What sources are trustworthy What sources are trustworthy forfor

what kinds of information?what kinds of information?Can we automatically find,

track and fuse the information we need?

How can we know the source and provenance of

information?

How should trust and reputation be modeled

and shared?

Page 10: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 1010

Computers helped make the Computers helped make the problem and they can help solve problem and they can help solve

ititWe need agents and services to

find, correlate and fuse information on the web.

They must be able to understand the content they discover

publish their own conclusions, and communicate with one

another.

They must advertise their own information services in a well

understood form.

Page 11: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 1111

““XML is Lisp's bastard nephew, with XML is Lisp's bastard nephew, with uglier syntax and no semantics. Yet uglier syntax and no semantics. Yet XML is poised to enable the creation XML is poised to enable the creation of a Web of data that dwarfs anything of a Web of data that dwarfs anything since the Library at Alexandria.”since the Library at Alexandria.”

-- Philip Wadler, Et tu XML? The fall of the relational empire, VLDB, Rome, September 2001.

Page 12: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 1212

““The web has made people smarter. We The web has made people smarter. We need to understand how to use it to make need to understand how to use it to make machines smarter, too.”machines smarter, too.”

-- Michael I. Jordan, paraphrased from a talk at AAAI, July 2002 by Michael Jordan (UC Berkeley)

Page 13: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 1313

““The Semantic Web will The Semantic Web will globalize globalize KRKR, just as the , just as the WWW globalize hypertextWWW globalize hypertext””

-- Tim Berners-Lee

Page 14: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 1414

This talkThis talk

MotivationMotivation Semantic web concepts and Semantic web concepts and

technologiestechnologies Using the semantic web for Using the semantic web for

(1) Pervasive computing(1) Pervasive computing(3) Information retrieval(3) Information retrieval

ConclusionsConclusions

Page 15: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 1515

W3C’s Semantic Web VisionW3C’s Semantic Web Vision

"The Semantic Web is an extension of the "The Semantic Web is an extension of the current web in which information is given current web in which information is given well-defined meaning, better enabling well-defined meaning, better enabling computers and people to work in computers and people to work in cooperation."cooperation." – – Berners-Lee, Hendler &Berners-Lee, Hendler &Lassila, The Semantic Web,Lassila, The Semantic Web,Scientific American, 2001Scientific American, 2001

Page 16: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 1616

What kind of Ontologies?What kind of Ontologies?from controlled vocabularies to Cycfrom controlled vocabularies to Cyc

Catalog/ID

GeneralLogical

constraints

Terms/glossary

Thesauri“narrower

term”relation

Formalis-a

Frames(properties)

Informalis-a

Formalinstance

Value Restriction

Disjointness, Inverse,part of…

After Deborah L. McGuinness (Stanford)

Simple

Taxonomies

Expressive

Ontologies

Wordnet

CYCRDF DAML

OO

DB Schema RDFS

IEEE SUOOWL

UMLS

Page 17: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 1717

Today and tomorrowToday and tomorrow Simple ontologies like FOAF & DC in use todaySimple ontologies like FOAF & DC in use today

We’ve crawled more than 1M FOAF RDF filesWe’ve crawled more than 1M FOAF RDF files We hope to be able to make effective use We hope to be able to make effective use

ontologies like Cyc in the coming decadeontologies like Cyc in the coming decade There are skeptics …There are skeptics … It’s a great research topic …It’s a great research topic …

The SW community has a roadmap and some The SW community has a roadmap and some experimental languages …experimental languages …

Industry is starting to use the Semantic Web Industry is starting to use the Semantic Web (Adobe, Oracle, Cisco, Sun …)(Adobe, Oracle, Cisco, Sun …)

We need more experimentation and We need more experimentation and explorationexploration

Page 18: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 1818

RDF is the first SW languageRDF is the first SW language

<rdf:RDF ……..> <….> <….></rdf:RDF>

XML Encoding Graph

stmt(docInst, rdf_type, Document)stmt(personInst, rdf_type, Person)stmt(inroomInst, rdf_type, InRoom)stmt(personInst, holding, docInst)stmt(inroomInst, person, personInst)

Triples

RDFData Model

Good for Machine

Processing

Good For HumanViewing

Good For Reasoning

RDF is a simple language for building graph based representations

Page 19: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 1919

Simple RDF ExampleSimple RDF Example

http://umbc.edu/~finin/talks/idm02/

“Intelligent Information Systemson the Web and in the Aether”

http://umbc.edu/

dc:Title

dc:Creator

bib:Aff

“Tim Finin” “[email protected]

bib:namebib:email

Page 20: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 2020

XML encoding for RDFXML encoding for RDF<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

xmlns:dc="http://purl.org/dc/elements/1.1/"

xmlns:bib="http://daml.umbc.edu/ontologies/bib/">

<description about="http://umbc.edu/~finin/talks/idm02/"> <dc:title>Intelligent Information Systems on the Web and in the

Aether</dc:Title> <dc:creator> <description> <bib:Name>Tim Finin</bib:Name> <bib:Email>[email protected]</bib:Email> <bib:Aff resource="http://umbc.edu/" /> </description> </dc:Creator></description></rdf:RDF>

Page 21: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 2121

A usecase: FOAFA usecase: FOAF

FOAF (Friend of a Friend) is a simple ontology to describe FOAF (Friend of a Friend) is a simple ontology to describe people and their social networks.people and their social networks. See the foaf project page: http://www.foaf-project.org/See the foaf project page: http://www.foaf-project.org/

We recently crawled the web and discovered over We recently crawled the web and discovered over 1,000,000 valid RDF FOAF files.1,000,000 valid RDF FOAF files. Most of these are from the http://liveJournal.com/ Most of these are from the http://liveJournal.com/

blogging system which encodes basic user info in foafblogging system which encodes basic user info in foaf See http://apple.cs.umbc.edu/semdis/wob/foaf/See http://apple.cs.umbc.edu/semdis/wob/foaf/

<foaf:Person><foaf:name>Tim Finin</foaf:name><foaf:mbox_sha1sum>2410…37262c252e</foaf:mbox_sha1sum><foaf:homepage rdf:resource="http://umbc.edu/~finin/" /><foaf:img rdf:resource="http://umbc.edu/~finin/images/passport.gif" />

</foaf:Person>

Page 22: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 2222

FOAF VocabularyFOAF VocabularyBasicsBasics

AgentAgent PersonPerson namename nicknick titletitle homepagehomepage mboxmbox mbox_sha1sumbox_sha1summ

imgimg depictiondepiction ( (depictsdepicts) )

surnamesurname family_namefamily_name givennamegivenname firstNamefirstName

Personal InfoPersonal Infoweblogweblog

knowsknows

interestinterest

currentProjectcurrentProject

pastProjectpastProject

planplan

based_nearbased_near

workplaceHomepagworkplaceHomepagee

workInfoHomepageworkInfoHomepage

schoolHomepageschoolHomepage

topic_interesttopic_interest

publicationspublications

geekcodegeekcode

myersBriggsmyersBriggs

dnaChecksumdnaChecksum

Documents & Documents & ImagesImages

DocumentDocument

ImageImage

PersonalProfileDoPersonalProfileDocumentcument

topictopic ( (pagepage) )

primaryTopicprimaryTopic

tipjartipjar

sha1sha1

mademade ( (makermaker) )

thumbnailthumbnail

logologo

Projects & Projects & GroupsGroups

ProjectProject

OrganizationOrganization

GroupGroup

membermember

membershipClassmembershipClass

fundedByfundedBy

themetheme

Online AcctsOnline AcctsOnlineAccountOnlineAccount

OnlineChatAccountOnlineChatAccount

OnlineEcommerceAccounOnlineEcommerceAccount t

OnlineGamingAccount OnlineGamingAccount

holdsAccount holdsAccount

accountServiceHomepage accountServiceHomepage

accountName accountName

icqChatID icqChatID

msnChatID msnChatID

aimChatID aimChatID

jabberID jabberID

yahooChatID yahooChatID

Page 23: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 2323

FOAF: why RDF? FOAF: why RDF? Extensibility!Extensibility!

FOAF vocabulary provides 50+ basic terms for FOAF vocabulary provides 50+ basic terms for making simple claims about people making simple claims about people

FOAF files can use other RDF terms too: RSS, FOAF files can use other RDF terms too: RSS, MusicBrainz, Dublin Core, Wordnet, Creative MusicBrainz, Dublin Core, Wordnet, Creative Commons, blood types, starsigns, … Commons, blood types, starsigns, …

RDF guarantees freedom of independent extensionRDF guarantees freedom of independent extension OWL provides fancier data-merging facilities OWL provides fancier data-merging facilities 

Result:Result: Freedom to say what you like, using any Freedom to say what you like, using any RDF markup you want, and have RDF crawlers RDF markup you want, and have RDF crawlers merge your FOAF documents with other’s and merge your FOAF documents with other’s and know when you’re talking about the same entities. know when you’re talking about the same entities. 

After Dan Brickley, [email protected] 

Page 24: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 2424

No free lunch!No free lunch!

Consequence:Consequence: We must plan for lies, mischief, mistakes, We must plan for lies, mischief, mistakes,

stale data, slanderstale data, slander Dataset is out of control, distributed, Dataset is out of control, distributed,

dynamicdynamic Importance of knowing who-said-what Importance of knowing who-said-what

Anyone can describe anyoneAnyone can describe anyone We must record data provenanceWe must record data provenance Modeling and reasoning about trust is criticalModeling and reasoning about trust is critical

Legal, privacy and etiquette issues emergeLegal, privacy and etiquette issues emerge Welcome to the real worldWelcome to the real world

After Dan Brickley, [email protected] 

Page 25: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 2525

RDF is being used!RDF is being used! RDF has a solid specificationRDF has a solid specification RDF is being used in a number of web standardsRDF is being used in a number of web standards

CC/PP (Composite Capabilities/Preference Profiles)CC/PP (Composite Capabilities/Preference Profiles) P3P (Platform for Privacy Preferences Project)P3P (Platform for Privacy Preferences Project) RSS (RDF Site Summary)RSS (RDF Site Summary) RDF Calendar (~ iCalendar in RDF)RDF Calendar (~ iCalendar in RDF)

And in other systemsAnd in other systems MozillaMozilla & & FirefoxFirefox web browsers & Open directory web browsers & Open directory AdobeAdobe products via XMP (eXtensible Metadata products via XMP (eXtensible Metadata

Platform)Platform) Web communities: LiveJournal, Ecademy, and Cocolog.Web communities: LiveJournal, Ecademy, and Cocolog. We’ve found over 2.2M RDF documents on the webWe’ve found over 2.2M RDF documents on the web New New OracleOracle and and CiscoCisco products products

Page 26: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 2626

RDF Schema (RDFS)RDF Schema (RDFS)

RDF Schema adds RDF Schema adds taxonomies fortaxonomies forclasses & propertiesclasses & properties subClass and subPropertysubClass and subProperty

and some metadata.and some metadata. domain and rangedomain and range

constraints on propertiesconstraints on properties Several widely usedSeveral widely used

KB tools can importKB tools can importand export in RDFSand export in RDFS Stanford Protégé KB editor

• Java, open sourced• extensible, lots of plug-ins• provides reasoning & server

capabilities

Page 27: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 2727

RDFS supports simple inferencesRDFS supports simple inferences

An RDF ontology plus some RDF statements may An RDF ontology plus some RDF statements may imply additional RDF statements.imply additional RDF statements.

This is not true of XML.This is not true of XML. Note that this is Note that this is part of the data modelpart of the data model and not and not

of the accessing or processing code.of the accessing or processing code.

@prefix rdfs: <http://www.....>.@prefix : <genesis.n3>.parent rdfs:domain person; rdfs:range person.mother rdfs:subProperty parent; rdfs:range person.eve mother cain.

parent a class.person a property.woman subClass person.mother a property.eve a person; a woman; parent cain.cain a person.

New and New and Improved!Improved!100% Better100% Betterthan XML!!than XML!!

New and New and Improved!Improved!100% Better100% Betterthan XML!!than XML!!

Page 28: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 2828

From where will the markup From where will the markup come?come?

A few authors will add it manually.A few authors will add it manually. More will use annotation tools.More will use annotation tools.

SMORE: Semantic Markup, Ontology and RDF Editor SMORE: Semantic Markup, Ontology and RDF Editor Intelligent processors (e.g., NLP) can Intelligent processors (e.g., NLP) can

understand documents and add markup (hard) understand documents and add markup (hard) Machine learning powered information extraction Machine learning powered information extraction

tools show promisetools show promise Lots of web content comes from databases & Lots of web content comes from databases &

we can generate SW markup along with the we can generate SW markup along with the HTMLHTML See http://ebiquity.umbc.edu/See http://ebiquity.umbc.edu/

Page 29: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 2929

From where will the markup come?From where will the markup come?

In many tools, part of the metadata In many tools, part of the metadata information is present, but thrown away at information is present, but thrown away at output output e.g., a business chart can be generated by a e.g., a business chart can be generated by a

tool… tool… ……it “knows” the structure, the classification, etc. it “knows” the structure, the classification, etc.

of the chart of the chart ……but, usually, this information is lost but, usually, this information is lost ……storing it in metadata is easy! storing it in metadata is easy!

So So “semantic web aware”“semantic web aware” tools can produce tools can produce lots of metadatalots of metadata E.g., Adobe’s use of its XMP platformE.g., Adobe’s use of its XMP platform

Page 30: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 3030

W3C’s Web Ontology Language W3C’s Web Ontology Language (OWL)(OWL)

OWL released as W3C recommendation 2/10/04OWL released as W3C recommendation 2/10/04 See http://www.w3.org/2001/sw/WebOnt/ for OWL See http://www.w3.org/2001/sw/WebOnt/ for OWL

overview, guide, specification, test cases, etc. overview, guide, specification, test cases, etc. OWL provides a richer vocabulary to OWL provides a richer vocabulary to

describe ontologies and their properties and relationsdescribe ontologies and their properties and relations Describe properties of properties (e.g., transitivity, Describe properties of properties (e.g., transitivity,

inverse, cardinality constraints)inverse, cardinality constraints) Create definitions (i.e., necessary and sufficient Create definitions (i.e., necessary and sufficient

conditions)conditions) ComplimentCompliment etc.etc.

OWL

Page 31: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 3131

Semantic Web Rule LanguagesSemantic Web Rule Languages

There are some things that your can not There are some things that your can not define in OWL, like the uncle relationship.define in OWL, like the uncle relationship.

Two extensions to owl provide rule Two extensions to owl provide rule languages to use with OWLlanguages to use with OWL SWRL is a simple Datalog-like rule SWRL is a simple Datalog-like rule

language whose conditions and language whose conditions and conclusions are RDF triplesconclusions are RDF triples

RuleML is a language that can encode RuleML is a language that can encode most of first order languagemost of first order language

Several OWL reasons incorporate Several OWL reasons incorporate SWRL rulesSWRL rules

Page 32: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 3232

OWL-S defines ServicesOWL-S defines Services

AN important use-case for OWL is to give AN important use-case for OWL is to give semantically grounded descriptions for semantically grounded descriptions for servicesservices

These might be web services, grid services, These might be web services, grid services, or some other kind of service.or some other kind of service.

OWL-S is an OWL ontology that can be used OWL-S is an OWL ontology that can be used to describe services in terms of to describe services in terms of Meta data (who, what, where, when, …)Meta data (who, what, where, when, …) Preconditions and effectsPreconditions and effects Inputs and outputsInputs and outputs Compositions and decompostionsCompositions and decompostions

Page 33: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 3333

This talkThis talk

MotivationMotivation Semantic web concepts and Semantic web concepts and

technologiestechnologies Using the semantic web for Using the semantic web for

(1) Pervasive computing(1) Pervasive computing(3) Information retrieval(3) Information retrieval

ConclusionsConclusions

Page 34: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 3434

Motivation: moving from this

Page 35: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 3535

Motivation: to hereMotivation: to here

Page 36: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 3636

Motivation: but not to hereMotivation: but not to here

Page 37: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 3737

Pervasive ComputingPervasive Computing“The most profound technologies are those that disappear. They weave themselves into the fabric of everyday life until they are indistinguishable from it ” – Mark Weiser

Think: writing, central heating, electric lighting, water services, …

Not: taking your laptop to the beach, or immersing yourself into a virtual reality

Page 38: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 3838

This is a challenging environment

While devices are getting smaller, cheaper and more powerful, they still have severe limitations.

Battery, memory, computation, connection, bandwidth

Each as limited sensors and perspective The environment is inherently dynamic with

serendipitous connections and unknown entities This makes security and trust important

MANETS (mobile ad hoc networks) underlie pervasive infrastructures like Bluetooth

It’s autonomous agents all the way down Privacy is a special concern

People and agents want to control how information about them is collected and used

Page 39: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 3939

Representing and Reasoning about Context

CoBrACoBrA: a broker centric agent : a broker centric agent architecture for supporting pervasive architecture for supporting pervasive context-aware systemscontext-aware systems Using SW ontologies for context Using SW ontologies for context

modeling and reasoning about devices, modeling and reasoning about devices, space, time, people, preferences, space, time, people, preferences, meetings, etc.meetings, etc.

Using logical inference to interpret Using logical inference to interpret context and to detect and resolve context and to detect and resolve inconsistent knowledgeinconsistent knowledge

Allowing users to define policies Allowing users to define policies controlling how information about controlling how information about them is used and sharedthem is used and shared

Page 40: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 4040

TAGA: Travel Agent Game in Agentcities

http://taga.umbc.edu/

TechnologiesTechnologiesFIPA FIPA (JADE, April Agent Platform)(JADE, April Agent Platform)

Semantic Web Semantic Web (RDF, OWL)(RDF, OWL)

Web Web (SOAP,WSDL,DAML-S)(SOAP,WSDL,DAML-S)

Internet Internet (Java Web Start )(Java Web Start )

FeaturesFeaturesOpen Market FrameworkOpen Market Framework

Auction ServicesAuction Services

OWL message contentOWL message content

OWL OntologiesOWL Ontologies

Global Agent CommunityGlobal Agent Community

MotivationMotivationMarket dynamicsMarket dynamicsAuction theory (TAC)Auction theory (TAC)Semantic webSemantic webAgent collaboration (FIPA Agent collaboration (FIPA & Agentcities)& Agentcities)

Travel Agents

Auction Service Agent

Customer Agent

Bulletin BoardAgent

Market Oversight Agent

Request

Direct Buy

Report Direct Buy Transactions

BidBid

CFP

Report Auction Transactions

Report Travel Package

Report Contract

Proposal

Web Service Agents

OntologiesOntologieshttp://taga.umbc.edu/ontologies/http://taga.umbc.edu/ontologies/

travel.owl travel.owl – travel concepts– travel concepts

fipaowl.owl fipaowl.owl – FIPA content lang.– FIPA content lang.

auction.owl auction.owl – auction services– auction services

tagaql.owl tagaql.owl – query language– query language

FIPA platform infrastructure services, including directory facilitators enhanced to use OWL-S for service discovery

Owl for representation and reasoning

Owl for service

descriptions

Owl for negotiatio

n

Owl as a content languag

e

Owl for publishing

communicative acts

Owl for contract

enforcement

Owl for modeling trust

Owl for authorization policies

Owl for protocol

description

Page 41: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 4141

A Bird’s Eye View of CoBrAA Bird’s Eye View of CoBrA

Page 42: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 4242

A Typical CoBrA Use CaseA Typical CoBrA Use Case

Alice enters a conference room

The broker negotiatesprivacy policy with Alice

The broker detects Alice’s presence

B

Policy says, “can share with any agents in the room”

AB

The broker buildsthe context model

Web

The broker knows Alice’s role and

intention

+

Alice in Wonderland*Alice in Wonderland*

* Our intelligent meeting room

Page 43: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 4343

A Typical CoBrA Use CaseA Typical CoBrA Use Case

The projector agent wants to help Alice

The broker informsthe subscribed agents

B A

The projector agentasks slide show info.

B

The broker acquires the slide show info.

BWeb

The broker informs the

projector agent

B

The projector agent sets up the slides

Alice in WonderlandAlice in Wonderland

Page 44: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 4444

SOUPA Ontology provides common SOUPA Ontology provides common vocabularyvocabulary

Page 45: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 4545

A Simple Spatial Model of UMBC

Page 46: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 4646

Where’s Harry?

Page 47: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 4747

Detecting InconsistenciesDetecting Inconsistencies

Page 48: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 4848

What about Privacy?What about Privacy? The information sharing behavior of The information sharing behavior of

the context broker is governed by a the context broker is governed by a set of policiesset of policies

Expressed in a declarative Policy Expressed in a declarative Policy languagelanguage

The set includes policies for the The set includes policies for the organization(s), space, devices and organization(s), space, devices and people involved.people involved.

Page 49: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 4949

1st Autonomous Agent Policy1st Autonomous Agent Policy11 A robot may not injure a A robot may not injure a

human being, or, through human being, or, through inaction, allow a human inaction, allow a human being to come to harm.being to come to harm.

22 A robot must obey the A robot must obey the orders given it by human orders given it by human beings except where beings except where such orders would such orders would conflict with the First conflict with the First Law.Law.

33 A robot must protect its A robot must protect its own existence as long as own existence as long as such protection does not such protection does not conflict with the First or conflict with the First or Second Law.Second Law.- Handbook of Robotics, 56th Edition, 2058 A.D.

Page 50: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 5050

It’s policies all the way downIt’s policies all the way downIn Asimov’s world, the robots didn’t always strictly follow their policies Unlike traditional “hard coded” rules like

DB access control & OS file permissionsAutonomous agents need policies as “norms of behavior” followed by good citizens including policies for what happens if they don’t follow policies

So, it’s natural to worry about … How agents governed by multiple

policies can resolve conflicts among them

How to deal with failure to follow policies – sanctions, reputation, etc.

Whether policy engineering will be any easier than software engineering

1 A robot may not injure a human being, or, through inaction, allow a human being to come to harm.

2 A robot must obey the orders given it by hu-man beings except where such orderswould conflict with the First Law.

3 A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.

- Handbook of - Handbook of Robotics, 56th Edition, Robotics, 56th Edition, 2058 A.D.2058 A.D.

Page 51: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 5151

Privacy Protection in CoBrAPrivacy Protection in CoBrA

Users define policies to permit or Users define policies to permit or prohibit the sharing of their informationprohibit the sharing of their information Policies are provided by personal Policies are provided by personal

agents or published on web pagesagents or published on web pages and use the SOUPA ontologies as well and use the SOUPA ontologies as well

as other SW assertions (e.g., FOAF, as other SW assertions (e.g., FOAF, schedules)schedules)

The context broker follows user defined The context broker follows user defined policies when sharing information, policies when sharing information, unless contravened by higher policiesunless contravened by higher policies

Page 52: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 5252

The SOUPA Policy Ontology

Page 53: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 5353

Policy Reasoning Use CasePolicy Reasoning Use Case

The speaker doesn’t want others to know The speaker doesn’t want others to know the specific room that he’s in, but is willing the specific room that he’s in, but is willing for others to know he’s on campusfor others to know he’s on campus

He defines the following privacy policyHe defines the following privacy policy Share my location with a granularity >= “State”Share my location with a granularity >= “State”

The broker The broker isLocated(US) => Yes!isLocated(US) => Yes! isLocated(Maryland) => Yes!isLocated(Maryland) => Yes! isLocated(UMBC) => Uncertain..isLocated(UMBC) => Uncertain.. isLocated(ITE-RM210) => Uncertain..isLocated(ITE-RM210) => Uncertain..

Page 54: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 5454

What we learnedWhat we learned

FIPA and OWL were good for integrating FIPA and OWL were good for integrating disparate componentsdisparate components

Even when some of these were running on Even when some of these were running on cell phones!cell phones!

OWL made it easy to mix content from OWL made it easy to mix content from different ontologies unambiguouslydifferent ontologies unambiguously

The use of OWL made it easy to take The use of OWL made it easy to take advantage of information published in XML advantage of information published in XML on the webon the web e.g., foaf information, privacy policye.g., foaf information, privacy policy

Page 55: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 5555

What we learnedWhat we learned Declarative policies can be used to model Declarative policies can be used to model

security, trust and privacy constraintssecurity, trust and privacy constraints Reasonably expressive policy languages Reasonably expressive policy languages

can be encoded on OWLcan be encoded on OWL This enables policies to depend on This enables policies to depend on

attributes and context information attributes and context information available on the semantic webavailable on the semantic web

Policies are applicable at almost every Policies are applicable at almost every level of the stack, from systems and level of the stack, from systems and networking to multiagent applications.networking to multiagent applications.

Page 56: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 5656

This talkThis talk

MotivationMotivation Semantic web concepts and Semantic web concepts and

technologiestechnologies Using the semantic web for Using the semantic web for

(1) Pervasive computing(1) Pervasive computing

(3) Information retrieval(3) Information retrieval

Page 57: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 5757

titletitle

texttext

Page 58: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 5858

Google has made us Google has made us smartersmarter

Something similar is needed by peopleSomething similar is needed by peopleand software agents for informationand software agents for informationon the semantic web.on the semantic web.

Page 59: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

59

@SwoogleSwoogle

Swoogle Architecture

metadata creation

data analysis

interface

SWD discovery

SWD MetadataWeb Service

Web Server

SWD Cache

The Web

The WebCandidate

URLs Web Crawler

SWD Reader

IR analyzer SWD analyzer

Agent Service

340K SWDs, 48M triples, 97K classes,55K properties, 7M individuals (April 2005)

Page 60: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

Find “Time” Ontology

We can use a set of keywords to search ontology. For example, “time, before, after” are basic concepts for a “Time” ontology.

Demo1

Page 61: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

Digest “Time” Ontology (document view)

Demo2(a)

Page 62: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

Digest “Time” Ontology (term view)

Demo2(b)

………….

TimeZone

before

intAfter

Page 63: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

Find Term “Person”Demo3

Not capitalized! URIref is case sensitive!

Page 64: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

Digest Term “Person”Demo4

167 different properties

562 different properties

Page 65: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

Demo5(a) Swoogle

Today

Page 66: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

Demo5(b) Swoogle

Statistics

FOAFFOAF

TrustixTrustix

W3CW3C

StanfordStanford

Page 67: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

67

@SwoogleSwoogle

Ranking with Rational Surfing Model: An Example

foaf:mbox

rdf:type

[email protected]

foaf:Person

http://www.cs.umbc.edu/~finin/foaf.rdfwordNet:Person

rdf:type rdfs:Class

rdfs:subClassOf

foaf:Person

http://xmlns.com/foaf/1.0/

TM

TM

TM

http://www.w3.org/2000/01/rdf-schema

rdfs:subClassOf

rdf:Property

rdf:type

http://xmlns.com/wordnet/1.6/

rdfs:Classrdf:type

wordNet:Individualrdfs:subClassOf

wordNet:Person

EX

Page 68: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

68

@SwoogleSwoogle

Swoogle’s Triple Store lets you shop

And check out your triples into any of several reasoners

Page 69: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

69

@SwoogleSwoogle

Summary

Swoogle (Mar, 2004)Swoogle (Mar, 2004)

Swoogle2 (Sep, 2004)Swoogle2 (Sep, 2004)

Swoogle3 (May 2005)Swoogle3 (May 2005)

Automated SWD discovery SWD metadata creation and search Ontology rank (rational surfer model) Swoogle watch Web Interface

Ontology dictionary Swoogle statistics Web service interface (WSDL) Bag of URIref IR search Triple shopping cart

Better discovery & revisit strategies Better navigation models Index instance data More metadata (ontology mapping and OWL-S services) Better web service interfaces

2005

2004

Page 70: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 7070

This talkThis talk

MotivationMotivation Semantic web concepts and Semantic web concepts and

technologiestechnologies Using the semantic web for Using the semantic web for

(1) Pervasive computing(1) Pervasive computing(3) Information retrieval(3) Information retrieval

ConclusionsConclusions

Page 71: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 7171

Conclusions & final Conclusions & final thoughtsthoughts

The web will contain the world’s knowledge in forms accessible to The web will contain the world’s knowledge in forms accessible to people and computerspeople and computers

We need better ways to discover, index, search and reason over We need better ways to discover, index, search and reason over SW knowledgeSW knowledge

Special attention must be applied to security, privacy and trustSpecial attention must be applied to security, privacy and trust We must develop, deploy and build on open, non-proprietary We must develop, deploy and build on open, non-proprietary

standards for knowledge sharing.standards for knowledge sharing. The W3C standards RDF and OWL are a foundation for the first The W3C standards RDF and OWL are a foundation for the first

generationgeneration

Page 72: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 7272

How do we get there from How do we get there from here?here?

This semantic web emphasizes ontologies This semantic web emphasizes ontologies – their development, use, mediation, – their development, use, mediation, evolution, etc.evolution, etc.

It will take some time to really deliver on It will take some time to really deliver on the agent paradigm, either on the Internet the agent paradigm, either on the Internet or in a pervasive computing environment.or in a pervasive computing environment.

The development of complex systems is The development of complex systems is basically an evolutionary process.basically an evolutionary process.

Random search carried out by tens of Random search carried out by tens of thousands of researchers, developers and thousands of researchers, developers and graduate students.graduate students.

Page 73: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 7373

T.T.T: things take timeT.T.T: things take time Prior to the 1890’s, papers Prior to the 1890’s, papers

were held together with were held together with straight pens.straight pens.

The development of The development of “spring steel” allowed the “spring steel” allowed the invention of the paper clip invention of the paper clip in 1899.in 1899.

It took about It took about 25 years (!)25 years (!) for the evolution of the for the evolution of the modern “gem paperclip”, modern “gem paperclip”, considered to be optimal considered to be optimal for general use.for general use.

Page 74: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 7474

ClimbingClimbingMountMountImprobableImprobable

“The sheer height of the peak doesn't matter, so long as you don't try to scale it in a single bound. Locate the mildly sloping path and, if you have unlimited time, the ascent is only as formidable as the next step.”

-- Richard Dawkins, Climbing MountImprobable, Penguin Books, 1996.

Page 75: 1 Intelligent Agents Meet the Semantic Web Tim Finin University of Maryland, Baltimore County ORNL, April 5, 2005

UMBCUMBCan Honors University in an Honors University in

MarylandMaryland 7575

http://ebiquity.umbc.edu/http://ebiquity.umbc.edu/

Annotatedin OWL

For more For more informationinformation