34
Evolutionary & Swarm Computing for the Semantic Web By: ANKIT A SOLANKI ANUJ IYER PRATIK K SHAH

Evolutionary & Swarm Computing for the Semantic Web

Embed Size (px)

DESCRIPTION

Semantic Web will be the next big thing in the world of internet. This presentation talks about various approaches that can be used to query the underlying triple store that has all the information.

Citation preview

Page 1: Evolutionary & Swarm Computing for the Semantic Web

Evolutionary & Swarm Computing for the Semantic Web

By:

ANKIT A SOLANKIANUJ IYER

PRATIK K SHAH

Page 2: Evolutionary & Swarm Computing for the Semantic Web

What is Web x.0

• Web 1.0• Web 2.0• Web 3.0 also known as semantic web.

Page 3: Evolutionary & Swarm Computing for the Semantic Web

Semantic Web

Why we need it?Semantic Search. I say ‘google’ is dumb!

Yes I typed there ‘google’

Page 4: Evolutionary & Swarm Computing for the Semantic Web

Facebook as an example.

Page 5: Evolutionary & Swarm Computing for the Semantic Web
Page 6: Evolutionary & Swarm Computing for the Semantic Web
Page 7: Evolutionary & Swarm Computing for the Semantic Web

Concepts

• Triples- Subject Predicate Object.• Ontology• Swarm Computing• Evolutionary Computing• Local Search

Page 8: Evolutionary & Swarm Computing for the Semantic Web

A few important challenges

• Storage• Time• Storage vs Time• Distributed nature• Ownership

Page 9: Evolutionary & Swarm Computing for the Semantic Web

Evolutionary Algorithms for Querying

http://www.seoskeptic.com/wp-content/uploads/2011/01/rdf-triple.jpg

Page 10: Evolutionary & Swarm Computing for the Semantic Web

a)Evolutionary Algorithms for Querying

1) ASK2) GET3)Optimizer

http://www.seoskeptic.com/wp-content/uploads/2011/01/rdf-triple.jpg

eRDF Framework

Page 11: Evolutionary & Swarm Computing for the Semantic Web

ASK

GET(<*,p,o>)GET(<s,*,o>)GET(<s,p,*>)

Page 12: Evolutionary & Swarm Computing for the Semantic Web

GET

• GET(<*,p,o>)• GET(<s,*,o>)• GET(<s,p,*>) <s, p, o>

Page 13: Evolutionary & Swarm Computing for the Semantic Web

A simplified bookstore data (dataset“A”)

ID Author Title Publisher YearISBN0-00-651409-X The Glass Palace 2000id_xyz id_qpr

ID Name Home Page

ID CityHarper Collins London

id_xyz Ghosh, Amitav http://www.amitavghosh.com

Publ. Nameid_qpr

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Page 14: Evolutionary & Swarm Computing for the Semantic Web

1st: export your data as a set of relations

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Page 15: Evolutionary & Swarm Computing for the Semantic Web

Another bookstore data (dataset “F”)A B D E

1 ID Titre Original

2

ISBN0 2020386682 A13 ISBN-0-00-651409-X

3

6 ID Auteur7 ISBN-0-00-651409-X A12

11

12

13

TraducteurLe Palais des miroirs

NomGhosh, AmitavBesse, Christianne

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Page 16: Evolutionary & Swarm Computing for the Semantic Web

2nd: export your second set of data

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Page 17: Evolutionary & Swarm Computing for the Semantic Web

3rd: start merging your data

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Page 18: Evolutionary & Swarm Computing for the Semantic Web

3rd: start merging your data (cont.)

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Page 19: Evolutionary & Swarm Computing for the Semantic Web

3rd: merge identical resources

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Relations can be generated on-the-fly at query time

via SQL “bridges” scraping HTML pages extracting data from

Excel sheets etc.

Page 20: Evolutionary & Swarm Computing for the Semantic Web

Conflict in f:author V/S a:author

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Page 21: Evolutionary & Swarm Computing for the Semantic Web

Merge with different datasets

e.g., the “dbpedia” project can extract the “infobox” information from Wikipedia already…

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Page 22: Evolutionary & Swarm Computing for the Semantic Web

Merge with Wikipedia data

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Page 23: Evolutionary & Swarm Computing for the Semantic Web

Merge with Wikipedia data

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Page 24: Evolutionary & Swarm Computing for the Semantic Web

Simple SPARQL example

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Page 25: Evolutionary & Swarm Computing for the Semantic Web

Simple SPARQL exampleSELECT ?isbn ?price ?currency # note: not ?x!WHERE { ?isbn a:price ?x. ?x rdf:value ?price. ?x p:currency ?currency. FILTER(?currency == € }

SELECT ?isbn ?price ?currency # note: not ?x!WHERE { ?isbn a:price ?x. ?x rdf:value ?price. ?x p:currency ?currency. FILTER(?currency == € }

Returns: [[<..409X>,50,€], [<..6682>,60,€]]

Reference: http://www.w3.org/2009/Talks/1030-Philadelphia-IH/

Page 26: Evolutionary & Swarm Computing for the Semantic Web

Optimizer

Page 27: Evolutionary & Swarm Computing for the Semantic Web

Evolutionary Algorithm

a)Population Evaluation

b)Survivor Selection

c)Offspring Generation

Page 28: Evolutionary & Swarm Computing for the Semantic Web

b)Computing for Logical Entailment

• Swarm computing – Ants, Bees, Termites etc

Page 29: Evolutionary & Swarm Computing for the Semantic Web

Ant Colony Optimization

Page 30: Evolutionary & Swarm Computing for the Semantic Web

Reasoning as a graph traversal

Page 31: Evolutionary & Swarm Computing for the Semantic Web

Reasoning as a graph traversal

Page 32: Evolutionary & Swarm Computing for the Semantic Web

Reasoning Agent

• Agent can have schema triple in memory to do reasoning• Movement routing can be done either

– Based on properties– Based on pheromones– Random

• To control movement, use happiness function

Page 33: Evolutionary & Swarm Computing for the Semantic Web

Proof of concept

Page 34: Evolutionary & Swarm Computing for the Semantic Web

THANK YOU