Parsing schema.org ttl/owl file using Jena
I'm writing a code generator that generate entities (POJO's in Java language) from the schema defined here http://schema.rdfs.org/all.ttl . I'm using Jena to parse the ttl file and retrieve the meta data that I need to generate them. Jena parses the file successfully, however, for some reason it does not list all the attributes of a given entity, e.g., Person. I'm not sure whether I'm doing something wrong, using the wrong API, etc. Here's the code sample that recreates the scenario: public class PersonParser { public static void main(String[] args) { OntModel model = ModelFactory