110 likes | 259 Vues
This presentation by Yu-Sin Chen on June 8, 2012, explores the fundamentals of the Semantic Web and how to create a Semantic Web Information Model. Key topics include the definition of the Semantic Web, the construction of information models using RDF, RDFS, and OWL 2, and practical use cases with Protégé for ontology creation. The session also highlights SPARQL query language and introduces tools like Apache Jena for building Semantic Web applications. Attendees will gain both theoretical knowledge and practical skills through demos.
E N D
About Semantic Web & Implementation Speaker: Yu-Sin Chen (Ma090107) Date: 2012-06-08 Advisor: Chen Jyi-Ta About Semantic Web & Implementation
outline • What ‘s Semantic Web? • How to create Semantic Web Information Model? • Implementation • How to use Protégé? • Demo About Semantic Web & Implementation
What ‘s Semantic Web About Semantic Web & Implementation
How to create Semantic Web Information Model? • Graph • Nodes: Resources and Literals • Edges: Predicates • Language • RDF • ★ RDF/XML • Turtle(Terse RDF Triple Language) • N-Triple • RDFS • OWL 2 -------------------------------------------------- • SPARQL Query Language • SWRL Semantic Web Rule Language About Semantic Web & Implementation
RDFsyntax N-Triple為Turtle的一種簡化版本,差異在於N-Triple的加入一些簡化約束,且不支持@perfix指令與”;”或”,”的陳述簡寫方法。 About Semantic Web & Implementation
SPARQL syntax 名稱空間 主查詢語句(由Select、From、Where組成) About Semantic Web & Implementation
SWRL syntax 條件(相對於程式語言中的If) 結果(相對於程式語言中的Then) @perfix名稱空間 [ 與 ]是用來區分每個規則 rule1: 則是規則名稱(可自訂) About Semantic Web & Implementation
推理後 (YoChen) 推理前(YoChen) 推理後 (FishChen) 推理前(FishChen) About Semantic Web & Implementation
Implementation-Tools • Protégé – Create ontology • Server environment • JDK 7 • Apache Tomcat 7 • Apache Jena(Jena API) -Java framework for building Semantic Web applications • SPARQL • Reasoner • Joseki – A SPARQL server for Jena About Semantic Web & Implementation
System architecture √ 使用Joseki直接查詢 根據本體檔案中的描述做推理 透過JenaAPI連結Joseki查詢 利用外部規則檔案做推理 About Semantic Web & Implementation
Demo Time About Semantic Web & Implementation