Share Pastebin
Guest
Public paste!

pvh

By: a guest | Mar 16th, 2010 | Syntax: Diff | Size: 1.36 KB | Hits: 38 | Expires: Never
Copy text to clipboard
  1. pvanhoof@lors:~$ tracker-sparql -u -q "insert { <zuh> a nie:InformationElement ; nie:title 'test zuh' }"
  2.  
  3. pvanhoof@lors:~$ tracker-sparql -u -q "insert { <zuh1> a nie:InformationElement ; nie:title 'test zuh' }"
  4.  
  5. pvanhoof@lors:~$ tracker-sparql -u -q "insert { <zuh2> a nie:InformationElement ; nie:title 'test zuh' }"
  6.  
  7. pvanhoof@lors:~$ tracker-sparql -u -q "delete { <zuh1> a nie:InformationElement ; nie:title 'test zuh' }"
  8. pvanhoof@lors:~$ tracker-sparql -q "select ?t { ?unknown nie:title ?t }"
  9. Results: 22
  10.   Inbox
  11.   Outbox
  12.   Draft
  13.   Sent
  14.   MyFolder
  15.   accommodation
  16.   Business
  17.   Communication
  18.   Educational institute
  19.   Entertainment
  20.   Food & Beverage
  21.   Geographical area
  22.   Outdoor activities
  23.   People
  24.   Public service
  25.   Religious places
  26.   Shopping
  27.   Sightseeing
  28.   Sports
  29.   Transport
  30.   test zuh
  31.   test zuh
  32. pvanhoof@lors:~$
  33.  
  34. CTRL+C of tracker-store
  35. rm meta.db
  36. tracker-store
  37. (all the warning messages happen that we saw yesterday)
  38.  
  39. pvanhoof@lors:~$ tracker-sparql -q "select ?t { ?unknown nie:title ?t }"
  40. Results: 22
  41.   Inbox
  42.   Outbox
  43.   Draft
  44.   Sent
  45.   MyFolder
  46.   accommodation
  47.   Business
  48.   Communication
  49.   Educational institute
  50.   Entertainment
  51.   Food & Beverage
  52.   Geographical area
  53.   Outdoor activities
  54.   People
  55.   Public service
  56.   Religious places
  57.   Shopping
  58.   Sightseeing
  59.   Sports
  60.   Transport
  61.   test zuh
  62.   test zuh
  63. pvanhoof@lors:~$