summaryrefslogtreecommitdiffstats
path: root/src/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/query.c')
-rw-r--r--src/query.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/query.c b/src/query.c
index d190bf2..aebc87b 100644
--- a/src/query.c
+++ b/src/query.c
@@ -211,6 +211,7 @@ slv2_plugin_find_statements(SLV2Plugin plugin,
librdf_node* predicate,
librdf_node* object)
{
+ slv2_plugin_load_if_necessary(plugin);
librdf_statement* q = librdf_new_statement_from_nodes(
plugin->world->world, subject, predicate, object);
librdf_stream* results = librdf_model_find_statements(plugin->rdf, q);