top of page
  • Writer's pictureMichael DeBellis

The People_Example Ontology

Updated: Oct 22, 2021

I'm working on an article where I provide an overview of the various semantic web technologies such as OWL, SWRL, SPARQL, and SHACL. As part of the article I'm including a sample ontology to illustrate various concepts such as defined classes, the Open World Assumption, and SWRL rules. This post is so that readers can download this example ontology. To download click on this link: People_Ontology That should take you to Google drive where you will get a message: "No Preview Available". Click on the blue button: "Download" and then put the OWL file wherever you wish to store your ontologies.


Also, in order to load and view the ontology in Protégé, I've provided instructions for people who have never used Protégé to load the required plugins and views as well as instructions for viewing examples in the ontology: Using the People_Ontology.


This is not a substitute for the Pizza Tutorial. This is a simpler ontology and the documentation is mostly about viewing examples rather than on developing the ontology. For an in-depth, hands-on tutorial please see the previous post on the revised Pizza Tutorial. This is primarily meant for readers of the article and for those who want to view some capabilities of OWL and Protégé but don't want to go through a tutorial. Sort of an executive summary tutorial. However, there are some examples in this ontology, especially regarding property hierarchies and SPARQL that may be interesting to those who have done the Pizza tutorial. One of the most important additions is a sophisticated SPARQL query that illustrates the concept of linked data developed with the help of Franz Inc.


Note: I've received some feedback about the binary definition of gender in this ontology. This was not meant to be any type of political statement. While I don't write about political issues I want to emphasize I completely support LGBTQ rights. The binary definition of gender was nothing but a simplifying assumption to create what I hoped would be an intuitive example that was easily understood by everyone. For the time being I'm leaving it as is because I'm not sure the appropriate way to change some of the defined classes with non-binary definitions of gender but I want to emphasize that just as the Pizza ontology isn't meant to really model a restaurant, this model is just an example for learning purposes with many simplifying assumptions. Just as I didn't deal with adopted children or step parents I simplified things by having a binary definition of gender and I realize that wouldn't be appropriate for a real world ontology.

4,099 views3 comments

3 Comments


Guest
Jul 03, 2023

Thank you for the suggestion,

I will try this

Like

harsh gupta
harsh gupta
Jun 21, 2023

SPARQL tool does not show in my protege tool , please give me solution

Like
Michael DeBellis
Michael DeBellis
Jun 21, 2023
Replying to

There are two SPARQL tools in Protege: the default SPARQL tab and Snap SPARQL. I almost always use Snap SPARQL. There are a number of ways it is better. E.g., it can see inferences of the reasoner and it can add new info to the ontology. Snap SPARQL is a plugin though. It isn't available when you first download Protege, you need to install it from the plugins menu. Once you install it, you need to restart Protege. Then you need to add it using Window>Views>Query Views. That will give you one of those window outlines that you can add to an existing view. Also, in 5.6 there is a bug with the default SPARQL tab. I forget the details…

Like
bottom of page