简体   繁体   中英

Define Data Property Expression in Protege

I am trying to model an ontology about hiking with protege. There I have Destinations, which can for example be a trail (subclass of Destination). As a another subclass of Destination I'd like to have long-distance trails and only trails with a certain distance/length are long distance trails.

To achieve this I added a data property (has)kmDistance for trails. Then I wanted to add an expression like:

equivalent to

Destination and (kmDistance value > 100)

to long-distance trails, to add all instances with more than 100 kilometers. But I'm struggling to write this expression, as soon as I write something like min, or >= etc. protege does not accept the input.

Would be great if someone could help me out!

在此处输入图片说明 在此处输入图片说明

在此处输入图片说明

So I got it working now, the solution was just to pot "xsd:" before the datatype "integer". Now it looks like this:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM