Menu

#29 ResResource as parameter for ResModel::find does not work

open
nobody
Model (10)
5
2007-07-20
2007-07-20
Steven She
No

I used the RDF vocabulary class to pass a ResResource ( ie. RDF::REST() or RDF::NIL() ) to the find function in an OntModel, however, they were treated like NULLs. Using a ResProperty (ie. new ResProperty(RDF_NAMESPACE_URI.'rest') instead fixes this behaviour.

This was done using RAP 0.9.5.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.