Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jena: hasProperty(Property) -> true but listProperties().hasNext -> false

766393Apr 19 2010 — edited Apr 20 2010
Hi,
I am currently facing a surprising behaviour of listProperties.
While going through a ResultSet of a SPARQL query, all the Resources found show the same results :
- hasProperty(Property p) returns true when supposed to
- listProperties always returns an empty iterator (hasNext()=false)

I have only had this issue with this ModelOracleSem, never with in-memory Jena models.

Is there another way to iterate through all the statements which have a specified resource as a subject ?

Thanks,
Julien
This post has been answered by 715399 on Apr 20 2010
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 18 2010
Added on Apr 19 2010
6 comments
1,659 views