Generating Java Code from rdf or owl file using empire

203 views
Skip to first unread message

Judson Melo Bandeira

unread,
Mar 6, 2013, 1:38:13 PM3/6/13
to empir...@googlegroups.com
Hi, people!

I'm studying empire and i want to know how generate java code from rdf or owl file using empire.
I saw the empire code and i know the class InstanceGenerator does it. but how? i can't do it

Mike Grove

unread,
Mar 6, 2013, 1:48:25 PM3/6/13
to empir...@googlegroups.com
InstanceGenerator will create a valid Java object which implements some empire-compatible interface.  It does this via Javassist.

BeanGenerator [1] will generate the interfaces that can be fed into InstanceGenerator by passing it an RDFS or OWL ontology; each class in the ontology will have a resulting interface.  You can see the main method of BeanGenerator for an example.

Cheers,

Mike



--
You received this message because you are subscribed to the Google Groups "Empire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to empire-rdf+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages