A detail question

17 views
Skip to first unread message

Wang Dongsheng

unread,
Dec 3, 2012, 5:42:18 AM12/3/12
to semant...@googlegroups.com
Hi,
  I want to ask a detail question, and hope someone could help me:
 
  I make a ontology(OWL), which consist of Classes such as User, Location, Language, Message, Topic...

  The point is that, what if a instance of Topic is "Message"? (I generate RDF data additionally in TDB) 
  From the storing perspective, first, "Message" is a class that is stored as "URI + Message". At the same time, the instance  of Topic "Message" is also stored as "URI + Message" !!
   As we know, we can't define two entities the same name in protege tool...Is it a little confusing or something problem? And how does the inference machine tell the difference?? 

Ankur Oberai

unread,
Dec 3, 2012, 8:28:36 AM12/3/12
to semant...@googlegroups.com
Is the data you are generating through some automatic tool?
You will need to make the instance URI different..something like-URI + MessageInstance1




--
You received this message because you are subscribed to the Google Groups "Semantic Web" group.
To post to this group, send email to semant...@googlegroups.com.
To unsubscribe from this group, send email to semantic_web...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/semantic_web?hl=en.



--
Regards

Ankur Oberai


Wang Dongsheng

unread,
Dec 3, 2012, 9:14:42 AM12/3/12
to semant...@googlegroups.com
I use jena to manipulate the generation of data.
U mean I could name the instance of Topic as MessageInstance?
em...in conclusion, maybe just create this format "URI + name + instance" to create Topic instance??
well.. at least, it seems to be able to solve the problem ..though a little bit weird..  if no better strategy.. 
Thank u for ur good suggestion!!
Reply all
Reply to author
Forward
0 new messages