49 
 
5. Click on the (+) icon next to Ranges in the Description view for hasCaloricContent. Select the Built in 
datatypes tab from the pop-up menu. Select xsd:integer7 from the rather long menu of possible built-in 
datatypes. This is the default datatype to use for integer data properties.  
6. Click the Functional check box next to the Description view. A Pizza can only have one caloric content 
and hence is functional. Data properties are often functional.  
5. Select OK and run the reasoner. Your UI should look similar to figure 5.1. 
_____________________________________________________________________________________ 
Figure 5.1 hasCaloricContent Data Property 
 
7 For historic reasons there are many datatypes that are seldom used, e.g., xsd:int which is similar to xsd:Integer. 
For numbers, the default datatypes are xsd:integer for integers and xsd:decimal for real numbers. Unless you have 
a good reason to use a different numeric datatype it is best to stick with these default types. E.g., when you write a 
SWRL rule if you use a number SWRL will infer that any integers are xsd:integer and any rationals are xsd:decimal.