Re: RDF or OWL

2015-08-20 Thread Rob Walpole
Just a heads up that for more general Semantic Web question you should probably go somewhere like http://answers.semanticweb.com/ as this mailing list is Jena specific :) Rob Rob Walpole Email robkwalp...@gmail.com Tel. +44 (0)7969 869881http://www.linkedin.com/in/robwalpole On Thu, Aug 20, 201

Re: RDF or OWL

2015-08-20 Thread Rob Walpole
It's all RDF. OWL is expressed as RDF. I think perhaps you mean RDFS? If you have an OWL ontology then all of your classes are (at the deepest level) subclasses of owl:Thing. If you have created an RDFS vocabulary then all of your classes are subclasses of rdfs:Class. I'm guessing that you have cre

Re: RDF or OWL

2015-08-20 Thread kumar rohit
Thank you but what about RDF models and classes? Is it replaced by OWL ? On Thu, Aug 20, 2015 at 11:52 AM, Rob Walpole wrote: > You will need use an OntModel if you want to instantiate your OWL classes. > I assume your vocabulary is actually based on OWL, i.e. all your classes > are subclasses o

Re: RDF or OWL

2015-08-20 Thread Rob Walpole
You will need use an OntModel if you want to instantiate your OWL classes. I assume your vocabulary is actually based on OWL, i.e. all your classes are subclasses of owl:Thing - so if you want to use these in your Java code - perhaps to write queries - you will need to instantiate them something li

RDF or OWL

2015-08-20 Thread kumar rohit
Suppose a Protege file which is saved as "module.owl" in Rdf/xml serialized form and we want to import it in Jena, what classes will we use? I mean RDF classes like Model model = ModelFactory.createDefaultModel(); OR Ontmodel classes and methods like OntModel m = ModelFactory.createOntologyModel