Ontology


# Jena Rules

@prefix caIN: <file:ontology/indoorNav.owl#> .

@prefix temporal: <file:ontology/temporal.owl#> .

@include <OWL>.

  (more…)

Suppose i have Event e, which hasStartTime t1 and hasEndTime t2. To calculate the duration using SWRL of the event in minutes i use this rule :

Event(?e)  ∧
hasStartTime(?e, ?t1)  ∧
hasEndTime(?e, ?t2)  ∧
temporal:duration(?d, ?t1, ?t2, temporal:Minutes)
  → hasDuration(?e, ?d)

?d is return value in a minute .

I found good resources to know more about semantic web and semantic web technology such as the definition of semantic web, RDF, Ontology and also how to use protege. Here is the addrees :

And for the complete information just visit http://www.semanticfocus.com

I really got that this tutorial is usefull a lot, even for beginner.

In previous posting, i post about introduction to Ontology part 1. In part 1, i talk about idea of ontology, semantic web, and ontology in a glance.

In part 2, i write tutorial how to create ontology, step by step, using Protege based on Noy paper with indoor location as domain. Here is the ontology-part-2.ppt file.

Ontology in computer science has closed relationship with semantic web. Here (ontologypart1.ppt) is introduction of ontology in global view. 

Protege 3.4 beta version provides SQWRL to get knowledge from OWL Ontology. How to activate and use this feature, i wrote it in this document (get-information-from-ontology-using-sqwrl.pdf).

Complete example can be found on http://protege.cim3.net/cgi-bin/wiki.pl?SQWRL

Description: Event schedule is used to store knowledge about event in CSIE, time of event and event location. Events are resources with a start and an end time

Class : Event

Property :

  1. hasCalendar, domain: Event and range: (day, month, year) 
  2. startTime, domain : Event and range : datetime
  3. endTime, domain: Event and range: datetime
  4. hasLocation, domain: Event and range: loc:Room (class Room from location ontology)
  5. hasDuration, domain: Event and range: duration
  6. hasParticipant, domain: Event and range: person/group

Next Page »