Nepoogle
Utilities
Score 70%
Description:

WARNING!!! Nepoogle needs at least KDE 4.10.1 and Nepomuk2 python bindings to work. This bindings are available here: http://quickgit.kde.org/?p=scratch%2Fsedwards%2Fpykde4nepomuk2.git

Nepoogle is a search utility for Nepomuk inspired in Google's search syntax. It has it's own SPARQL query builder engine to obtain more powerful queries but supports Nepomuk's query parser, like KRunner or Dolphin, too.

An install and uninstall scripts are available to install all required files.

Functionalities:
-NEW: Parentheses supported in queries.
-NEW: basic edition capabilities.
-Logical operators "and", "or" and several comparison operators supported.
-Many shortcuts and commands, read help for full list and description.
-Multiple links and operations available.
-Drag&drop support.
-Resource viewer with navigation system, image support and multimedia player (video player seems to work only with GStreamer Phonon Backend with video support).
-A cache system with manual refresh using F5 key.
-Three different query engines, two internal and Nepomuk::Query::QueryParser().
-Supports Nepomuk TVNamer, http://kde-apps.org/content/show.php/Nepomuk+TVNamer?content=148910.
-Full support to UTF-8.

Known bugs that can not be fixed:
-Volume is reset to max volume on track change: this is a bug in QtWebKit, current javascript code it's working in Chrome and Firefox. Any help to find a workaround would be appreciated.
-Some mp3 files sounds awful: this is a bug in GStreamer.

Search tips:
-Ask specific questions and if you get no results then try more general questions:
"e" -- you will get a lot of results and a slow query
actor:e -- more optimized version if you are looking for an actor

-If you know exactly the word you are looking for "+" will improve performance and the results you obtained but search is then case sensitive:
performer:+"Fleetwood Mac" -- query works
performer:+"fleetwood mac" -- query fails
performer:"fleetwood mac" -- query works but is more slow

-Regular expressions are your friends:
^word -- string begins with "word"
word$ -- string ends with "word"
^this.*word$ -- string begins with "this" and ends with "word"

-Use quotation marks if you need to search for special characters or spaces:
"Singin' in the Rain" -- because character "'" and spaces
"^file:///storage/movies" -- because character ":"
"f(x)" -- because parenthesis
"Peter Gabriel" -- without quotation marks nepoogle will search for "Peter and Gabriel"

-Use parentheses to build powerful queries:
movies: and (actor:gosling or actor:stone) and (releasedate:2011 or releasedate:2013)

-With e0 prefix Nepomuk::Query::QueryParser() engine is used rather than internal engine:
"e0 movies" -- display same results than KRunner or Dolphin.

Future development:
-External configuration file.
-Remote queries.
Last changelog:

6 years ago

v1.0.2 -- 2013/04/14
-BUG: cache not updated on refresh.
-BUG: can't add a nao:Tag resources as a nao:hasTag.
-BUG: queries using nao:identifier ontology and unicode values failed.
-BUG: queries with float numbers was not enough accurate.
-BUG: queries including value ontologies with negation failed if there are more than one value.
-CHANGE: navigation toolbar detects when must be enabled or active and informs about position.
-CHANGE: nexif values are the same used by digikam.
-NEW: added --sort command.
-NEW: added delete all link in list view to delete all listed resources.
-NEW: drag&drop resources with CTRL key pressed delete resources instead adding it.
-NEW: finally parentheses :).
-NEW: link to copy to clipboard last executed SPARQL query.

v1.0.1 -- 2013/04/05
-BUG: command --genres not worked.
-BUG: negation don't works in general search, the one without prefixes.
-BUG: open uri instead url clicking open file icon in playlist.
-BUG: shorcut performeralbum not worked.
-CHANGE: --finduplicates, --findduplicatemusic and --findduplicatephotos command removed.
-CHANGE: better navigability with prev/nex navigation buttons.
-CHANGE: exif infomation has better display and improved query methods.
-NEW: added special view for nmm:TVSeries and nmm:Movie in resource viewer
-NEW: added support to indexed compressed files.
-NEW: added initial support to Telepathy personal contacts and IM accounts.
-NEW: general search search in nie:url ontology too.
-NEW: shortcuts actors, directors, performers, producers, writers, sharpness and saturation.

v1.0.0 -- 2013/03/29
-BUG: several bugs fixed. More info are available in git repository.
-CHANGE: from Nepomuk to Nepomuk2. Nepoogle only works since this version with Nepomuk2.
-CHANGE: nepoogle now tries to detect system encoding instead of using UTF-8.
-NEW: added several icons to improve application aspect.
-NEW: added "profile" option to parameter --verbose.
-NEW: basic ontologies edition using drag&drop.
-NEW: command --newcontact to create nco:Contact from scratch.
-NEW: command --notindexed available only in console mode.
-NEW: command --v1 to force Nepoogle to use old SPARQL query engine.
-NEW: find text window invocable using CTRL+F.
-NEW: inverse relations in ontologies using "2004" is equivalent to "create:>2004".
-CHANGE: "created" is now a shortcut to "nao:created" ontology and "contentcreated" is a shortcut to "nie:contentCreated" ontology.
-CHANGE: default template displays "nie:url" when is available.
-CHANGE: empty values are now supported in queries and are equivalent to ".*", "tvseries:" is the same as "tvseries:.*".
-CHANGE: resource viewer don't display resources if nao:userVisible is not equal to 1.
-CHANGE: videojs is disabled by default because performance reasons.
-NEW: Added a basic playlist to audios and videos. Now you can listen an album or watch your series in Nepoogle.
-NEW: Added a button to open "tvshow:/" kio to "nmm:TVShow" and "nmm:TVSeries" templates.
-NEW: Added "artistalbum" and "tvshows" shortcuts.
-NEW: Added command "--topics" to display all "pimo:Topic" resources.
-NEW: Added e2 engine, a hacked version of Query::QueryParser() using subqueries optimization.
-NEW: Added "nfo:Website", "nfo:WebDataObject", "nfo:PaginatedTextDocument", "nfo:SpreadSheet" and "nfo:TextDocument" templates.
-NEW: Added support to Conquirere "http://www.example.com/nbid" ontologies.
-NEW: Added support to sending files to trash with a delete button.
-NEW: Added support to resource viewer to delete the resource using a button or the Ctrl+Del hotkey.

full changelog is available in downloaded package.

francescodl

5 years ago

Please, put "Remove resource" button more distant from the others.

Issue: maybe the preview of image files is outside its box.

Your software is great, the missing one of my Kde desktop.

Report

C

eusonig

5 years ago

Where more distance is required. In the resource viewer or in the results list? There is a confirmation dialog so it's really difficult to erase a resource for mistake.

A screenshot of the issue with the preview will be useful.

Thanks for your feedback. I'm just adding drag&drop support to easily add data to resource and a properties deletion button so keep updated.

Report

francescodl

5 years ago

I've uploaded two images: I see in the middle a grey box with inside a blue boxed interrogation point; the images are shown up or down it.
Here are the links of the two images:

http://imageshack.us/photo/my-images/834/001uh.png/
http://imageshack.us/photo/my-images/651/002ujk.png/

Should the images be inside that grey box?

About the erase button: in the results list, but this modification isn't very important.

Report

C

eusonig

5 years ago

Thank you for help me detecting this bug. This only happens if a file exists in the same path where Nepoogle is launched and the resource has a property which value is the same as that file name.

Fix is available in git or changing the next lines

if fileExists(value):
ext = os.path.splitext(value)[1][1:].lower()

for

if (((value[0] == "/") or (value[:7] == "file://")) and fileExists(value)):
ext = os.path.splitext(value)[1][1:].lower()

Report

C

eusonig

5 years ago

This patch it's not working in certain circumstances so you must use git version or wait for the next release.

Report

jospoortvliet

5 years ago

with KDE needing a decent search interface quite desperately still - maybe it's worth pursuing integration in KDE SC?!?!? :D

Report

C

eusonig

5 years ago

Integrate this application in KDE would be hard and I don't want to learn C++ because it's not a fun language ;).

Report

jospoortvliet

5 years ago

Well you don't have to write an app in C++ to have it as part of KDE SC - I know that there have at least been Python apps. Heck, ownCloud is quite a KDE project ;-)

You hack on this, you maintain it. It builds on KDE tech, you hang in KDE channels, talk to KDE developers - you're KDE, dude, you are :D

Just a matter of getting a git account and moving the code on KDE's servers, then see where to go from there. The KDE sysadmins will help you up and running in no-time, I guarantee :D

Just mail sysadmin@kde.org asking something like "I'm thinking about moving my stuff to be part of the KDE repo's, how can I do that?" and they will help. And suddenly Sebastian will simply have to fix things himself instead of telling you how to do it :D

Report

jospoortvliet

5 years ago

Well you don't have to write an app in C++ to have it as part of KDE SC - I know that there have at least been Python apps. Heck, ownCloud is quite a KDE project ;-)

You hack on this, you maintain it. It builds on KDE tech, you hang in KDE channels, talk to KDE developers - you're KDE, dude, you are :D

Just a matter of getting a git account and moving the code on KDE's servers, then see where to go from there. The KDE sysadmins will help you up and running in no-time, I guarantee :D

Just mail sysadmin@kde.org asking something like "I'm thinking about moving my stuff to be part of the KDE repo's, how can I do that?" and they will help. And suddenly Sebastian will simply have to fix things himself instead of telling you how to do it :D

Report

C

eusonig

5 years ago

Maybe in the near future.

Currently I'm helping Sebastian to improve Nepomuk API queries and in short I begin to collaborate with Conquirere developer in a semiautomatic system to add metadata to Nepomuk extracted from internet.

This is enough for me so I will stop adding new features to Nepoogle for a couple of months and only fix bugs.

Currently Sebastian and Joergs accounts are enough for me.

Report

apescoinrifle

5 years ago

First of all: Great work! The program does everything that I was looking for :)

One tiny thing I found: When I search for a text file the file is found but nepoogle displays some strange text instead of the filename in the result list e.g. "nepomuk:/res/fa2cd1ee-afd4-4fa6-9bed-33a7a7bd5624" is that done on purpose? The correct filename is only displayed when I click on that link...

Report

C

eusonig

5 years ago

This is because nepoogle is using the default template to display this data and in the default template the information displayed is the resource uri.

If you tell me which are the ontologies you have the problem, simply put the mouse cursor over the name in the second column and you could read the ontology name in a tooltip, I can add a new template for that ontology.

I will try to add a configuration file in the next release so users can add and modify the templates as they deem appropriate.

Report

apescoinrifle

5 years ago

This sounds good :)

The ontologies are e.g.:
nfo:PaginatedTextDocument (*.PDF files),
nfo:Spreadsheet (*.ODS) and
nfo:TextDocument (*.TXT).

Or maybe you can display the file name by default (because I think displaying the resource URI is not useful)?

Report

C

eusonig

5 years ago

A quick solution for you:

http://paste.kde.org/206126/

Report

apescoinrifle

5 years ago

Thank you very much. Your tool is great :)

Report

C

eusonig

5 years ago

I just updated git with new templates for the three ontologies and with the change to default template.

Report

nick198119

6 years ago

It works nice,but every time,i want to search some files,i have to start this app again,and this cost some time.
How could i make it a routine utility as file manager instead of a search tool?
Could it be integrated into desktop envirentation like indicator in ubuntu,maybe an applet in systemtray?

Report

C

eusonig

6 years ago

I created an entry using KDE Menu Editor and I associated it with ALT-F1 shorcut. Easy and simple.

About system tray, I'm planing implement a web server so a system tray icon will be mandatory. I must learn how to implement this functionality in Python :).

Report

nick198119

6 years ago

Thanks very much.
I add a entry into kmenuedit,and set it dock in systemtray.Thanks to kwin,i configured nepoogle
with no titlle bar and force it beside systemtray.
Now it works as I thought now,though some strangely.

Report

C

eusonig

6 years ago

I think you are looking for and interface like this one:

http://kde-apps.org/content/show.php?action=content&content=141072

I like this system too but I don't have many free time and learn qml is off limits. Maybe in a far future.

Report

nick198119

6 years ago

Yeah,that's it.
Good job wtih qml.

Report

trueg

6 years ago

This looks really great. Any chance you would consider merging your work on the query parser into the official Nepomuk one. The latter is in dire need of improvement and that way other apps could benefit from your work also.
Come over to IRC #nepomuk-kde or nepomuk@kde.org to discuss.

Report

C

eusonig

6 years ago

This was coded in Python and I barely can read C++ so I do not know if I will be very useful.

I'm in my job so I can't use irc here. I will try to find free time in my home.

Report

AlejandroNova

6 years ago

It's working! Are you working in a git repository? Where is it?

At this moment, it shows promise.

Report

C

eusonig

6 years ago

Thanks! For sure is working but SPARQL query engine needs some improvements and optimizations.

There is no git repository because I coded this script for personal use but sounds a good idea.

Report

6 years ago

v1.0.2 -- 2013/04/14
-BUG: cache not updated on refresh.
-BUG: can't add a nao:Tag resources as a nao:hasTag.
-BUG: queries using nao:identifier ontology and unicode values failed.
-BUG: queries with float numbers was not enough accurate.
-BUG: queries including value ontologies with negation failed if there are more than one value.
-CHANGE: navigation toolbar detects when must be enabled or active and informs about position.
-CHANGE: nexif values are the same used by digikam.
-NEW: added --sort command.
-NEW: added delete all link in list view to delete all listed resources.
-NEW: drag&drop resources with CTRL key pressed delete resources instead adding it.
-NEW: finally parentheses :).
-NEW: link to copy to clipboard last executed SPARQL query.

v1.0.1 -- 2013/04/05
-BUG: command --genres not worked.
-BUG: negation don't works in general search, the one without prefixes.
-BUG: open uri instead url clicking open file icon in playlist.
-BUG: shorcut performeralbum not worked.
-CHANGE: --finduplicates, --findduplicatemusic and --findduplicatephotos command removed.
-CHANGE: better navigability with prev/nex navigation buttons.
-CHANGE: exif infomation has better display and improved query methods.
-NEW: added special view for nmm:TVSeries and nmm:Movie in resource viewer
-NEW: added support to indexed compressed files.
-NEW: added initial support to Telepathy personal contacts and IM accounts.
-NEW: general search search in nie:url ontology too.
-NEW: shortcuts actors, directors, performers, producers, writers, sharpness and saturation.

v1.0.0 -- 2013/03/29
-BUG: several bugs fixed. More info are available in git repository.
-CHANGE: from Nepomuk to Nepomuk2. Nepoogle only works since this version with Nepomuk2.
-CHANGE: nepoogle now tries to detect system encoding instead of using UTF-8.
-NEW: added several icons to improve application aspect.
-NEW: added "profile" option to parameter --verbose.
-NEW: basic ontologies edition using drag&drop.
-NEW: command --newcontact to create nco:Contact from scratch.
-NEW: command --notindexed available only in console mode.
-NEW: command --v1 to force Nepoogle to use old SPARQL query engine.
-NEW: find text window invocable using CTRL+F.
-NEW: inverse relations in ontologies using "2004" is equivalent to "create:>2004".
-CHANGE: "created" is now a shortcut to "nao:created" ontology and "contentcreated" is a shortcut to "nie:contentCreated" ontology.
-CHANGE: default template displays "nie:url" when is available.
-CHANGE: empty values are now supported in queries and are equivalent to ".*", "tvseries:" is the same as "tvseries:.*".
-CHANGE: resource viewer don't display resources if nao:userVisible is not equal to 1.
-CHANGE: videojs is disabled by default because performance reasons.
-NEW: Added a basic playlist to audios and videos. Now you can listen an album or watch your series in Nepoogle.
-NEW: Added a button to open "tvshow:/" kio to "nmm:TVShow" and "nmm:TVSeries" templates.
-NEW: Added "artistalbum" and "tvshows" shortcuts.
-NEW: Added command "--topics" to display all "pimo:Topic" resources.
-NEW: Added e2 engine, a hacked version of Query::QueryParser() using subqueries optimization.
-NEW: Added "nfo:Website", "nfo:WebDataObject", "nfo:PaginatedTextDocument", "nfo:SpreadSheet" and "nfo:TextDocument" templates.
-NEW: Added support to Conquirere "http://www.example.com/nbid" ontologies.
-NEW: Added support to sending files to trash with a delete button.
-NEW: Added support to resource viewer to delete the resource using a button or the Ctrl+Del hotkey.

full changelog is available in downloaded package.

product-maker droper04123 Jan 14 2014

product-maker droper04122 Jan 14 2014

product-maker RAIDENSUB Apr 26 2013

product-maker diskdefrag Sep 09 2012

product-maker sumski Aug 22 2012

product-maker droper02121 Jun 25 2012

product-maker francescodl Jun 22 2012

product-maker nicola01125 Jun 11 2012

product-maker droper02127 Jun 10 2012

product-maker OderMalSo May 04 2012

product-maker swiftscythe Apr 01 2012

product-maker apescoinrifle Feb 09 2012

product-maker Okanda Jan 04 2012

product-maker ParaNada Dec 12 2011

product-maker jaitrum Dec 06 2011

product-maker lazx888 Nov 23 2011

product-maker snakebite Nov 19 2011

product-maker trueg Oct 14 2011

product-maker srog Oct 13 2011

product-maker e1nste1n Sep 24 2011

product-maker dpalacio Sep 24 2011

product-maker 6 6

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
1.0.2
updated Apr 14 2013
added Sep 24 2011
downloads today
0
page views today 3