Top Banner
1 Reasoning about Anonymous Resources and Meta Statements on the Semantic Web Guizhen Yang and Michael Kifer Holger Lausen ([email protected])
21

Holger Lausen ([email protected])

Dec 30, 2015

Download

Documents

henry-mcgowan

Reasoning about Anonymous Resources and Meta Statements on the Semantic Web Guizhen Yang and Michael Kifer. Holger Lausen ([email protected]). Content. Preliminaries (RDF, F-Logic, HiLog) Translation (RDF-> „F-Logic“) Comparison RDF MT – “F-Logic” Conclusion. Preliminaries. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Holger Lausen (holger.lausen@deri.ie)

1

Reasoning about Anonymous Resources and Meta Statements on the Semantic Web

Guizhen Yang and Michael Kifer

Holger Lausen([email protected])

Page 2: Holger Lausen (holger.lausen@deri.ie)

2

Content

Preliminaries (RDF, F-Logic, HiLog) Translation (RDF-> „F-Logic“) Comparison RDF MT – “F-Logic” Conclusion

Page 3: Holger Lausen (holger.lausen@deri.ie)

3

Preliminaries

RDF, F-Logic, HiLog

Page 4: Holger Lausen (holger.lausen@deri.ie)

4

RDF (in less then 5 min ;)

<predicate> <subject> <object> <predicate> is a property <subject> is a resource <object> is a resource or a literal

labeled graph: {creator, [http://www.w3.org/Home/Lassila], "Ora Lassila"}

Page 5: Holger Lausen (holger.lausen@deri.ie)

5

Anonymous Resources

"http://www.w3.org/Home/Lassila has creator something and something has name Ora Lassila and email [email protected]"

{creator, [http://www.w3.org/Home/Lassila], [X]} {name, [x], „Ora Lassila“} {email, [x], „[email protected]“}

Page 6: Holger Lausen (holger.lausen@deri.ie)

6

Reification

{type, [X], [RDF:Statement]} {predicate, [X], [creator]} {subject, [X], [http://www.w3.org/Home/Lassila]} {object, [X], "Ora Lassila"}

Page 7: Holger Lausen (holger.lausen@deri.ie)

7

F-Logic

Explicit facts: mary[spous->john, children->>{alice, nancy}]. mary[children->>jack]. mary[married].

Inference Rule: X[children->>{C}] :- Y[spouse->X, children->>{C}].

Implicit Facts (generated by above Inference Rule): john[children->>{alice, nancy, jack}]

Page 8: Holger Lausen (holger.lausen@deri.ie)

8

HiLOG

Variables that range over function and predicate symbols Syntax for Reification: a statement can be an

formula and an object at the same time

HiLog Example: X[attributes->>{Attribute}] :- X[Attribute =>Range].

(the set valued attribute „ attributes“ includes all defined Attributes for a particular class)

Page 9: Holger Lausen (holger.lausen@deri.ie)

9

Translations

RDF „F-Logic“

Page 10: Holger Lausen (holger.lausen@deri.ie)

10

Translations

http://foo.org/bulb --> [http://foo.org/bulb] Literals --> „Thomas Edison“

Example: Thomas Edison is the inventor of the bulb {[inventor], [http://foo.org/TheBulb], ”Thomas Edison”} ’http://foo.org/TheBulb’[inventor->>’Thomas Edison’].

Page 11: Holger Lausen (holger.lausen@deri.ie)

11

Translations – anonymous resources Someone, named Thomas Edison, born in 1847, is

the inventor of the resource http://foo.org/TheBulb.

RDF {[name], [X], “Thomas Edison”} {[born], [X], “1847”} {[inventor], [http://foo.org/TheBulb], [X]}

Not In F-Logic, but in Flora-2 _#: unnumbered anonymous ID symbol

(each occurrence is a different ID) _#1: numbered anonymous ID symbol

(_#1 is identical to _#1 within the same scope)

’http://foo.org/TheBulb’[inventor->>_#1], _#1[name->>’Thomas Edison’, born->>’1847’].

Page 12: Holger Lausen (holger.lausen@deri.ie)

12

Translations – reified statements Someone named John Doe believes that a person,

called Thomas Edison, invented the bulb (resource http://foo.org/TheBulb).

RDF {[type], [X], [RDF:Statement]} {[predicate], [X], [inventor]} {[subject], [X], [http://foo.org/TheBulb]} {[object], [X], [Y]} {[name], [Y], ”Thomas Edison”} {[name], [Z], ”John Doe”} {[believes], [Z], [X]}

Flora-2 (like) _#[name->>’John Doe’,

believes->>(’http://foo.org/TheBulb’[inventor->>_#1], _#1[name->>’Thomas Edison’]) ].

Page 13: Holger Lausen (holger.lausen@deri.ie)

13

Formal Syntax and Semantics

(Section 4)

Page 14: Holger Lausen (holger.lausen@deri.ie)

14

Syntax & Semantics

Believe me, there is one ;)

Page 15: Holger Lausen (holger.lausen@deri.ie)

15

RDF MT vs F-Logic

Page 16: Holger Lausen (holger.lausen@deri.ie)

16

Entailment Strict

Does not hold for a proper instance and the graph itself: { john[likes ->> food] } | { #[likes ->> food] } { #[likes ->> food] }

Relaxed Does not hold for a proper instance and the graph itself:

{ john[likes ->> food] } |~ { #[likes ->> food] } { #[likes ->> food]}

Relaxed entailment is defined in RDF MT

Note: A proper instance of a graph is an instance in which a blank node has been replaced by a name, or two blank nodes in the graph have been mapped into the same node in the instance.

The Paper does not make any claims which of the notions is the moreappropriate one.

Page 17: Holger Lausen (holger.lausen@deri.ie)

17

Compositionality of the Semantics RDF MT has to differentiate between merge and union; It claims

both has its suitable application: MERGE: concatinate all triples, but rename identical blan nodes UNION: concatinate all triples, no renaming of blank nodes

Example: Document 1: {[loves], [X], [Mary]} Document 2: {[inventor], [X], [Bulb]} Union:

{[loves], [X], [Mary]} {[inventor], [X], [Bulb]} Merge:

{[loves], [X], [Mary]} {[inventor], [Y], [Bulb]} Thus this document:

{[loves], [John], [Mary]} {[inventor], [ThomasEdison], [Bulb]} Is a entailed by a merge, but not by a union of two graphs

Page 18: Holger Lausen (holger.lausen@deri.ie)

18

Reification and blank nodes? Reification uses blank nodes, thus making twice the same

statement reified, we have two completly different statements (X,Y):

{[type], [X], [RDF:Statement]} {[predicate], [X], [inventor]} {[subject], [X], [http://foo.org/TheBulb]} {[object], [X], [http://foo.org/ThomasEdison]} {believes, [http://xyz.com/John], [X]}

With F-Logic Reification the statement itself has an ID: ’http://foo.org/TheBulb’[inventor->>’http://foo.org/ThomasEdison’][

veracity->>true, authority->>’http://www.britannica.com/’].

Statement <- Statement[veracity->> true].

•{[type], [Y], [RDF:Statement]}•{[predicate], [Y], [inventor]}•{[subject], [Y], [http://foo.org/TheBulb]}•{[object], [Y], [http://foo.org/ThomasEdison]}

Page 19: Holger Lausen (holger.lausen@deri.ie)

19

Conclusion

Page 20: Holger Lausen (holger.lausen@deri.ie)

20

Conclusion of the paper

F-Logic extended with anonymous resources and reification can serve as model theoretic semantics for RDF (as presented)

RDF MT has shortcomings: Non-compositional semantics Weaker then necessary treatment of reification

Identified at least 2 different treatments of RDF graph entailment

Claims F-Logic (rule / frame based) semantics have more possibilities to encode knowledge / have a bigger scope

Page 21: Holger Lausen (holger.lausen@deri.ie)

21

Conclusion for WSM*

Anonymous IDs are useful Nice not to build on RDF MT Further explore reified statements