The query service explicitly uses the ResourceManager::mainModel() to run a sparql query and then extracts the results from the Soprano::QueryResultIterator into Nepomuk2::Query::Result. This entire process can be replaced by the Query::ResultIterator. Relevant Code: nepomuk-core/services/query/searchrunnable.cpp Relevant Functions: SearchRunnable::run() and SearchRunnable::extractResult()
I did this, but I failed to add the right metadata to the commit, which was: 6d245db57a02d0a59a71224f0f404796d7fc82c2 Apologies. Can someone please close?