<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>> And after reinstalling a bunch of stuff it's working! :)<br></div></blockquote>
<div><br></div><div>Unfortunately for some reason the problem has come back - nepomuk searches aren't working again.</div><div><br></div><div>It's in this mode where even regular searches don't work if Nepomuk is enabled. If I disable Nepomuk through System Settings / Desktop Search, then regular searches start to work again.</div>
<div><br></div><div>I know you said Strigi indexing can prevent Nepomuk from working - at the moment the System Settings applet says the indexer is idle.</div><div><br></div><div>Queries through NepomukShell (which is nice btw) are working fine though.</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div>Try this[1]:<br>
<br>
nepomukcmd query "select ?r where { ?r nao:hasTag ?t . \<br>
?t nao:prefLabel "foobar"^^xsd:string . }"<br></blockquote><div><br></div><div>I hadn't defined the nepomuk alias so I did per the article <a href="http://techbase.kde.org/Development/Tutorials/Metadata/Nepomuk/TipsAndTricks#nepomukcmd">here.</a></div>
<div><br></div><div>At first I got confused and used the alias for 4.6 thinking I'm on 4.6 RC2 but it did not find the socket where expected (any chance that's related to my dolphin problem?). I got the error:</div>
<div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">"/usr/bin/sopranocmd(3302)" Soprano: "QLocalSocket::connectToServer: Invalid name"</font></div><div><font class="Apple-style-span" face="'courier new', monospace">Failed to contact Soprano server through socket at /tmp/ksocket-ifindbuys/nepomuk-socket</font></div>
</div><div><br></div><div><br></div><div>Then I switched to the other version of the nepomukcmd alias and your suggestion to try above did work after I changed the inner "foobar" quotes like so:</div><div><br></div>
<div><div><font class="Apple-style-span" face="'courier new', monospace">nepomukcmd query "select ?r where { ?r nao:hasTag ?t . ?t nao:prefLabel 'foobar'^^xsd:string . }"</font></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br></div><div>
> If I can export the data as rdf/xml for me that would be ideal. <br>
<br>
</div>nepomukcmd export ...<br></blockquote><div><br></div><div>Regarding (from sopranocmd --help):</div><div><div><br></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1"> --serialization <s> The serialization used for commands 'export' and 'import'. Defaults to 'application/x-nquads'.</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1"> (can also be used to change the output format of construct and describe queries.)</font></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1"> (be aware that Soprano can understand simple string identifiers such as 'trig' or 'n-triples'.</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1"> There is no need to know the exact mimetype.)</font></div></div><div><br></div><div>Would you know what value specifies the RDF/XML format?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
> My only other question at the moment is if dolphin's tagging features<br>
> are expected to let you use "tags" with values [...]<br>
<br>
</div>This is not tags. This is full fledged semantic desktop stuff. There is<br>
no GUI for that yet - sadly. But you can do it on the command line for<br>
testing. First you need a property, say price. If you would do it 100%<br>
you would choose an ontology, import that into Nepomuk and then use it.<br></blockquote><div><br></div><div>Apologize for being dense (still a little new to this stuff), but by ontology do you mean an actual OWL ontology xml file? And when you say "choose an ontology" do I understand that I should always try and find standard ones that already address what I'm needing (I've heard of the "GoodRelations" ecommerce ontology that would e.g. include "price"). But that in theory I can also create my own?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
But for now try this (I am in the process of providing a nice DBus API<br>
that wraps all this stuff):<br>
<br>
nepomukcmd add "<res-uri>" "<foobar:/test/price>" "75"<br></blockquote><div><br></div><div>Seemed to add without error, and it appeared I could query back the resources I assigned price to in Nepomuk shell. Maybe I'm being dense though in that I have not defined the "foobar" prefix anywhere(?) </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Actually what would be even better is to use nepomukshell since it also<br>
creates all the necessary metadata for the property.<br></blockquote><div><br></div><div>There I did "create property" - which I guess is defining a "type of" property in the Ontology? But I was confused about how to add an actual instance of that property when editing an actual resource...</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
> Thanks again - I'm starting get encouraged,<br><br></div></blockquote><div>Encouraged yesterday, discouraged today. :) That dolphin's stopped working I mean. Yet other things seem to be working so that's encouraging.</div>
<div><br></div><div>If there's anything I can post here to diagnose the dolphin problem I'd really appreciate it though I know I've posted a lot here I'm sure you're busy...</div><div><br></div><div>Grepping for nepomuk shows these processes:</div>
<div><font class="Apple-style-span" face="'courier new', monospace">$ ps -ef | grep nepomuk</font></div><div><font class="Apple-style-span" face="'courier new', monospace">1001 2897 1 0 02:37 ? 00:00:00 /usr/bin/nepomukserver</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1001 3233 2897 2 03:06 ? 00:02:01 /usr/bin/nepomukservicestub nepomukstorage</font></div><div><font class="Apple-style-span" face="'courier new', monospace">1001 3243 2897 0 03:06 ? 00:00:00 /usr/bin/nepomukservicestub nepomukbackupsync</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1001 3244 2897 0 03:06 ? 00:00:03 /usr/bin/nepomukservicestub nepomukfilewatch</font></div><div><font class="Apple-style-span" face="'courier new', monospace">1001 3246 2897 0 03:06 ? 00:00:00 /usr/bin/nepomukservicestub nepomukqueryservice</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1001 3247 2897 0 03:06 ? 00:00:33 /usr/bin/nepomukservicestub nepomukstrigiservice</font></div><div><font class="Apple-style-span" face="'courier new', monospace">1001 3248 2897 0 03:06 ? 00:00:05 /usr/bin/nepomukservicestub nepomukremovablestorageservice</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><meta charset="utf-8"><span class="Apple-style-span" style="font-family: arial; ">When I run dolphin from a shell I see these stdout/stderr messages come out:</span></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><div style="font-family: 'courier new', monospace; ">$ QPixmap::scaled: Pixmap is a null pixmap</div><div style="font-family: 'courier new', monospace; ">
Bus::open: Can not get ibus-daemon's address. </div><div style="font-family: 'courier new', monospace; ">IBusInputContext::createInputContext: no connection to ibus-daemon </div><div style="font-family: 'courier new', monospace; ">
klauncher(1807)/kio (KLauncher): SlavePool: No communication with slave. </div><div style="font-family: 'courier new', monospace; "><meta charset="utf-8">klauncher(1807)/kio (KLauncher): SlavePool: No communication with slave.</div>
<div style="font-family: 'courier new', monospace; "><meta charset="utf-8">klauncher(1807)/kio (KLauncher): SlavePool: No communication with slave.</div><div style="font-family: 'courier new', monospace; ">
<meta charset="utf-8">klauncher(1807)/kio (KLauncher): SlavePool: No communication with slave.</div><div style="font-family: 'courier new', monospace; "><br></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">Could it be something about the "KIO Slave" (which I know almost nothing about other than it's name :).</font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><a href="http://techbase.kde.org/Development/Tutorials/Metadata/Nepomuk/TipsAndTricks#Using_Konqueror">This link</a> mentions a KIO slave in the playground - I have not installed that? That's not my problem is it?</font><br>
</div></div><div><br></div></div>