semantic web service

31 views
Skip to first unread message

ghassan

unread,
Feb 10, 2012, 5:51:38 PM2/10/12
to Empire

Hi ,

I want to build semantic web services using owls which is built on top
of jena ,
The problem is for the input and the output of the semantic web
service i need to prepare the inputs ( define in some ontolgy ) and
display a form
for the user to fill , i am using struts2 for my web application .

Does Empire help me achieving this ?
and for each class in the ontology do i need to write specific code ,
or i can write generic code using Empire for now ?


and another question : do Empire supports non English ontologies ?


Regards,
Ghassan

Mike Grove

unread,
Feb 13, 2012, 8:15:53 AM2/13/12
to empir...@googlegroups.com
On Fri, Feb 10, 2012 at 5:51 PM, ghassan <hamou...@gmail.com> wrote:
>
> Hi ,
>
> I want to build semantic web services using owls which is built on top
> of jena ,
> The problem is for the input and the output of the semantic web
> service i need to prepare the inputs ( define in some ontolgy ) and
> display  a form
> for the user to fill , i am using struts2  for my web application .
>
> Does Empire help me achieving this ?

Not sure what part you're asking about. Empire could help you
represent your web service information as Java beans and persist that
into an RDF database, but it can't display any input forms for you.
If you are interested in using Empire within a web-app, I recommend
you go with the Play! [1] framework, it's a very nice and easy to use
framework, and there is an Empire plugin for Play! to make it easy to
use them together. The plugin is currently a bit out of date, but it
should be trivial to get it working with the latest version of Play!

> and for each class in the ontology do i need to write specific code ,
> or i can write generic code using Empire for now ?
>

Again, you're being quite vague, so I'm not sure what to recommend.
You're going to have to write specific code for something at some
point. Empire will help you abstract away the details about RDF &
persistence so you can concentrate on the logic of the system rather
than the mundane bits of dealing with triples and triplestores.

>
> and another question : do Empire supports non English ontologies ?
>

Yes, it should. @RdfProperty supports the ability to constrain the
properties to literal values in a certain language. That's not well
tested, so if you find issues with this, please report them and/or
submit patches.

Cheers,

Mike

[1] http://www.playframework.org/
[2] https://github.com/mhgrove/Imperium

>
> Regards,
> Ghassan
>

Reply all
Reply to author
Forward
0 new messages