Re: Legal lexical form for a "zero" XSDDuration ?

2013-03-30 Thread Léonard PETNGA
Thank you Andy and Rob! I've actually downloaded and unpacked the Jena-core source file (sources.jar) and updated my build file with the new classpath pointing at the 2.10 SNAPSHOT version of the binary file (modified Wed March 27, 2013). The zero duration issue is resolved and so far everything w

Fwd: Read a remote equivalentClass of ontology

2013-03-30 Thread Leandro Andrade
Hi, Sorry for possible duplicate message. I have a question, that I didn't find solution in web. When I run "getEquivalentClass()" and my equivalentClass is remote (EX: http://dbpedia.org/data3/Film.rdf) raise error: *Cannot convert node http://dbpedia.org/data3/Film.rdf to OntClass: it does no

Re:

2013-03-30 Thread aarthi
hi thanks.. it worked correctly. because i didn't add the jena files correctly.sorry for that. and i need to retrieve the class and properties names from an ontology. if i execute my previous code i just got the triple format. is there anyway to store the class and properties names in a separate f

Re: Legal lexical form for a "zero" XSDDuration ?

2013-03-30 Thread Andy Seaborne
If you use Ant you can: 1/ Use Ivy as the dependency manager and get the artifacts from the Apache snapshot repository. See also: http://ant.apache.org/easyant/ which I've not used but looks interesting a packaing of many ant-ism to be a complete system. 2/ Download a complete build This i

Re:

2013-03-30 Thread Andy Seaborne
Which version of Jena is this? Jena doesn't use Apache commons logging (it did a long time ago, I think). For some libraries we use, there is a Apache commons logging dependency, which is met via jcl-over-slf4j in the POMs. But that's nowhere near PropertyImpl, which has a reference to SLF4J

RE:

2013-03-30 Thread John A. Fereira
Specifically, you'll need to include the commons-logging jar file in your classpath. Typically that would mean specifying a directory which includes that jar file as well as the jar files for the jena library and any other dependency library. You'll probably also need to include one for log4j

Re:

2013-03-30 Thread Milorad Tosic
Looks like you need to include an additional library for org.apache.commons.logging.LogFactory class. Regards, Milorad > > From: aarthi >To: Milorad Tosic ; users >Sent: Saturday, March 30, 2013 1:56 PM >Subject: > >hi.. >  i'm doing my project with ontol

to retrieve class and property name from an ontology owl/rdf file using java

2013-03-30 Thread aarthi
hi.. i'm doing my project with ontology. i need to retrieve the class and properties names in order to compare them for equality. to retrieve the class an property names i'm using a java code. i have attached that code with this mail. but i got some error, I don't know how to resolve that. for t