Hello Markus,

And thank you very much! This information means a lot to me. At least, I will not try any more.

Best regards,
Srecko Joksimovic

On Mon, Aug 1, 2011 at 11:57 AM, Markus Krötzsch <markus@semantic-mediawiki.org> wrote:
On 01/08/11 10:42, srecko joksimovic wrote:
Hello,
I am new to Semantic MediaWiki, and maybe this is not the place to ask a
question like this, but I have a project to finish and I hope someone
could help me.
The point is that I have my ontology, based on SKOS, with defined
concepts. On the other hand, I have text which I should annotate based
on this ontology. And the main thing is that I should do that from Java
application.

Could someone please tell me if it is possible to load my own ontology,
and annotate (search concepts in) text, based on that ontology, using
SMV as a platform?

Hi Srecko,

I am not sure if SMW is what you need. SMW is used by communities that manage data. Doing this leads to a lightweight ontology that is part of the wiki content, but it is not possible to use arbitrary ontologies in SMW (many features of the OWL ontology language are not used by SMW).

Moreover, SMW is not a text annotation tool. It is possible to maintain the semantic data as part of the text in a wiki, but the data is not annotating the text. In other words, data always refers to wiki pages, not to sentences or words in a text that might be found on a page.

Finally, SMW is not a Java application.

So if your goal is to annotate texts based on a background ontology within a Java application, then SMW is not a very good match to your needs. SMW is very flexible and can be used for many tasks, but unless you need at least some of the features that SMW offers, there is little merit in trying to overcome the above limitations.

Regards,

Markus