Ontology Web ngữ nghĩa - owlDL1 (HUST)

LI
lienhejb
0 téléchargements
6
0

Contenu du document

Page 1

Nhắc lại † OWL dựa trên logic đặc tả CƠ SỞ LOGIC ĐẶẶC TẢ CỦA OWL „ Với ngữ nghĩa hình thức ở dạng frame †† OWL tOWL tươương thích vng thích vớới cáci các đặđặc tính cc tính củủa RDF(S)a RDF(S) † 3 dạng: „ OWL Lite † Ngôn ngữ ontology đơn giản với cơ chế suy diễn hiệu quả † Không có dữ liệu ở dạng lớp (class) „ OWL DL † Ngôn ngữ ontology với cơ chế suy diễn mạnh hơn † cho pphépp tham chiếu đến các kiểu dữ liệu, các URI, bao gồồm cảả têên từừ RDF, RDFS vàà kiểểu dữữ liệệu lược đồồ XML. „ OWL full † Ngôn ngữ ontology mạnh nhất † Không có sự kế thừa Hanoi University of Technology – Master 2006 22 Hệ CSTT First Order Logic Extracts from slides of Bruijn † Các hệ thống dựa trên các phương pháp và kỹ thuật của TTNT †† ĐểĐể ththao tátác vớới CSTTi CSTT „ Biểu diễn CSTT dựa trên logic hoặc không † Các hệ thống không dựa trên logic sử dụng các cấu trúc dữ liệu để thao tác với tri thức „ Các hệ thống Frame „ Mạng ngữ nghĩa †† Các hCác hệệ ththốống dng dựựa trên logic da trên logic dựựa trên bia trên biếến thn thểể của logic vị từ cấp 1 (first-order logic) hoặc logic khác để thao tác „ Định nghĩa ngữ nghĩa tốt để suy luận 33 44 goupee.com fb.com/groups/goupee 1

Page 2

FOL syntax (1) FOL syntax (2) 55 66 FOL semantics (1) FOL semantics (2) 77 88 goupee.com fb.com/groups/goupee 2

Page 3

FOL semantics (3) Ví dụ Biểu thức A = ∀x.man(x) → person(x) † Miền Δ = {b, h, c, d, e} † Cho phép dich I sau: „ billI = b, hillaryI = h, chelseaI = c „ personI = {b, h, c} „ manI = {b} †† Theo phép dTheo phép dịịchch đđóó, bibiểểu thu thứức A có giá trc A có giá trịị truetrue, vì vậy, I là một mô hình của A † Nếu chọn I’ giống I nhưng manI’ = {b,d}, khi đó A có giá trị false, I’ không là một mô hình của A 99 1010 Logic mô tả - Description Logics Các khái niệm cơ bản của DL † Dựa trên khái niệm (concept) và vai trò (role) † Concepts (classes) „ Khái niệm là tập các đối tượng „ vd., Person, Doctor, Parent „ Vai trò là các quan hệ nhị phân trên các đối † Roles (properties) tượng „ vd., hasChild, hasName, hasAncestor † DL cho phép xây dựng các khái niệm và vai trò † Individuals (objects) phức tạp từ những cái đơn giản hơn, bao gồm „ vd., John, Mary, Italy „ Conjunction, disjunction, negation † Constructors „ Mộột số dạạngg của lượợngg từ „„ ĐểĐể ttạạo các khái nio các khái niệệmm: vdd., ccộộng gng gộộpp, kkếết nt nốốii, † Là tập con của First Order Logic tách, … „ Để tạo các vai trò (axiom): vd., đảo, đối xứng, … 1111 1212 goupee.com fb.com/groups/goupee 3

Page 4

Ví dụ về cú pháp và ngữ nghĩa của DL Các tầng ngôn ngữ trong OWL † OWL DL „ Có cách biểu diễn chuẩn trong DL „ Tương đương với SHOIN † OWL Lite „ Là tập con “dễ cài đặt” của OWL DL „ Tương đương với SHIN † OWL Full „„ là hlà hợợp cp củủa OWL DL và RDFSa OWL DL và RDFS „ Ngữ nghĩa RDF mở rộng với các điều kiện ngữ nghĩa liên quan và các biểu diễn dưới dạng bộ ba 1313 14 OWL Constructs OWL Axioms 15 16 goupee.com fb.com/groups/goupee 4

Page 5

OWL and DL OWL Species † OWL Full for users who want maximum expressiveness and the syntactic freedom of RDFRDF „ E.g., Classes as instances † Every legal OWL Lite ontology is a legal OWL DL ontology † Every legal OWL DL ontology is a legal OWL Full ontology †† Every OWL (LiteEvery OWL (Lite, DLDL, Full) document is an RDFFull) document is an RDF document, and every RDF document is an OWL Full document † But only some RDF documents will be a legal OWL Lite or OWL DL document 17 18 Syntaxes of OWL OWL Abstract syntax † Abstract syntax † DL syntax „ Human readable „ associateProfessor ⊆ academicStaffMember „ Not defined for OWL Full „ ffullllProffessor ⊆ acaddemicStaffffMembber † RDF/XML „ fullProfessor ⊆ ¬associateProfessor „ facultyMember ≡ academicStaffMember „ Official exchange syntax (for the Semantic Web) † OWL Abstract syntax „ Harder for human reading „ Class( associateProfessor partial academicStaffMember) „„ Class( fullProfessor partial academicStaffMember)Class( fullProfessor partial academicStaffMember) „ DisjointClasses ( fullProfessor associateProfessor ) „ Class( facultyMember complete academicStaffMember) 19 20 goupee.com fb.com/groups/goupee 5

Page 6

RDF/XML syntax More example † In DL <owl:Class rdf:ID="associateProfessor"> Wine ⊆ PotableLiquid ∩ ∀hasMaker.Winery <rdfs:subClassOf †† In abstract syntaxIn abstract syntax rdf:resource="#academicStaffMember"/> Class (Wine partial intersectionOf (PotableLiquid </owl:Class> <owl:Class rdf:ID="fullProfessor"> restriction (hasMaker allValuesFrom (Winery ) ) <rdfs:subClassOf ) ) rdf:resource="#academicStaffMember"/> † In RDF/XML <owl:disjointWith <owl:Class rdf:ID="Wine" rdf:parseType="Collection"> rdf:resource="#associateProfessor"/> <rdfs:subClassOf><owl:Class> <owl:intersectionOf> </owl:Class> <owl:Class rdf:about="#PotableLiquid"/> <<owl Cll:Class rdf ID "fdf:ID="facult MltyMembber">"> <owl:Restriction><owl:Restriction> <owl:onProperty <owl:equivalentClass rdf:resource="#hasMaker"/> rdf:resource="#academicStaffMember" /> <owl:allValuesFrom rdf:resource="#Winery"/> </owl:Class> </owl:Restriction> </owl:intersectionOf> </owl:Class> </rdfs:subClassOf> </owl:Class> 21 22 Bài tập Further reading † "Tác giả" bao gồm tất cả những người viết sách † Jos de Bruijn: Using Ontologies. Enabling hoặc một phần cuốn sách Knowledge Sharing and Reuse on the Semantic † Tacgia, nguoi, viet, sach, motphancua.sach Web. DERI Technical Report DERI-2003-10-29, † Tacgia = nguoi ∩ ∀viet.(sach ∪∃motphancua.sach) 2003. † Happy parent is a person all of whose children http://www.deri.org/publications/techpapers/d are either Doctors or have a child who is a ocuments/DERI-TR-2003-10-29.pdf Doctor † OWL Guide: http://www.w3.org/TR/owl-guide/ † {Doctor ⊆ Person, † OWL Reference: http://www.w3.org/TR/owl- HappyParent ≡ Person ∩ ∀hhasChild (hild.(Doctor ∪ ∃hhasChildhild.Doctor)})} ref/ † OWL Abstract syntax and Semantics: http://www.w3.org/TR/owl-semantics/ 23 2424 goupee.com fb.com/groups/goupee 6

Affichage des 6 premières pages. Téléchargez le document pour le voir en entier.

Commentaires (0)

Se connecter pour rejoindre la discussion

Aucun commentaire pour le moment. Soyez le premier !