summaryrefslogtreecommitdiffstats
path: root/src/query.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-29 20:53:08 +0000
committerDavid Robillard <d@drobilla.net>2011-01-29 20:53:08 +0000
commitd5a4b60e8f72b76dd4d98b43f77bd9da26c0dc4a (patch)
treedaa0a28cd52fa10afa174f5bdd5b6b7c5bf59fd6 /src/query.c
parent1e7c6fab14ca1efd91145fea55dfbf9d272f0539 (diff)
downloadlilv-d5a4b60e8f72b76dd4d98b43f77bd9da26c0dc4a.tar.gz
lilv-d5a4b60e8f72b76dd4d98b43f77bd9da26c0dc4a.tar.bz2
lilv-d5a4b60e8f72b76dd4d98b43f77bd9da26c0dc4a.zip
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
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);