Re: retrieve property names

2013-04-19 Thread aar thi
Set prop = new HashSet(); ExtendedIterator rootIterator = classname.listDeclaredProperties(); int i=0; while (rootIterator.hasNext()){ OntProperty ontRoot = (OntProperty) rootIterator.next(); String properties = ontRoot.toString(); in

merging in jena

2013-04-19 Thread suganya
Hi i am having two ontologies... i want to compare the properties and classes of those two and they should be merged and written on a new ontology... can anyone help to write code in jena -- with regards. sugan,...

Re: enhanced iterators

2013-04-19 Thread Bob DuCharme
Am I the only one who thought that that subject line looked a bit spammy at first glance? Bob On 4/19/2013 3:41 AM, Claude Warren wrote: FYI the enhanced iterators found in the Apache Jena project will soon be included in the apache commons collections v4.x under the org.apache.commons.collect

Re: retrieve property names

2013-04-19 Thread Andy Seaborne
On 19/04/13 19:21, aar thi wrote: hi i'm doing a small project in ontology, i need to retrieve all the property names present in a particular class in the ontology. some one help me to do that in jena What have you tried?

retrieve property names

2013-04-19 Thread aar thi
hi i'm doing a small project in ontology, i need to retrieve all the property names present in a particular class in the ontology. some one help me to do that in jena

enhanced iterators

2013-04-19 Thread Claude Warren
FYI the enhanced iterators found in the Apache Jena project will soon be included in the apache commons collections v4.x under the org.apache.commons.collections.iterators.enhanced package. It does not yet appear in the build but https://issues.apache.org/jira/browse/COLLECTIONS-442 indicates that