SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Play with Jena Semantic Web Framework on Java Umi Laili Yuhana Master Candidate of Computer Science and Information Engineering National Taiwan University  December 2007 http://yuhanaresearch.wordpress.com
Goal ,[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com
Outline ,[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com
RDF http://yuhanaresearch.wordpress.com
RDF Example Example : CD list RDF Document for CD list http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
RDF ,[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
RDF ,[object Object],[object Object],[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
RDF Model ,[object Object],[object Object],[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
RDF Statement and RDF Model ,[object Object],[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena Subject Object predicate
RDF Graph of Data Model Example  http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
RDF Element ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
RDF Element (cont.) Root element Description Element http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
RDF Element (cont.) Define XML document  To be RDF Document RDF namespace About Attribut elements  that  describe  the resource http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
RDFS (RDF Schema) ,[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
RDFS Example :  the resource "horse" is  a subclass of the class "animal"  http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
RDF OWL ,[object Object],[object Object],[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
JENA Java API for semantic web applications http://yuhanaresearch.wordpress.com
Jena ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
Example code to create graph with jena ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
JENA RDF Package ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
Installing and Running Jena http://yuhanaresearch.wordpress.com
Installing and Running Jena ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
Preparation the tools ,[object Object],[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
Download Jena http://yuhanaresearch.wordpress.com ,[object Object],RDF JENA Installing and Running Jena
Create New Java Project in Eclipse ,[object Object],[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
Define Project Name ,[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
Create Source Folder ,[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
Append Jena libraries to classpath ,[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
Append Jena libraries to classpath ,[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
Import Source Folder ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
http://yuhanaresearch.wordpress.com ,[object Object],choose General    File System and click Next Then Choose “browse” on Import dialog ,[object Object],RDF JENA Installing and Running Jena
Thanks http://yuhanaresearch.wordpress.com

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to RDF & SPARQL
Introduction to RDF & SPARQLIntroduction to RDF & SPARQL
Introduction to RDF & SPARQL
Open Data Support
 

Was ist angesagt? (20)

SPARQL Tutorial
SPARQL TutorialSPARQL Tutorial
SPARQL Tutorial
 
Introduction to RDF & SPARQL
Introduction to RDF & SPARQLIntroduction to RDF & SPARQL
Introduction to RDF & SPARQL
 
RDF and OWL
RDF and OWLRDF and OWL
RDF and OWL
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
Building a Knowledge Graph using NLP and Ontologies
Building a Knowledge Graph using NLP and OntologiesBuilding a Knowledge Graph using NLP and Ontologies
Building a Knowledge Graph using NLP and Ontologies
 
Graph and RDF databases
Graph and RDF databasesGraph and RDF databases
Graph and RDF databases
 
RDF data model
RDF data modelRDF data model
RDF data model
 
RDF와 Graph의 이해 및 오라클 Spartial&Graph 소개
RDF와 Graph의 이해 및 오라클 Spartial&Graph 소개RDF와 Graph의 이해 및 오라클 Spartial&Graph 소개
RDF와 Graph의 이해 및 오라클 Spartial&Graph 소개
 
Overview of the SPARQL-Generate language and latest developments
Overview of the SPARQL-Generate language and latest developmentsOverview of the SPARQL-Generate language and latest developments
Overview of the SPARQL-Generate language and latest developments
 
RDF 해설서
RDF 해설서RDF 해설서
RDF 해설서
 
Spark SQL
Spark SQLSpark SQL
Spark SQL
 
Debunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative FactsDebunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative Facts
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
All Aboard the Databus
All Aboard the DatabusAll Aboard the Databus
All Aboard the Databus
 
RDF data validation 2017 SHACL
RDF data validation 2017 SHACLRDF data validation 2017 SHACL
RDF data validation 2017 SHACL
 
LinkML Intro July 2022.pptx PLEASE VIEW THIS ON ZENODO
LinkML Intro July 2022.pptx PLEASE VIEW THIS ON ZENODOLinkML Intro July 2022.pptx PLEASE VIEW THIS ON ZENODO
LinkML Intro July 2022.pptx PLEASE VIEW THIS ON ZENODO
 
Apache spark - Architecture , Overview & libraries
Apache spark - Architecture , Overview & librariesApache spark - Architecture , Overview & libraries
Apache spark - Architecture , Overview & libraries
 
Tuning and Debugging in Apache Spark
Tuning and Debugging in Apache SparkTuning and Debugging in Apache Spark
Tuning and Debugging in Apache Spark
 
JDBC - JPA - Spring Data
JDBC - JPA - Spring DataJDBC - JPA - Spring Data
JDBC - JPA - Spring Data
 
Elastic Search (엘라스틱서치) 입문
Elastic Search (엘라스틱서치) 입문Elastic Search (엘라스틱서치) 입문
Elastic Search (엘라스틱서치) 입문
 

Andere mochten auch

070517 Jena
070517 Jena070517 Jena
070517 Jena
yuhana
 
Comparison of Reasoners for large Ontologies in the OWL 2 EL Profile
Comparison of Reasoners for large Ontologies in the OWL 2 EL ProfileComparison of Reasoners for large Ontologies in the OWL 2 EL Profile
Comparison of Reasoners for large Ontologies in the OWL 2 EL Profile
Kathrin Dentler
 
Quality Assurance in LOINC® using Description Logic
Quality Assurance in LOINC® using Description LogicQuality Assurance in LOINC® using Description Logic
Quality Assurance in LOINC® using Description Logic
Tomasz Adamusiak
 
Ontology Mapping
Ontology MappingOntology Mapping
Ontology Mapping
butest
 

Andere mochten auch (19)

An Introduction to the Jena API
An Introduction to the Jena APIAn Introduction to the Jena API
An Introduction to the Jena API
 
Java and OWL
Java and OWLJava and OWL
Java and OWL
 
070517 Jena
070517 Jena070517 Jena
070517 Jena
 
서울시 열린데이터 광장 문화관광 분야 LOD 서비스
서울시 열린데이터 광장 문화관광 분야 LOD 서비스서울시 열린데이터 광장 문화관광 분야 LOD 서비스
서울시 열린데이터 광장 문화관광 분야 LOD 서비스
 
A Machine Learning Approach to SPARQL Query Performance Prediction
A Machine Learning Approach to SPARQL Query Performance PredictionA Machine Learning Approach to SPARQL Query Performance Prediction
A Machine Learning Approach to SPARQL Query Performance Prediction
 
17 using rules of inference to build arguments
17   using rules of inference to build arguments17   using rules of inference to build arguments
17 using rules of inference to build arguments
 
Jena based implementation of a iso 11179 meta data registry
Jena based implementation of a iso 11179 meta data registryJena based implementation of a iso 11179 meta data registry
Jena based implementation of a iso 11179 meta data registry
 
Comparison of Reasoners for large Ontologies in the OWL 2 EL Profile
Comparison of Reasoners for large Ontologies in the OWL 2 EL ProfileComparison of Reasoners for large Ontologies in the OWL 2 EL Profile
Comparison of Reasoners for large Ontologies in the OWL 2 EL Profile
 
Owl Presentation
Owl PresentationOwl Presentation
Owl Presentation
 
Quality Assurance in LOINC® using Description Logic
Quality Assurance in LOINC® using Description LogicQuality Assurance in LOINC® using Description Logic
Quality Assurance in LOINC® using Description Logic
 
Semantic Integration with Apache Jena and Stanbol
Semantic Integration with Apache Jena and StanbolSemantic Integration with Apache Jena and Stanbol
Semantic Integration with Apache Jena and Stanbol
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inference
 
Inference on the Semantic Web
Inference on the Semantic WebInference on the Semantic Web
Inference on the Semantic Web
 
LOD(Linked Open Data) Recommendations
LOD(Linked Open Data) RecommendationsLOD(Linked Open Data) Recommendations
LOD(Linked Open Data) Recommendations
 
Introduction of Deep Learning
Introduction of Deep LearningIntroduction of Deep Learning
Introduction of Deep Learning
 
LODAC 2017 Linked Open Data Workshop
LODAC 2017 Linked Open Data WorkshopLODAC 2017 Linked Open Data Workshop
LODAC 2017 Linked Open Data Workshop
 
Ontology Mapping
Ontology MappingOntology Mapping
Ontology Mapping
 
Database-to-Ontology Mapping Generation for Semantic Interoperability
Database-to-Ontology Mapping Generation for Semantic InteroperabilityDatabase-to-Ontology Mapping Generation for Semantic Interoperability
Database-to-Ontology Mapping Generation for Semantic Interoperability
 
The Social Semantic Web: An Introduction
The Social Semantic Web: An IntroductionThe Social Semantic Web: An Introduction
The Social Semantic Web: An Introduction
 

Ähnlich wie Jena

2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
Josef Petrák
 
Rdf Processing Tools In Java
Rdf Processing Tools In JavaRdf Processing Tools In Java
Rdf Processing Tools In Java
DicusarCorneliu
 
RDF_API_Java_Stefan_Apostoaie
RDF_API_Java_Stefan_ApostoaieRDF_API_Java_Stefan_Apostoaie
RDF_API_Java_Stefan_Apostoaie
iosstef
 
Comparative Study That Aims Rdf Processing For The Java Platform
Comparative Study That Aims Rdf Processing For The Java PlatformComparative Study That Aims Rdf Processing For The Java Platform
Comparative Study That Aims Rdf Processing For The Java Platform
Computer Science
 
Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011
Juan Sequeda
 

Ähnlich wie Jena (20)

01 spring-intro
01 spring-intro01 spring-intro
01 spring-intro
 
Empire: JPA for RDF & SPARQL
Empire: JPA for RDF & SPARQLEmpire: JPA for RDF & SPARQL
Empire: JPA for RDF & SPARQL
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
 
Saveface - Save your Facebook content as RDF data
Saveface - Save your Facebook content as RDF dataSaveface - Save your Facebook content as RDF data
Saveface - Save your Facebook content as RDF data
 
Apache Zeppelin, Helium and Beyond
Apache Zeppelin, Helium and BeyondApache Zeppelin, Helium and Beyond
Apache Zeppelin, Helium and Beyond
 
RDFa Introductory Course Session 2/4 How RDFa
RDFa Introductory Course Session 2/4 How RDFaRDFa Introductory Course Session 2/4 How RDFa
RDFa Introductory Course Session 2/4 How RDFa
 
How RDFa works
How RDFa worksHow RDFa works
How RDFa works
 
Introducing JDBC for SPARQL
Introducing JDBC for SPARQLIntroducing JDBC for SPARQL
Introducing JDBC for SPARQL
 
Rdf Processing Tools In Java
Rdf Processing Tools In JavaRdf Processing Tools In Java
Rdf Processing Tools In Java
 
Facet: Building Web Pages with SPARQL
Facet: Building Web Pages with SPARQLFacet: Building Web Pages with SPARQL
Facet: Building Web Pages with SPARQL
 
RDF_API_Java_Stefan_Apostoaie
RDF_API_Java_Stefan_ApostoaieRDF_API_Java_Stefan_Apostoaie
RDF_API_Java_Stefan_Apostoaie
 
Exploiter le Web Semantic, le comprendre et y contribuer
Exploiter le Web Semantic, le comprendre et y contribuerExploiter le Web Semantic, le comprendre et y contribuer
Exploiter le Web Semantic, le comprendre et y contribuer
 
Comparative Study That Aims Rdf Processing For The Java Platform
Comparative Study That Aims Rdf Processing For The Java PlatformComparative Study That Aims Rdf Processing For The Java Platform
Comparative Study That Aims Rdf Processing For The Java Platform
 
Data in RDF
Data in RDFData in RDF
Data in RDF
 
Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011
 
Getting Started With The Talis Platform
Getting Started With The Talis PlatformGetting Started With The Talis Platform
Getting Started With The Talis Platform
 
AWS Tech Summit - Berlin 2011 - Running Java Applications on AWS
AWS Tech Summit - Berlin 2011 - Running Java Applications on AWSAWS Tech Summit - Berlin 2011 - Running Java Applications on AWS
AWS Tech Summit - Berlin 2011 - Running Java Applications on AWS
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 
.Net and Rdf APIs
.Net and Rdf APIs.Net and Rdf APIs
.Net and Rdf APIs
 
Deep Dive Java 17 Devoxx UK
Deep Dive Java 17 Devoxx UKDeep Dive Java 17 Devoxx UK
Deep Dive Java 17 Devoxx UK
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 

Jena

  • 1. Play with Jena Semantic Web Framework on Java Umi Laili Yuhana Master Candidate of Computer Science and Information Engineering National Taiwan University December 2007 http://yuhanaresearch.wordpress.com
  • 2.
  • 3.
  • 5. RDF Example Example : CD list RDF Document for CD list http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. RDF Graph of Data Model Example http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
  • 11.
  • 12. RDF Element (cont.) Root element Description Element http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
  • 13. RDF Element (cont.) Define XML document To be RDF Document RDF namespace About Attribut elements that describe the resource http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
  • 14.
  • 15. RDFS Example : the resource "horse" is a subclass of the class "animal" http://yuhanaresearch.wordpress.com RDF JENA Installing and Running Jena
  • 16.
  • 17. JENA Java API for semantic web applications http://yuhanaresearch.wordpress.com
  • 18.
  • 19.
  • 20.
  • 21. Installing and Running Jena http://yuhanaresearch.wordpress.com
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.