• Aucun résultat trouvé

AntoineAmarilli TheSemanticWebandRelatedChallenges

N/A
N/A
Protected

Academic year: 2022

Partager "AntoineAmarilli TheSemanticWebandRelatedChallenges"

Copied!
33
0
0

Texte intégral

(1)

The Semantic Web and Related Challenges

Antoine Amarilli

´Ecole normale sup´erieure, D´epartement d’informatique

1/33

(2)

The Web

The Web is the largest public source of information that can be accessed by programs.

2/33

(3)

Decentralized

The Web isdecentralized:

Information and websites are nottrustworthy.

Distributed, globally fault-tolerant but information can disappear.

You have tocrawlit (no dumps!).

3/33

(4)

Unstructured

The Web isunstructured:

Standardsbut they are disobeyed.

Lots ofnatural language text.

Onlyhintsof structure from the markup (e.g., tables).

4/33

(5)

Relational databases

id name evo

1 Bulbausaur 2

2 Ivysaur 3

3 Venusaur NULL

4 Charmander 5 5 Charmaleon 6 6 Charizard NULL

7 Squirtle 8

8 Wartortle 9

9 Blastoise NULL

10 Caterpie 11

11 Metapod 12

12 Butterfree NULL

13 Weedle 14

14 Kakuna 15

How does the Web compare to relational databases as a way to store information?

Relational databases are structured.

They support expressive queries.

You have to choose a schema beforehand, and stick to it.

They are not designed to be integrated with one another.

⇒ Could we have the best of both worlds?

What could we use it for?

5/33

(6)

The Semantic Web (example)

dbp:Paris

dbp:France dbp:country

http://www.paris.fr/

foaf:homepage

"Paris"@en foaf:name

<dbp:Paris> <dbp:country> <dbp:France> .

<dbp:Paris> <foaf:homepage> <http://www.paris.fr/> .

<dbp:Paris> <foaf:name> "Paris"@en .

6/33

(7)

The Semantic Web: RDF

Identify items by a URI (which may be aURL).

Triples between three URIs: subject, predicate, object.

Federated: the URIs can be managed by independent organizations.

Literal values (with language and datatype annotations).

Severalrepresentations: bulk text or XML, relational databases, triple stores, SPARQL endpoints, implicit graph representation.

Structure is optional: nothing, a simple class taxonomy, or full-fledged constraint languages.

→ What do we want to do with it?

7/33

(8)

Get answers, not results

8/33

(9)

Get answers, not results

→ No support for complex queries!

9/33

(10)

You probably thought Wolfram Alpha was better?

10/33

(11)

Another example

Say I want to find out about the works which have won both the Hugo award and the Nebula award. Fortunately, someone

materialized the view for me:

What if I want to restrict to the works written by a female author?

Why can’t I write something like:

If we were dealing with a database, it would make no sense to materialize explicitly all “useful” views by hand!

11/33

(12)

Other examples

Aggregate relevant information, don’t centralize it (e.g., reviews).

Visualizeheterogeneous information (e.g., on a map).

Today: popular services approximate this with home-grown, domain-specific, incompatibleAPIs.

12/33

(13)

Existing data

Pfam

ChEMBL DBpedia

MediCare ERA OS

Affy- metrix

Smart Link

UniProt (Bio2RDF)

GeneTCM DIT

OMIM

SIDER Project

Guten- berg

ProDom HGNC

OntologyGene

Eurécom

UniRef BankDrug

ChemPub

Linked ColorsOpen

LinkedCT

SISVU dbpedia

lite

iServe BNB

PubMed data- open- ac-uk

PRO-SITE Daily

Med

Taxo- nomy

Google

BibBase

STITCH PDB

UniParc UniSTS

MGI

(L3S)DBLP

GeneID datadcs

Disea- some

SGD UniProt

UN/

LOCODE DBLP(FU Berlin)

InterPro

Enipedia Many independent information

sources.

Linksbetween these sources.

→ Linked Data Cloud.

13/33

(14)

Google Knowledge Graph

14/33

(15)

The perfect solution...

15/33

(16)

... or not!

16/33

(17)

Where does the data come from?

1 Web pages with semantic markup.

2 Existing databases published on the Web.

3 Structured content extracted from Web pages.

→ The last option is the most interesting one!

17/33

(18)

Add semantic markup to Web pages

Here is an example from schema.org (Google, Bing, Yahoo!).

People are reluctant to use that, though.

18/33

(19)

Publish existing databases

We can express relational databasesin RDF.

However, we have to alignthem with other data sources.

We must find out instanceswhich already exist in the other data sources.

We must reuse thepredicates used by the other data sources.

Severalchallenges:

Literal ambiguity: “Titanic”

Variants: “Charles Brackett” vs “Charles William Brackett”

Complex datatypes: “1952-03-11” vs “1952”

Structure: “birthDate” vs “event” and “date”

19/33

(20)

Ontology alignment examples

dbp:Charles_Brackett foaf:name 'Charles William Brackett' dbp:Titanic_(1953_film)

dbp:producer

'Titanic' foaf:name

imdb:p138992 imdb:label 'Charles Brackett' imdb:tt0046435

imdb:producerOf

'Titanic' imdb:label

dbp:Douglas_Adams dbp:birthDate '1952-03-11' bnb:AdamsDouglas1952-2001 bio:event bnb:AdamsDouglas1952-2001/birth

bio:Birth rdf:type

'1952' bio:date

20/33

(21)

Information extraction: Wikipedia

Wikipedia, a centralized island in the decentralized Web.

No need to crawl: usedumps.

Nocopyrightproblems.

Essentiallyfactual information.

Moretrustworthy.

Hints ofstructure: categories,

infoboxes, consistent conventions, etc.

→ DBpedia,http://dbpedia.org/.

→ J. Hoffart, F. M. Suchanek, K.

Berberich, G. Weikum. YAGO2: A Spatially and Temporally Enhanced Knowledge Base from Wikipedia.

Special issue of the AI journal.

21/33

(22)

Information extraction: Hearst patterns

Hearst patterns in natural language text

[Read the Web, Never Ending Language Learner, Carnegie Mellon University. http://rtw.ml.cmu.edu/rtw/]

22/33

(23)

Information extraction: the Deep Web

A lot of Web information is contained in result pages produced from structured back-ends and hidden behind forms.

[Diadem Project, University of Oxford.

http://diadem.cs.ox.ac.uk/]

23/33

(24)

Information extraction: the Deep Web

24/33

(25)

Information extraction: the Deep Web

25/33

(26)

Information extraction: the Deep Web

All these result pages will have a similar DOM structure.

page

nom fonctions affectations email

adresses

"Isabelle Delais" fonction affectation affectation "isabelle.delais@ens.fr"

thead tbody

"Secretaire" "Dpt d'info" "Labo d'info"

td td td td td td td td

"Adresse" "Bureau" "Telephone" "Fax" "45 rue d'Ulm" "B10" "2045" "2075"

The variable (red) parts are what we’re interested in.

26/33

(27)

Entity disambiguation

Wikipedia provides a mapping between namesand entities.

Use several assumptions:

Prominenceof entities: Paris, France vs Paris, Texas.

Context similarity: Venus the planet vs Venus the goddess.

Coherencebetween the assignments: Mars and Venus.

M. A. Yosef, J. Hoffart, I. Bordino, M. Spaniol, G. Weikum (MPI).AIDA: An Online Tool for Accurate Disambiguation of Named Entities in Text and Tables. VLDB’11 demo.

https://d5gate.ag5.mpi-sb.mpg.de/webaida/

27/33

(28)

Corroboration

Web sources with conflicting facts.

Use several assumptions:

A trustworthy source provides many correct facts.

A correct fact is provided by many trustworthy sources.

Probabilistic model, fixpoint computation.

A. Galland, S. Abiteboul, A. Marian, and P. Senellart, Corroborating Information from Disagreeing Views.

WSDM’11.

B. Zhao, B. I. P. Rubinstein, J. Gemmell, J. Han. A Bayesian Approach to Discovering Truth from Conflicting Sources for Data Integration. VLDB’12.

28/33

(29)

Uncertainty

The two previous steps lead to uncertainty.

Different ways tomodel this uncertainty:

Probabilistic databases

container containee p

aquarium 45 0.97

salle r 45 0.95

mc203 45 0.02

Probabilistic XML

45

aquarium 0.97

salle_r 0.95

mc203 0.02

Interestingproblems: optimal representation, expressiveness, running time, etc.

P. Senellart. Probabilistic XML: A Data Model for the Web.

HDR thesis, 2012.

29/33

(30)

Access patterns

Consider the usual relational algebra.

Predicates can only be used through access patterns.

We need to answer aquery.

Is a certain accessrelevantto the query?

“Long-term relevance of dependent accesses for conjunctive queries is NEXPTIME-complete.”

Related to query containment (which is linked in turn to finite model theory, tree automata, etc.).

M. Benedikt, G. Gottlob, P. Senellart.

Determining Relevance of Accesses at Runtime. PODS’11.

IsIn(pupil, class) Pupil:

Submit fechant

``Find two pupils with two classes in common.''

pupil class fechant physique3

physique42 fechant

IsIn(pupil, class) Class:

Submit algoprog

pupil class

delpeuch algoprog algoprog forest

algoprog bourgeat

30/33

(31)

An interdisciplinary field!

Relational databasesas a useful model.

Finite model theory which is the math behind relational databases.

Natural language processing for information extraction.

Artificial intelligence and links with computer reasoning.

Information theoryand minimum description length.

Formal languagesand tree automata.

Logic for constraint languages.

Web technologies to actually implement things and benchmark them.

31/33

(32)

To find out more...

S. Abiteboul. Bases de donn´ees, L3, 2nd semester. Covers the basics of relational databases.

S. Abiteboul, I. Manolescu, P. Rigaux, M.-C. Rousset, P.

Senellart. Web data management. For those who want to find out more on their own: http://webdam.inria.fr/Jorge/

S. Abiteboul, P. Rigaux, P. Senellart. Web data management, MPRI level 2. Covers the above book.

32/33

(33)

Thanks!

Thanks for your attention!

Questions welcome.

Image credits

Frame 2:http://www.threebrackets.com/web_develop.htm

Frame 3:http://openp2p.com/pub/a/p2p/2001/12/14/topologies_one.html

Frame 4:http://www.dataenthusiast.com/2011/05/85- unstructured-data-15- what- the-hell-is-going-on/

Frames 8, 9, 11, 14:http://google.com/

Frame 10:http://wolframalpha.com/

Frame 13: Linking Open Data cloud diagram, by Richard Cyganiak and Anja Jentzsch.http://lod-cloud.net/

Frame 15:http://sig.ma/

Frame 18:http://schema.org/

Frame 21:https://en.wikipedia.org/wiki/Ecole_Normale_Superieure

Frame 22:http://well.blogs.nytimes.com/2012/11/21/the-love/,http://rtw.ml.cmu.edu/rtw/

Frames 23 to 25:http://annuaireweb.ens.fr/

Frames 27 and 28:http://en.wikipedia.org/

Frame 31:https://xkcd.com/755/

33/33

Références

Documents relatifs

This module searches a file of code or documentation for blocks of text that look like an interactive Python session, of the form you have already seen many times in this book.

Relational Database (DB) schemas contain structural entity descriptions (e.g., tables and columns), but also sometimes descriptions of behavioral entities such as views (i.e.,

Because it can be difficult to obtain exact descriptions of what stored procedures do, our framework abstracts data-transforming tools as black-box procedures, in which a

In this paper we show that is possible to represent NLP models such as Probabilistic Context Free Grammars, Probabilistic Left Corner Grammars and Hidden Markov Models

- A relational database is a collection of tables of data, each of which has one special column that stores the primary keys of the table.. - Rows are sometimes

In the CLEF 2005 Ad-Hoc Track we experimented with language-specific morphosyntactic processing and light Natural Language Processing (NLP) for the retrieval of Bulgarian,

His research activity covers artificial in- telligence, natural language processing, intelligent interfaces, human-computer interaction, cognitive science, knowledge-based systems,

– Our Requirement-to-Design Change Impact Analysis (RD-CIA) solution, marked (5) in Figure 1.1, focuses on propagating changes from NL requirements to system designs, when