From d5a4b60e8f72b76dd4d98b43f77bd9da26c0dc4a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 29 Jan 2011 20:53:08 +0000 Subject: Non-SPARQL version of slv2_plugin_get_value_by_qname. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2857 a436a847-0d15-0410-975c-d299462d15a1 --- src/query.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/query.c') 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); -- cgit v1.2.1