110 likes | 246 Views
About Semantic Web & Implementation. Speaker: Yu-Sin Chen (Ma090107) Date: 2012-06-08 Advisor: Chen Jyi -Ta. outline. What ‘s Semantic Web? How to create Semantic Web Information Model? Implementation How to use Protégé? Demo. What ‘s Semantic Web.
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