Commit 8b613520 authored by Martyn Russell's avatar Martyn Russell

examples: Update async query example

parent 7c41d0bb
......@@ -17,7 +17,7 @@ if __name__ == "__main__":
# The connection can be requested asynchronously
conn = Tracker.SparqlConnection.get (None)
conn.query_async ("SELECT ?u WHERE { ?u a nie:InformationElement. }",
conn.query_async ("SELECT nie:url(?u) WHERE { ?u a nfo:FileDataObject }",
None,
results_ready_cb,
loop)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment