6 Replies Latest reply on Apr 20, 2010 3:05 PM by 715399

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

      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 ?