Ontology engineering Lab #8 – October 20, 2014.

Slides:



Advertisements
Similar presentations
Microsoft Expression Web-Illustrated Unit K: Working with Behaviors.
Advertisements

Welcome to WebCRD.
Cheryl Jelks Trainer/Applications Support Analyst Richland School District One.
® Microsoft Office 2010 Browser and Basics.
Center Accreditation Online System
HELP GUIDE NEW USER REGISTRATION (SLIDE 2) TAKING A QUIZ (SLIDE 8) REVIEWING A QUIZ (SLIDE 17) GROUP MEMBERSHIP (SLIDE 26) CREATING QUIZZES (SLIDE 31)
Rachelle Howell The University of Texas at Austin.
Loading Files from SFTP Server. Browsing Remote File System 1) Use “Files of Type” combobox to select file format 2) File Browser shows only files of.
This tutorial will show you, step by step, how to upload a file to Moodle.
Go to the link ( as shown, then choose downloads.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Putting Your PowerPoint into WebCT. To put your PowerPoint online Create an appropriate folder Upload the PowerPoint file to that folder Create a link.
Chapter 1 Databases and Database Objects: An Introduction
Chapter Accreditation Online System Usage Tutorial Department of Member Relations & Grants National Children’s Alliance.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
ONTOLOGY ENGINEERING Lab #9 - November 3, Linking Relational Databases to Ontologies 2  Relational databases are still a common means of storing.
This example is a step by step walkthrough for installing the SRH Front Desk Printer in Windows 8.
Deployment Management The following screens demonstrate how to: 1. Access and view deployments 2. Create a new local deployment 3. Create and modify a.
Services Course Live Groups Participant Guide.
The basics of the Online Portal
Session 5: Working with MySQL iNET Academy Open Source Web Development.
November 2014Prepared by the Computer Lab Montgomery County-Norristown Public Library.
Example: Jena and Fuseki
Your personal Display Section Presence notes Display Picture & ‘Indicator’ Contacts Activity Feeds Conversations Phone Options Your Location Your Presence.
Mail merge I: Use mail merge for mass mailings Perform a complete mail merge Now you’ll walk through the process of performing a mail merge by using the.
SWC Spring 2010 Application Version SWC Spring 2010 Select Folder 2.
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 3: Customizing Document Elements.
1 OrderPro Point of Sale (POS) Training Prepared by Christina Van Metre Independent Educational Consultant CTO, Business Development Team © Training Version.
1. Profile settings 2. Messaging system 3. Downloading files 4. Uploading files 5. Creating groups 6. Calendar events.
Working with Elluminate Plan! ©2010 eTeacher LTD..
Basic Instructions on how to use One Drive and share files. ONE Drive Your LogoYour own footer.
Screenshots of the E-book download For Windows and Flash disks.
Publishing Your Web Pages Ann Emmanuel SIUE Web Administrator
Evaluating & Maintaining a Site Domain 6. Conduct Technical Tests Dreamweaver provides many tools to assist in finalizing and testing your website for.
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
How to Download and Install the Naper eReader and eBook Naper Publishing Group.
XP Browser and Basics COM111 Introduction to Computer Applications.
By: Gia Vuong Riyad Mahmud Narsimha Kalthy.  What is Mahara?  Logging into the ACS Portfolio  Using Mahara to Manage: ◦ Files ◦ Blogs ◦ External Feeds.
1.5 LooGix.com Experience and Creation Meg Moring.
Copy of the from the secure website - click on the AccoridaLife.zip link.
Creating and Editing a Web Page
Folio3 IPhone Training Session 2 Testing App on device Presenter: Imam Raza.
Mike Sporcic, Rick Fasching, Bill Kuenstler, Gene Hardee,
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Embedding a Video, Image or Other Content Another way to add video or other content into your pages is through embedding. A popular example of this is.
Working with the interface and interacting with the iPad app.
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
Creating Web Pages with Links, Images, and Embedded Style Sheets
GETTING TEACHERS STARTED OneNote Class Notebook Creator.
Ltz/ng/createAthShrRvw1 LiveText at CBU Electronic Portfolios! Create, edit, attach documents, and Share or Send for Review.
 Open your browser and navigate to
Comprehensive Continuous Improvement Plan(CCIP) Training Module 4 Funding Application.
Perform a complete mail merge Lesson 14 By the end of this lesson you will be able to complete the following: Use the Mail Merge Wizard to perform a basic.
2 At the top of the zone in which you want to add the Web Part, click Add a Web Part. In the Add Web Parts to [zone] dialog box, select the check box of.
2 At the top of the zone in which you want to add the Web Part, click Add a Web Part. In the Add Web Parts to [zone] dialog box, select the check box of.
Eform Generator.
How to access your work from home or another computer
Database application MySQL Database and PhpMyAdmin
T_C_N_L_G_ E D I D I E O Y O H I E B J I R E A A W.
Multi-host Internet Access Portal (MIAP) Enhancement Guide
Windows Internet Explorer 7-Illustrated Essentials
Pages.
CGS 3175: Internet Applications Fall 2009
Card Data Tab There are no changes to the Card Data tab. Users will continue to click on the “Reallocate” button in order to update accounting.
Welcome to WebCRD.
bitcurator-access-webtools Quick Start Guide
You will need to click the login button here
Example: Jena and Fuseki
4CeeD Demonstration Step-by-step demonstration showing creation, uploading, and sharing of research data Timothy Spila, Ph.D. June 4, 2018.
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
Presentation transcript:

Ontology engineering Lab #8 – October 20, 2014

Installing Fuseki a SPARQL Server (Windows) Download the jena-fuseki-1.1.1-distribution.zip file from https://jena.apache.org/download/index.cgi Unzip the folder Find the fuseki-server.jar file. Create a subdirectory in the directory where this .jar file is located, name it dataDir Open a command prompt and navigate to the directory of the .jar file Enter the command: fuseki-server --update -- loc=dataDir /myDataSet

Running Fuseki If your installation of Fuseki was successful, then you’ll see a number of messages appear in the Command Prompt window. Once the messages, stop appearing. Open a browser and enter: http://localhost:3030/ in the address bar. At the next page, click on the Control Panel link. At the Fuseki Control Panel page select the /myDataset dataset If all has gone well, you’ll be taken to a page that looks like this…

Fuseki Query Page To exit Fuseki, simply close your browser and enter Ctrl+C in the Command Prompt Window

Loading Data into Fuseki Run the following construct query on the Dbpedia SPARQL Server: CONSTRUCT {?country dbpedia-owl:capital ?capital . ?country dbpprop:gdpNominalPerCapita ?gdbPerCapita . ?country dbpprop:gdbNominalPerCapitaRank ?gdbPerCapitaRank . ?country dbpprop:gdpNominalYear ?gdpYear . ?country dbpprop:hdi ?hdi . ?country dbpprop:hdiRank ?hdiRank . ?country dbpprop:hdiYear ?hdiYear . } WHERE { ?country rdf:type dbpedia-owl:Country . ?country dbpedia-owl:capital ?capital . ?country dbpprop:gdpNominalPerCapitaRank ?gdbPerCapitaRank . ?country dbpprop:hdiYear ?hdiYear . }

Loading Data into Fuseki Choose “Turtle” as the results format and save the output in a file named countrydata.ttl in the Data subdirectory of the directory in which the fuseki- server.jar file is located. Using the Browse button of the File Upload section, select the countrydata.ttl file. Leave the graph set to default and select the Upload button. You should see a page declaring SUCCESS and that you’ve loaded 343 triples. Use your browser’s back button to return to the Query page.

Loading Data into a Named Graph in Fuseki In the SPARQL Update pane enter the following INSERT DATA query: PREFIX persons: <http://www.cubrc.org/ontologies/KDD/Mid/AgentOntology/Individuals#> CREATE GRAPH <persons:royals> Next, browse to the individuals.owl file change the graph from default to persons:royals and click on the Upload button. If successful you should see a screen confirming that you’ve loaded 830 triples

Selecting Data from a Named Graph The following query will return a set of results from the <persons:royals> graph: PREFIX persons: <http://www.cubrc.org/ontologies/KDD/Mid/AgentOntology/Individuals#> PREFIX agent: <http://www.cubrc.org/ontologies/KDD/Mid/AgentOntology#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?person1 ?relation ?person2 FROM <persons:royals> WHERE { ?person1 rdf:type agent:Person . ?person2 rdf:type agent:Person . ?person1 ?relation ?person2 . }

Removing Triples The CLEAR DEFAULT command removes all triples from the default graph The CLEAR GRAPH <> command removes all triples from a particular named graph. For example, CLEAR GRAPH <person:royals> removes all triples from the named graph we’ve created earlier The CLEAR NAMED command removes all triples from all named graphs

Removing Graphs The DROP DEFAULT command removes all triples from the default graph as you cannot drop the default graph The DROP GRAPH <> command removes a particular named graph. For example, DROP GRAPH <persons:royals> removes the named graph we’ve created earlier The DROP NAMED command removes all named graphs The DROP ALL command removes all triples from the default graph and removes all named graphs

Adding Data The following query adds a triple to the named graph <persons:royals> from Dbpedia asserting that Edward VII is a parent of George_V: PREFIX persons: <http://www.cubrc.org/ontologies/KDD/Mid/AgentOntology/Individuals#> PREFIX dbpprop: <http://dbpedia.org/ontology/property#> PREFIX dbpedia: <http://dbpedia.org/resource#>   INSERT DATA {GRAPH <persons:royals> {dbpedia:Edward_VII dbpprop:issue dbpedia:George_V } }

Deleting Data The following DELETE request removes the parent relationship between George the 5th and Edward the 8th PREFIX persons: <http://www.cubrc.org/ontologies/KDD/Mid/AgentOntology/Individuals#> PREFIX agent: <http://www.cubrc.org/ontologies/KDD/Mid/AgentOntology#> DELETE DATA {GRAPH <persons:royals> {persons:GeorgeThe5th agent:is_parent_of persons:EdwardThe8th}}

Deleting Data The following Delete request removes all of George the 5th’s parent relationships: PREFIX persons: <http://www.cubrc.org/ontologies/KDD/Mid/AgentOntology/Individuals#> PREFIX agent: <http://www.cubrc.org/ontologies/KDD/Mid/AgentOntology#> DELETE {GRAPH <persons:royals> {persons:GeorgeThe5th agent:is_parent_of ?child}} WHERE

Updating Data The following query changes the triple: {dbpedia:Edward_VII dbpprop:issue dbpedia:George_V} to the triple: {persons:EdwardThe7th agent:is_parent_of persons:GeorgeThe5th } PREFIX persons: <http://www.cubrc.org/ontologies/KDD/Mid/AgentOntology/Individuals#> PREFIX dbpprop: <http://dbpedia.org/ontology/property#> PREFIX dbpedia: <http://dbpedia.org/resource#> PREFIX agent: <http://www.cubrc.org/ontologies/KDD/Mid/AgentOntology#> DELETE {GRAPH <persons:royals> {dbpedia:Edward_VII dbpprop:issue dbpedia:George_V } } INSERT WHERE

Updating Data The following request uses the “WITH” keyword to accomplish the same changes as the previous request, but with fewer keystrokes: PREFIX persons: <http://www.cubrc.org/ontologies/KDD/Mid/AgentOntology/Individuals#> PREFIX dbpprop: <http://dbpedia.org/ontology/property#> PREFIX dbpedia: <http://dbpedia.org/resource#> PREFIX agent: <http://www.cubrc.org/ontologies/KDD/Mid/AgentOntology#> WITH <persons:royals> DELETE {dbpedia:Edward_VII dbpprop:issue dbpedia:George_V } INSERT {persons:EdwardThe7th agent:is_parent_of persons:GeorgeThe5th } WHERE