Hello Lorenz and Simon, 

Thanks a lot for your hints. Now the code runs perfectly on current 
dependencies & JDK ��

Best Regards
Andreas


>>> Lorenz Buehmann <[email protected]> 24.09.2024 08:47 >>>
As mentioned in the docs, you can simply do

listStatements( S, P, O )

instead of

listStatements( new SimpleSelector( S, P, O ) )



On 23.09.24 18:52, Simon Bin wrote:
> It was deprecated here https://github.com/apache/jena/issues/1970 and
> removed here https://github.com/apache/jena/issues/2021 I guess the
> tutorials and websites still need to be freshend up. Basically you
> don't need it anymore.
>
> On Mon, 2024-09-23 at 16:58 +0200, Andreas Kahl wrote:
>> Hello everyone,
>>
>> after a long time, I came back to my old Jena code, using Jena 3.17.
>> and updated the dependency to Jena 5.1.0.
>> Now import org.apache.jena.rdf.model.SimpleSelector is gone...
>>
>> I can't find any trace of this class in versions newer than 4.4.0.
>> Nonetheless, the Tutorial still contains this class:
>> https://jena.apache.org/tutorials/rdf_api.html#ch-Querying-a-Model 
>>
>> Is there something wrong with my Maven Repo, or has Selector /
>> SimpleSelector moved to another package, Google can't find?
>>
>> Thanks & Best Regards
>> Andreas
>>
>>
>>
>>
-- 
Lorenz Bühmann
Research Associate/Scientific Developer

Email [email protected] 

Institute for Applied Informatics e.V. (InfAI) | Goerdelerring 9 | 04109 
Leipzig | Germany


Reply via email to