Hi, I have a class "StringType" which has properties like creator, creationDate, ..., and hasValue which points to an String Datatype property.

My current problem is, that I have to model some enumerations (string). In my opinion it's not possible to do something like hasStringValue StringType["bla" "bla2"] - am I right with this? So to keep consistency in my model I would have to model some EnumerationTypes like "StringEnumBlaBla2" as well as a datatype "stringBlaBla2" where I add a enum restriction "Bla" "Bla2" and point from StringEnumBlaBla2 to value stringBlaBla2. I think that's a "bit" ugly so I wanted to ask if someone have a better Idea to solve this problem. (It's not possible to point directly to an Datatype Property, I need the "MainType" as a Object Property.)

Thank you, Dennis

asked 04 Dec '12, 11:17

crdev's gravatar image

accept rate: 0%

edited 04 Dec '12, 11:17

This is not clear. First, what do you mean by "StringType" has properties? Can you show how you write this in RDF? Second, what is hasStringValue? And what does hasStringValue StringType["bla" "bla2"] exactly mean? Is it RDF or OWL or something else?

(05 Dec '12, 19:16) Antoine Zimm... ♦ Antoine%20Zimmermann's gravatar image
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 04 Dec '12, 11:17

question was seen: 831 times

last updated: 05 Dec '12, 19:16