Nepomuk/es: Difference between revisions

From KDE UserBase Wiki
(Created page with 'El objetivo de esta página no es explicar de forma exhaustiva la tecnología de Nepomuk y cada detalle, sino dar una visión general, algunos ejemplos, compartir lo que hay detr...')
(Updating to match new version of source page)
 
(65 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages />  
<languages />  


{{Historic}}
<span id="Semantic_Search"></span>
<div class="mw-translate-fuzzy">
=Nepomuk=
=Nepomuk=
</div>


<div class="mw-translate-fuzzy">
El objetivo de esta página no es explicar de forma exhaustiva la tecnología de Nepomuk y cada detalle, sino dar una visión general, algunos ejemplos, compartir lo que hay detrás de él y enlazar a información relevante en la web.
El objetivo de esta página no es explicar de forma exhaustiva la tecnología de Nepomuk y cada detalle, sino dar una visión general, algunos ejemplos, compartir lo que hay detrás de él y enlazar a información relevante en la web.
</div>
== Baloo is the next generation of semantic search ==
From KDE Applications 4.13 onwards, the '[https://community.kde.org/Baloo Baloo]' file indexing and file search framework replaces Nepomuk. Read [http://dot.kde.org/2014/02/24/kdes-next-generation-semantic-search details on the changes for Applications 4.13 here]. Semantic Search no longer uses a single, big database, but separate, specialized databases for each type of data. The new search databases are in <tt>$HOME/.local/share/baloo</tt>. If you upgraded to KDE Applications 4.13 from an earlier KDE release, you can delete <tt>$KDEHOME/share/apps/nepomuk</tt>.
<span id="Short_explanation"></span>
==Breve explicación==
<div class="mw-translate-fuzzy">
Como menciona el [[Special:myLanguage/Glossary#Nepomuk|Glosario]], Nepomuk trata la clasificación, organización y presentación de datos. No es una aplicación sino un componente que puede ser utilizado por los desarrolladores dentro de sus aplicaciones
</div>
<div class="mw-translate-fuzzy">
=== Pruébalo ===
Por ejemplo, [[Special:myLanguage/Dolphin|Dolphin]] hace uso de Nepomuk. Para lo siguiente Nepomuk y Strigi deben estar activados en <menuchoice>System settings -> Búsqueda de Escritorio</menuchoice>. La barra lateral de información de Dolphin te permite asignar etiquetas, valoraciones y comentarios a los archivos. Esta información es almacenada en Nepomuk e indexada por Strigi. Puedes buscar por metadatos utilizando la barra de navegación de Dolphin. Escribe "nepomuksearch:/" seguido de los términos de búsqueda.
</div>
<!-- info about nepomuksearch:/ deleted per its developer: "Actually nepomuksearch:/ is an internal thing and should not be entered by the user." its developer -->
<span id="Functionalities"></span>
==Funcionalidades==
<div class="mw-translate-fuzzy">
Nepomuk ofrece varias 'capas' de funcionalidad para las aplicaciones. La primera y más simple de ellas es el etiquetado manual, valoraciones y comentarios, como se usan en Dolphin. Esto te ayudará a encontrar tus archivos más rápido, pero también supone mucho trabajo.
</div>
<div class="mw-translate-fuzzy">
Para facilitar la búsqueda de archivos que contengan cierto texto, Nepomuk ofrece una segunda funcionalidad: indexación del texto de los archivos. Utiliza una tecnología llamada [[Special:myLanguage/Glossary#Strigi|Strigi]] para ésto. Puedes buscar archivos introduciendo algunas palabras que sepas que están ahí o,  simplemente, parte de su título.
</div>
<div class="mw-translate-fuzzy">
La tercera capa es muy compleja, y es la razón de que Nepomuk fuera concebido como un proyecto de investigación de varias compañías y universidades de la Unión Europea. Aquí encontrarás palabras difíciles como 'escritorio semántico' y 'ontologías'. Básicamente, se trata de contextos y relaciones.
</div>
=== Indexing files ===
Search does not index every file on the hard drive. Its default configuration in most Linux distributions excludes some common patterns for backup files and configuration directories. You can change this in <menuchoice>System Settings -> Desktop Search</menuchoice>. Add folders to be excluded. If you want to turn off indexing of files entirely, just add your home folder there.
In '''System Settings''' you can also control whether Search indexes files on removable media such as USB drives and CD-ROMs. In KDE Applications 4.13 this is not available, removable media are not indexed. Future versions are planned to reintroduce this functionality.
<span id="Examples"></span>
==Ejemplos==
<div class="mw-translate-fuzzy">
Déjame que te explique lo que ofrece Nepomuk con dos ejemplos.
</div>
<span id="Relationship"></span>
===Relaciones===
Digamos que has recibido una foto de un amigo tuyo, hace dos semanas, y la guardaste en algún lugar en tu ordenador. ¿Cómo encuentras ese archivo ahora? A menos que sepas la ubicación, no tiene buena pinta.
<div class="mw-translate-fuzzy">
Nepomuk tiene como objetivo ayudarte. Tú sabes que este archivo vino de ese amigo tuyo, pero tu equipo no. Nepomuk, sin embargo, puede recordar esta relación, ¡de forma que al buscar el nombre de tu amigo aparezca la foto!
</div>
<div class="mw-translate-fuzzy">
Otra posible relación es entre una página web de la que has copiado texto y el documento en el que lo has pegado, o dos imágenes mostrando el mismo coche. Estas relaciones a veces pueden ser extraídas de los propios archivos (puedes analizar fotografías y ver quien o qué aparece en ella) o proporcionadas por las aplicaciones involucradas (como en el ejemplo sobre correo electrónico anterior). Esta parte de Nepomuk está todavía bajo un fuerte desarrollo, y necesita integración con las aplicaciones, por lo que puede tardar unos cuantos años hasta que de verdad brille.
</div>
<div class="mw-translate-fuzzy">
En conjunto, esta parte de Nepomuk trata de hacer búsquedas inteligentes. Piensa acerca de cómo Google intenta ser inteligente con tus búsquedas: cuando buscas por un hotel y el nombre de una ciudad, muestra sobre los resultados un mapa que muestra hoteles en la ciudad mencionada. Incluso puede sugerirte un mejor nombre en caso de que hayas cometido un error ortográfico. Google también trata de poner la información mas relevante al principio de la lista de resultados, utilizando complejos cálculos sobre relaciones (enlaces) entre páginas web. Nepomuk será capaz de ofrecer este tipo de resultados inteligentes y ordenarlos según relevancia utilizando la información sobre relaciones.
</div>
<span id="Context"></span>
===Contexto===
<div class="mw-translate-fuzzy">
Estas relaciones no solo pueden ayudarte a buscar archivos, sino que también tienen influencia en las aplicaciones y en la información que presentan. ¡Ten en cuenta que esta forma de usar Nepomuk es más una visión que una realidad! Muchos de los componentes están en su sitio, pero no han sido integrados en las aplicaciones ni en el escritorio en su conjunto.
</div>
Aquí tienes un ejemplo de como llevar la información contextual a tu escritorio puede ayudarte a trabajar de forma más eficiente.
Digamos que estás trabajando en terminar algunas notas que has tomado después de una reunión. Suena el teléfono y alguien te pide que si puedes buscar la hoja de cálculo con precios y adaptarla a un cliente. Después de algunas interrupciones más descubres que tu escritorio está lleno de archivos y ventanas...
Sería bueno poder organizar todo un poco mejor ¿verdad?
<div class="mw-translate-fuzzy">
Aparecen las '[[Special:myLanguage/Glossary#Actividades|actividades]]'. Estas han sido introducidas en [[Special:myLanguage/Plasma|Plasma]], y actualmente ofrecen distintos 'escritorios'. Son similares a los escritorios virtuales, pero donde lo que cambia es el escritorio en si, no las aplicaciones. Diferentes elementos gráficos, fondo de pantalla y cosas así. Por supuesto, desde KDE 4.3, cada escritorio virtual puede tener su propia actividad, con los dos en sincronía.
</div>
Si las aplicaciones y el escritorio estuvieran al tanto de las actividades, podrías crear una actividad para cada una de las tareas en las que trabajes regularmente. Por tanto, si normalmente cambias a una hoja de cálculo con precios, puedes crear una actividad para eso: pon un elemento de Vista de Carpeta (o varios) en el escritorio, añade una calculadora y un elemento de tareas pendientes para seguir la pista de lo que aún debes cambiar. ¡Quizás incluso un elemento de carpetas de correo electrónico mostrando los correos con preguntas relacionadas con esa hoja de cálculo!
Tan pronto como alguien haga una pregunta sobre precios, cambias a estas actividad, y ya puedes trabajar con tu aplicación de hojas de cálculo. ¡Es consciente de tu actividad por lo que te muestra hojas de cálculo de precios recientes, no la reciente lista del inventario en la que estás trabajando en otra actividad! [[Special:myLanguage/Kopete|Kopete]], la aplicación de chat, muestra a tus colegas que lo saben todo sobre los precios, puesto que son las personas con las que siempre hablas cuando trabajas en esta actividad.
Cuando acabes, vuelves a la otra actividad y una vez más todas las aplicaciones ajustarán su comportamiento a lo que estés haciendo.
Los beneficios de esta forma de trabajo basada en actividades van más allá de lo que puedas esperar en un principio. No solo te ayuda a encontrar tus archivos y contactos, también a conmutar tareas por sí mismo. El cerebro humano no es muy bueno con multitareas - a la mayoría de la gente le lleva unos minutos coger velocidad después de cambiar de tarea. El cambio de 'entorno' agiliza esto, incluso si está solo en la pantalla. ¡Compáralo con alegrarte de hacer las maletas para tus vacaciones!
Por supuesto, lo anterior es sobre todo relevante para la gente que trabaja con su ordenador en una oficina o en casa. Un jugador o un usuario casual probablemente no utilizarán estas actividades.
<div class="mw-translate-fuzzy">
Ten en cuenta que el escenario descrito arriba está todavía a años luz de la realidad. Gran parte de la infraestructura para esto en KDE está en su sitio pero todavía hay mucho que hacer.
</div>
==Frequently Asked Questions==
The following is taken from a [http://forum.kde.org/viewtopic.php?f=154&t=97098&p=204592 KDE forums] post. Please feel free to add/remove/modify details if you have the time!
;What is the Nepomuk Semantic Desktop, and the Strigi Desktop File Indexer?
: Nepomuk and Strigi are technologies part of what delivers the abilities of the Semantic Search in KDE. Both are not used directly in the latest generation of KDE's Semantic Search ([http://dot.kde.org/2014/02/24/kdes-next-generation-semantic-search details]), however their successors share much of their code and concepts. Semantic Search provides a way to organize, annotate and build relationships among the data (not only file name and content, but for example which applications used a certain file, or how it is tagged). A number of KDE applications and workspaces use this basic infrastructure to deliver features such as email tagging ([[Special:myLanguage/KMail|KMail]]) or activity setup (Plasma).
:The file indexing allows applications such as [[Special:myLanguage/Dolphin|Dolphin]] to search for files based on content, name, or other meta-data (e.g. tags) associated to indexed files. Such an indexer can also index non-text files, such as PDFs, by accessing the meta-data contained in these files (author, publication information, etc.). Some KDE components ship additional "analyzers" for more file types.


==Short explanation==
; Why do we need both Akonadi and Semantic Search?  Aren't they doing the same thing?


As the [[Glossary#Nepomuk|Glossary]] mentions, Nepomuk is about classification, organisation and presentation of data. It is not an application, but a component which can be used by developers within applications.
: In short, Akonadi provides a cache of PIM data like calendar items, contacts and email, which is used by applications like KMail and Korganizer but also the calendar build in Plasma. Semantic Search plugs in Akonadi to provide search functionality. How Baloo offers search is actually up to the application. In case of KDE PIM, Xapian is used to provide indexing and search.


=== Try out ===
;How can I disable the semantic desktop?
For example, [[Dolphin|Dolphin]] makes use of Nepomuk. For the following to hold Nepomuk and Strigi must be enabled from System settings -> Desktop search. The information sidebar of Dolphin allows you to assign tags, ratings and comments to files. This information is then stored in Nepomuk and indexed by Strigi. You can then search for metadata using the navigation bar in Dolphin. Write "nepomuksearch:/" followed by search terms.


==Functionalities==
: File indexing can be disabled by adding the users' home folder to the <menuchoice>System Settings -> Desktop Search -> Do not search in these locations list</menuchoice>. The other functionality is part of the applications that use it and thus can't be disabled without crippling these applications. For example, to not have any search in KMail you'll have to simply remove KMail...


Nepomuk offers several 'layers' of functionality to applications. The first and most simple of those is manual tagging, rating and commenting, as used in Dolphin. This helps you to find your files faster, but is also a lot of work.
In versions of the KDE Applications before 4.13, Semantic Search would have components running separate from applications. This functionality could be disabled by unchecking <menuchoice>Enable Nepomuk File Indexer</menuchoice> in the [[Special:myLanguage/System_Settings/Search_Desktop|Desktop Search]] section of [[Special:myLanguage/System Settings|System Settings]]. In case you want to turn off all semantic features, uncheck <menuchoice>Enable Nepomuk Semantic Desktop</menuchoice>. Notice that this will turn off search in [[Special:myLanguage/Dolphin|Dolphin]] as well.


To make finding files containing text easier, Nepomuk offers a second functionality: indexing the text of files. It uses a technology called [[Glossary#Strigi|Strigi]] for this. You can now also find files by entering some words which you know are in there, or just (part of) their title.
:Notice that with the latter option some programs who use Semantic Search for meta-data will offer reduced functionality: for example [[Special:myLanguage/KMail|KMail]] will not be able to tag mail, or Plasma activities will not offer additional features such as icons, or program data information.  


The third layer is a very complex one, and the reason why Nepomuk was conceived as a research project of several companies and universities in the European union. This is where you will find difficult words like 'semantic desktop' and 'ontologies'. Basically, it is about context and relationships.
;Baloo/Semantic Search is eating 100% CPU! What do I do?


==Examples==
:Just wait. Certain files are very hard or even impossible to Index. At the moment, this includes for example text files of over 50 megabyte. When Search finds these, it will try for a fixed time. When it fails, it will try to find out what file is broken and disable indexing it in the future. As it indexes files in batches of about 40, it has to find the problematic file by indexing that bunch in parts: first half/second half, index problematic half in pieces again, until the file is found. This can take up to 30 minutes of heavy cpu usage. Unfortunately, while Baloo will not start to index a new batch of 40 files while on battery power, it continues to determine the broken file while on battery. This behaviour has been fixed in in KDE Applications 4.13.1 (it will stop indexing immediately when the power cord is unplugged) and the time the search for each file can take has been reduced to about 10 minutes. The Semantic Search team is working on improving the indexing tools to handle more difficult files.


Let me try to explain what Nepomuk offers using two examples.
;Why do I have nepomukservicestub processes even though I've disabled Nepomuk?


===Relationship===
:It may be a bug. Please file a [http://bugs.kde.org bug report] with a complete description of your problem and the steps to trigger it.


Say you received a photo from a friend of yours, 2 weeks ago. You saved it somewhere on your computer. Now how to you find that file? If you don't remember the location, you're out of luck.
;File indexing of PDF/some other file types doesn't work.


Now Nepomuk aims to help you. You know this file came from that friend of yours, your computer does not. Nepomuk, however, can remember this relationship. Searching on the name of your friend will therefor pop up the photo!
:PDF indexing is a known issue and it's being tracked in {{bug|231936}}. If you have issues with other files, open a bug, preferably adding a sample file that shows the problem.


Another potential relationship is between a web page you copied text from and the document you pasted it into, or two images showing the same car. Such relations can sometimes be extracted from the files themselves (you could analyze photos and see who or what is on there) or supplied by the applications involved (as in the above email example). This part of Nepomuk is still under heavy development, and needs integration in applications, so you can expect it to take a few more years to really shine.
;The program nepomukservicestub crashes at startup.


All in all, this part of Nepomuk is about making search smart. Think about how Google tries to be smart with your searches: when you search for a hotel and a city name, it shows above the website results a google map showing hotels in the city you mentioned! It might even suggest a better name in case you made a spelling mistake. Google also tries to put the most relevant information on top of the list of results, using complex calculations on relationships (links) between websites. Nepomuk will be able to offer such smart results and order them on relevancy using relationship information.
:A large number of fixes for crashes has been fixed for the 4.7.2 release of the KDE Workspaces and Applications. If you encounter more, please file bugs report with detailed instructions on how to reproduce the problem, as sometimes the developers are unable to trigger them in their test setups.


===Context===
;The virtuoso-t process hangs at 100% CPU.


These relationships can not only help you while searching for files, but also have an influence on applications and what information they present. Note that this way of using Nepomuk is still more a vision than reality! Many of the components are in place, but it is not yet integrated in applications and the desktop as a whole.
:Virtuoso-t is a key component of the old Semantic Search infrastructure and in some occasions the commands sent by the other components end up taking too much time (hence showing the effect of 100% CPU).


So here an example of bringing context awareness to your desktop could help you work more efficiently.
Virtuoso is no longer used by Semantic Search starting the Applications 4.13 release.


Say you are working on finishing some notes you took in a meeting. The phone rings, and somebody asks you to find that spreadsheet with prices, adjust it for a customer. After a few more interruptions you find your desktop full of files and windows...
;Sometimes Nepomuk consumes too much RAM.


It'd be nice to be able to organize all that a bit better, right?
:Many of these problems have been fixed, in other cases however the developers are unable to reproduce the issues correctly. In this case, providing examples and test cases to [http://bugs.kde.org/ bug reports] increase the chances to get these bugs fixed.


Enter '[[Glossary#Activities|activities]]'. These have been introduced in [[Plasma|Plasma]], and currently offer different 'desktops'. They are a bit like virtual desktops, except that the desktop itself changes, not the set of applications. Different widgets, background, things like that. Of course, since KDE 4.3, each virtual desktop can have it's own activity, bringing the two in sync.
;Search accesses the disk too much on startup.:


If applications and desktop were aware of activities, you could create an activity for each of the tasks you regularly work on. So if you often have to change a spreadsheet with prices, you create an activity for that: put a Folder View (or several) widget on the desktop, add a calculator and a todo-widget to keep track of what you still have to change. Maybe even an email folder widget showing the mails with questions regarding these prices spreadsheets!
:A throttling mechanism implemented in the file indexer, versions after KDE SC 4.8 should no longer have this issue.


As soon as somebody asks a question about prices, you switch to this activity. Fire up your spreadsheet application. It is aware of your activity so it shows recent price spreadsheets, not the recent list of inventory you were working on in another activity! [[Kopete|Kopete]], the chat application shows your colleague who knows all about prices, as she is the person you always chat with when working on this activity.
;My Search database has been corrupted. How do I clean it?


When you are finished, you go back to another activity, and once again all applications adjust their behavior to fit what you are doing.
:In the extreme case your database is really corrupted and all other attempts have failed, you can delete the <tt>$KDEHOME/share/apps/nepomuk</tt> directory (where <tt>$KDEHOME</tt> is usually <tt>.kde</tt> or <tt>.kde4</tt> in your home directory) while Nepomuk is not running. The database will be cleared, but you will also lose existing information such as tags, ratings and comments.


The benefits of such an activity-based work flow go further than you might at first expect. It not only helps you find files and contact persons, but also helps in switching tasks itself. The human brain isn't very good at multi-tasking - it takes most people several minutes to get up to speed after switching tasks. Changing the 'environment' helps a lot in speeding this up, even if it's just on the screen. Compare it with getting in the mood for your holiday by packing your bag!
== Advanced troubleshooting ==


Of course, the above is mostly relevant to people working behind their computer in the office or at home. A gamer or a casual user would probably not use these activities much.
<span id="Sharing_and_privacy"></span>
==Compartir y privacidad==


Note that the scenario described above is still years away from reality. Much of the basic infrastructure for this in KDE is in place but much is still left.
Solo quiero añadir una cosa más antes de indicar otras fuentes de información: intercambio de los datos de Nepomuk. Sería genial si tus etiquetas, puntuaciones y comentarios pudieran ser compartidos con otros cuando les envías los archivos. Sin embargo, si has etiquetado a un contacto con alguna etiqueta embarazosa ('aburrido en la cama') y le envías esa información de contacto personal a un amigo en común es probable que no quieras enviarle también esa etiqueta...


==Sharing and privacy==
Este problema está siendo considerado y es un tema importante de investigación por parte de los investigadores de Nepomuk. Por el momento, estas preocupaciones sobre la privacidad, combinadas con retos técnicos, son la razón de que la información de Nepomuk sea privada. Ten la seguridad de que el equipo de Nepomuk hace todo lo posible para respetar tu privacidad.


There is one thing I need to touch on before pointing to other sources of information: sharing Nepomuk data. It'd be great if your tags, ratings and comments would be shared with others when you send them files. However, if you tagged a contact with a slightly embarrassing tag ('boring in bed') and send that persons contact information to a mutual friend you probably don't want that tag to be send as well...
<span id="External_links"></span>
<div class="mw-translate-fuzzy">
:''Más información'':
::[http://en.wikipedia.org/wiki/Semantic_desktop Wikipedia (Inglés) - Semantic Desktop]
::[http://es.wikipedia.org/wiki/NEPOMUK  Wikipedia - NEPOMUK]
::[http://nepomuk.semanticdesktop.org/xwiki/bin/view/Main1/ Página web de NEPOMUK]
::[http://nepomuk.kde.org/discover/user Sitio en KDE de NEPOMUK]
::[http://dot.kde.org/2009/12/10/exploring-new-nepomuk-features-mandriva-linux-2010 Artículo que explica Nepomuk en el DOT]
</div>


This issue is of course being considered and an important subject of research by the Nepomuk researchers. For the time being, these privacy concerns, combined with technical challenges, are the reason Nepomuk context is private. Rest assured the Nepomuk team does all it can to make sure your privacy is respected.
The new Search technology (post KDE Applications 4.13):
* [http://dot.kde.org/2014/02/24/kdes-next-generation-semantic-search user information article on the dot]
* [http://community.kde.org/Baloo Developer information on community.kde.org]
* [http://en.wikipedia.org/wiki/Semantic_desktop Wikipedia - Semantic Desktop]


:''More info'':
The old Search technology:
::[http://en.wikipedia.org/wiki/Semantic_desktop Wikipedia - Semantic Desktop]  
* [http://techbase.kde.org/Projects/Nepomuk Nepomuk pages for developers on KDE TechBase]
::[http://en.wikipedia.org/wiki/NEPOMUK_(framework)  Wikipedia - NEPOMUK Framework]  
* [http://nepomuk.kde.org/discover/user NEPOMUK KDE site]
::[http://nepomuk.semanticdesktop.org/xwiki/bin/view/Main1/ NEPOMUK website]
* [http://en.wikipedia.org/wiki/NEPOMUK_(framework)  Wikipedia - NEPOMUK Framework]  
::[http://nepomuk.kde.org/discover/user NEPOMUK KDE site]
* [http://nepomuk.semanticdesktop.org/nepomuk/ NEPOMUK website]
::[http://dot.kde.org/2009/12/10/exploring-new-nepomuk-features-mandriva-linux-2010 article explaining Nepomuk on the DOT]
* [http://dot.kde.org/2009/12/10/exploring-new-nepomuk-features-mandriva-linux-2010 article explaining Nepomuk on the DOT]
* [http://kdenepomukmanual.wordpress.com Getting started user manual]


[[Category:System]]
[[Category:Sistema/es]]

Latest revision as of 04:06, 19 May 2024

Historic page

This page is of historic interest only. The content of the page is obsolete.


Nepomuk

El objetivo de esta página no es explicar de forma exhaustiva la tecnología de Nepomuk y cada detalle, sino dar una visión general, algunos ejemplos, compartir lo que hay detrás de él y enlazar a información relevante en la web.

Baloo is the next generation of semantic search

From KDE Applications 4.13 onwards, the 'Baloo' file indexing and file search framework replaces Nepomuk. Read details on the changes for Applications 4.13 here. Semantic Search no longer uses a single, big database, but separate, specialized databases for each type of data. The new search databases are in $HOME/.local/share/baloo. If you upgraded to KDE Applications 4.13 from an earlier KDE release, you can delete $KDEHOME/share/apps/nepomuk.

Breve explicación

Como menciona el Glosario, Nepomuk trata la clasificación, organización y presentación de datos. No es una aplicación sino un componente que puede ser utilizado por los desarrolladores dentro de sus aplicaciones

Pruébalo

Por ejemplo, Dolphin hace uso de Nepomuk. Para lo siguiente Nepomuk y Strigi deben estar activados en System settings -> Búsqueda de Escritorio. La barra lateral de información de Dolphin te permite asignar etiquetas, valoraciones y comentarios a los archivos. Esta información es almacenada en Nepomuk e indexada por Strigi. Puedes buscar por metadatos utilizando la barra de navegación de Dolphin. Escribe "nepomuksearch:/" seguido de los términos de búsqueda.


Funcionalidades

Nepomuk ofrece varias 'capas' de funcionalidad para las aplicaciones. La primera y más simple de ellas es el etiquetado manual, valoraciones y comentarios, como se usan en Dolphin. Esto te ayudará a encontrar tus archivos más rápido, pero también supone mucho trabajo.

Para facilitar la búsqueda de archivos que contengan cierto texto, Nepomuk ofrece una segunda funcionalidad: indexación del texto de los archivos. Utiliza una tecnología llamada Strigi para ésto. Puedes buscar archivos introduciendo algunas palabras que sepas que están ahí o, simplemente, parte de su título.

La tercera capa es muy compleja, y es la razón de que Nepomuk fuera concebido como un proyecto de investigación de varias compañías y universidades de la Unión Europea. Aquí encontrarás palabras difíciles como 'escritorio semántico' y 'ontologías'. Básicamente, se trata de contextos y relaciones.

Indexing files

Search does not index every file on the hard drive. Its default configuration in most Linux distributions excludes some common patterns for backup files and configuration directories. You can change this in System Settings -> Desktop Search. Add folders to be excluded. If you want to turn off indexing of files entirely, just add your home folder there.

In System Settings you can also control whether Search indexes files on removable media such as USB drives and CD-ROMs. In KDE Applications 4.13 this is not available, removable media are not indexed. Future versions are planned to reintroduce this functionality.

Ejemplos

Déjame que te explique lo que ofrece Nepomuk con dos ejemplos.

Relaciones

Digamos que has recibido una foto de un amigo tuyo, hace dos semanas, y la guardaste en algún lugar en tu ordenador. ¿Cómo encuentras ese archivo ahora? A menos que sepas la ubicación, no tiene buena pinta.

Nepomuk tiene como objetivo ayudarte. Tú sabes que este archivo vino de ese amigo tuyo, pero tu equipo no. Nepomuk, sin embargo, puede recordar esta relación, ¡de forma que al buscar el nombre de tu amigo aparezca la foto!

Otra posible relación es entre una página web de la que has copiado texto y el documento en el que lo has pegado, o dos imágenes mostrando el mismo coche. Estas relaciones a veces pueden ser extraídas de los propios archivos (puedes analizar fotografías y ver quien o qué aparece en ella) o proporcionadas por las aplicaciones involucradas (como en el ejemplo sobre correo electrónico anterior). Esta parte de Nepomuk está todavía bajo un fuerte desarrollo, y necesita integración con las aplicaciones, por lo que puede tardar unos cuantos años hasta que de verdad brille.

En conjunto, esta parte de Nepomuk trata de hacer búsquedas inteligentes. Piensa acerca de cómo Google intenta ser inteligente con tus búsquedas: cuando buscas por un hotel y el nombre de una ciudad, muestra sobre los resultados un mapa que muestra hoteles en la ciudad mencionada. Incluso puede sugerirte un mejor nombre en caso de que hayas cometido un error ortográfico. Google también trata de poner la información mas relevante al principio de la lista de resultados, utilizando complejos cálculos sobre relaciones (enlaces) entre páginas web. Nepomuk será capaz de ofrecer este tipo de resultados inteligentes y ordenarlos según relevancia utilizando la información sobre relaciones.

Contexto

Estas relaciones no solo pueden ayudarte a buscar archivos, sino que también tienen influencia en las aplicaciones y en la información que presentan. ¡Ten en cuenta que esta forma de usar Nepomuk es más una visión que una realidad! Muchos de los componentes están en su sitio, pero no han sido integrados en las aplicaciones ni en el escritorio en su conjunto.

Aquí tienes un ejemplo de como llevar la información contextual a tu escritorio puede ayudarte a trabajar de forma más eficiente.

Digamos que estás trabajando en terminar algunas notas que has tomado después de una reunión. Suena el teléfono y alguien te pide que si puedes buscar la hoja de cálculo con precios y adaptarla a un cliente. Después de algunas interrupciones más descubres que tu escritorio está lleno de archivos y ventanas...

Sería bueno poder organizar todo un poco mejor ¿verdad?

Aparecen las 'actividades'. Estas han sido introducidas en Plasma, y actualmente ofrecen distintos 'escritorios'. Son similares a los escritorios virtuales, pero donde lo que cambia es el escritorio en si, no las aplicaciones. Diferentes elementos gráficos, fondo de pantalla y cosas así. Por supuesto, desde KDE 4.3, cada escritorio virtual puede tener su propia actividad, con los dos en sincronía.

Si las aplicaciones y el escritorio estuvieran al tanto de las actividades, podrías crear una actividad para cada una de las tareas en las que trabajes regularmente. Por tanto, si normalmente cambias a una hoja de cálculo con precios, puedes crear una actividad para eso: pon un elemento de Vista de Carpeta (o varios) en el escritorio, añade una calculadora y un elemento de tareas pendientes para seguir la pista de lo que aún debes cambiar. ¡Quizás incluso un elemento de carpetas de correo electrónico mostrando los correos con preguntas relacionadas con esa hoja de cálculo!

Tan pronto como alguien haga una pregunta sobre precios, cambias a estas actividad, y ya puedes trabajar con tu aplicación de hojas de cálculo. ¡Es consciente de tu actividad por lo que te muestra hojas de cálculo de precios recientes, no la reciente lista del inventario en la que estás trabajando en otra actividad! Kopete, la aplicación de chat, muestra a tus colegas que lo saben todo sobre los precios, puesto que son las personas con las que siempre hablas cuando trabajas en esta actividad.

Cuando acabes, vuelves a la otra actividad y una vez más todas las aplicaciones ajustarán su comportamiento a lo que estés haciendo.

Los beneficios de esta forma de trabajo basada en actividades van más allá de lo que puedas esperar en un principio. No solo te ayuda a encontrar tus archivos y contactos, también a conmutar tareas por sí mismo. El cerebro humano no es muy bueno con multitareas - a la mayoría de la gente le lleva unos minutos coger velocidad después de cambiar de tarea. El cambio de 'entorno' agiliza esto, incluso si está solo en la pantalla. ¡Compáralo con alegrarte de hacer las maletas para tus vacaciones!

Por supuesto, lo anterior es sobre todo relevante para la gente que trabaja con su ordenador en una oficina o en casa. Un jugador o un usuario casual probablemente no utilizarán estas actividades.

Ten en cuenta que el escenario descrito arriba está todavía a años luz de la realidad. Gran parte de la infraestructura para esto en KDE está en su sitio pero todavía hay mucho que hacer.

Frequently Asked Questions

The following is taken from a KDE forums post. Please feel free to add/remove/modify details if you have the time!

What is the Nepomuk Semantic Desktop, and the Strigi Desktop File Indexer?
Nepomuk and Strigi are technologies part of what delivers the abilities of the Semantic Search in KDE. Both are not used directly in the latest generation of KDE's Semantic Search (details), however their successors share much of their code and concepts. Semantic Search provides a way to organize, annotate and build relationships among the data (not only file name and content, but for example which applications used a certain file, or how it is tagged). A number of KDE applications and workspaces use this basic infrastructure to deliver features such as email tagging (KMail) or activity setup (Plasma).
The file indexing allows applications such as Dolphin to search for files based on content, name, or other meta-data (e.g. tags) associated to indexed files. Such an indexer can also index non-text files, such as PDFs, by accessing the meta-data contained in these files (author, publication information, etc.). Some KDE components ship additional "analyzers" for more file types.
Why do we need both Akonadi and Semantic Search? Aren't they doing the same thing?
In short, Akonadi provides a cache of PIM data like calendar items, contacts and email, which is used by applications like KMail and Korganizer but also the calendar build in Plasma. Semantic Search plugs in Akonadi to provide search functionality. How Baloo offers search is actually up to the application. In case of KDE PIM, Xapian is used to provide indexing and search.
How can I disable the semantic desktop?
File indexing can be disabled by adding the users' home folder to the System Settings -> Desktop Search -> Do not search in these locations list. The other functionality is part of the applications that use it and thus can't be disabled without crippling these applications. For example, to not have any search in KMail you'll have to simply remove KMail...

In versions of the KDE Applications before 4.13, Semantic Search would have components running separate from applications. This functionality could be disabled by unchecking Enable Nepomuk File Indexer in the Desktop Search section of System Settings. In case you want to turn off all semantic features, uncheck Enable Nepomuk Semantic Desktop. Notice that this will turn off search in Dolphin as well.

Notice that with the latter option some programs who use Semantic Search for meta-data will offer reduced functionality: for example KMail will not be able to tag mail, or Plasma activities will not offer additional features such as icons, or program data information.
Baloo/Semantic Search is eating 100% CPU! What do I do?
Just wait. Certain files are very hard or even impossible to Index. At the moment, this includes for example text files of over 50 megabyte. When Search finds these, it will try for a fixed time. When it fails, it will try to find out what file is broken and disable indexing it in the future. As it indexes files in batches of about 40, it has to find the problematic file by indexing that bunch in parts: first half/second half, index problematic half in pieces again, until the file is found. This can take up to 30 minutes of heavy cpu usage. Unfortunately, while Baloo will not start to index a new batch of 40 files while on battery power, it continues to determine the broken file while on battery. This behaviour has been fixed in in KDE Applications 4.13.1 (it will stop indexing immediately when the power cord is unplugged) and the time the search for each file can take has been reduced to about 10 minutes. The Semantic Search team is working on improving the indexing tools to handle more difficult files.
Why do I have nepomukservicestub processes even though I've disabled Nepomuk?
It may be a bug. Please file a bug report with a complete description of your problem and the steps to trigger it.
File indexing of PDF/some other file types doesn't work.
PDF indexing is a known issue and it's being tracked in bug #231936. If you have issues with other files, open a bug, preferably adding a sample file that shows the problem.
The program nepomukservicestub crashes at startup.
A large number of fixes for crashes has been fixed for the 4.7.2 release of the KDE Workspaces and Applications. If you encounter more, please file bugs report with detailed instructions on how to reproduce the problem, as sometimes the developers are unable to trigger them in their test setups.
The virtuoso-t process hangs at 100% CPU.
Virtuoso-t is a key component of the old Semantic Search infrastructure and in some occasions the commands sent by the other components end up taking too much time (hence showing the effect of 100% CPU).

Virtuoso is no longer used by Semantic Search starting the Applications 4.13 release.

Sometimes Nepomuk consumes too much RAM.
Many of these problems have been fixed, in other cases however the developers are unable to reproduce the issues correctly. In this case, providing examples and test cases to bug reports increase the chances to get these bugs fixed.
Search accesses the disk too much on startup.
A throttling mechanism implemented in the file indexer, versions after KDE SC 4.8 should no longer have this issue.
My Search database has been corrupted. How do I clean it?
In the extreme case your database is really corrupted and all other attempts have failed, you can delete the $KDEHOME/share/apps/nepomuk directory (where $KDEHOME is usually .kde or .kde4 in your home directory) while Nepomuk is not running. The database will be cleared, but you will also lose existing information such as tags, ratings and comments.

Advanced troubleshooting

Compartir y privacidad

Solo quiero añadir una cosa más antes de indicar otras fuentes de información: intercambio de los datos de Nepomuk. Sería genial si tus etiquetas, puntuaciones y comentarios pudieran ser compartidos con otros cuando les envías los archivos. Sin embargo, si has etiquetado a un contacto con alguna etiqueta embarazosa ('aburrido en la cama') y le envías esa información de contacto personal a un amigo en común es probable que no quieras enviarle también esa etiqueta...

Este problema está siendo considerado y es un tema importante de investigación por parte de los investigadores de Nepomuk. Por el momento, estas preocupaciones sobre la privacidad, combinadas con retos técnicos, son la razón de que la información de Nepomuk sea privada. Ten la seguridad de que el equipo de Nepomuk hace todo lo posible para respetar tu privacidad.

The new Search technology (post KDE Applications 4.13):

The old Search technology: