No subject


Fri Jun 8 07:20:02 PDT 2007


extend the xesam onto or they are completely orthogonal, that is they are
not part of the xesam ontology. I don't think we should put them in the same
dir as the files describing the xesam onto.

Another point: many ontologies can co-exist with the aid of namespacing. You
> can lump together results from queries to any number of indexers, and
> it'll
> work just fine.


Yeah, I know. Putting the ontos in different dirs was not meant as a way to
do pseudo namespacing. We should use real namesping for this. Having the
ontos in different dirs was just to make it easier for apps needing to parse
the different ontos.

Cheers,
Mikkel


-- Evgeny
>

------=_Part_63195_2885201.1181314402707
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

2007/6/8, Evgeny Egorochkin &lt;<a href="mailto:phreedom.stdin at gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">phreedom.stdin at gmail.com</a>&gt;:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

On Friday 08 June 2007 09:05:19 you wrote:<br>&gt; &gt; I just wanna toss this idea out in the wild.<br>&gt; &gt;<br>&gt; &gt; I want to make it easy to have multiple services expose a xesam search<br>&gt; &gt; interface. We would still have the standard desktop search engine with
<br>&gt; &gt; the dbus path and name as specified, but other implementations of the<br>&gt; &gt; search interface could be useful too. Consider fx if Gnome&#39;s Mugshot<br>&gt; &gt; applet ( <a href="http://mugshot.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://mugshot.org</a>) exposed a xesam search service that could<br>&gt; &gt; search in mugshot groups, feeds, and persons. This would not be suitable<br>&gt; &gt; as an integrated part of the main desktop search service. Another example
<br>&gt; &gt; could be a xesam wrapper for the Yahoo REST api.<br>&gt; &gt;<br>&gt; &gt; This way we could (at some point in the future) have a small &quot;swarm&quot; of<br>&gt; &gt; xesam search services (likely with the desktop one as the most
<br>&gt; &gt; prominent), and applications like deskbar could aggregate these in a a<br>&gt; &gt; nice<br>&gt; &gt; search-everything-you-can-dream-of-and-then-some applications.<br>&gt; &gt;<br>&gt; &gt; We can achieve this with almost no changes to the current search
<br>&gt; &gt; proposal. What we basically need is some way to introspect what<br>&gt; &gt; ontologies the search engine is capable of using, and we probably need<br>&gt; &gt; that anyway.<br>&gt; &gt;<br>&gt; &gt; What I actually propose is this: Add a session property
<br>&gt; &gt; vendor.ontologiesthat has value type aas, an array of ontology<br>&gt; &gt; definitions which are triplets [unique_name,version,path]. So fx hooking<br>&gt; &gt; up to the Yahoo service and calling GetProperty(session, &quot;
<br>&gt; &gt; vendor.ontologies&quot;) returns [[&quot;yahoo&quot;, &quot;1.0&quot;,<br>&gt; &gt; &quot;/usr/share/ontologies/yahoo-1.0&quot;]].<br>&gt; &gt;<br>&gt; &gt; If the main xesam desktop search service had a 3rd party onto installed
<br>&gt; &gt; it might return [[&quot;xesam&quot;, &quot; 1.0&quot;, &quot;/usr/share/ontologies/xesam-1.0],<br>&gt; &gt; [&quot;my-app&quot;, &quot;0.3.4&quot;, &quot;/usr/share/ontologies/my-app-0.3.4]].<br>&gt;<br>&gt; I was quite in a rush&nbsp;&nbsp;last night so I forgot half the message of course...
<br>&gt;<br>&gt; The values of the ontology-triples [unique_name, version, path] deserve<br>&gt; description:<br>&gt;&nbsp;&nbsp;- unique_name: This is a name that uniquely describes the vendor of the<br>&gt; ontology.<br>&gt;&nbsp;&nbsp;- version: the version of the ontology
<br>&gt;&nbsp;&nbsp;- path: the absolute path to the ontology<br>&gt;<br>&gt; This leads me with a need to define how ontologies are installed.&nbsp;&nbsp;I would<br>&gt; suggest that an ontology is a directory under<br>&gt; {XDG_USER_DATA_DIR,XDG_SYSTEM_DATA_DIR}/ontologies named
<br>&gt; &lt;unique_name&gt;-&lt;version&gt;. All files (in a yet to be specified format) in<br>&gt; here are treated as part of the ontology except one designated file (in a<br>&gt; yet to be specified format) which contain metadata about the ontology. This
<br>&gt; metadata could fx be:<br>&gt;&nbsp;&nbsp;- Vendor name (the unique name as in the dir-name)<br>&gt;&nbsp;&nbsp;- Ontology version<br>&gt;&nbsp;&nbsp;- Full vendor name (free form string)<br>&gt;&nbsp;&nbsp;- Ontology description<br>&gt;<br>&gt; Anyways, any thoughts? Cheers,
<br><br>For RDF(S) you don&#39;t really need this file. You can embed this info anywhere.</blockquote><div><br>Ok, this is just an implementation detail that really depends on what our final onto representaion is written in , but let&#39;s not continue that discussion right now... 
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The problem I see here is I&#39;m not sure this is the only change necessary to
<br>let several xesam indexers work in parallel... I&#39;m no DBUS expert and<br>actually hardly know anything, but can several programs run a service with<br>the same name?</blockquote><div><br>No.&nbsp; Alternative search engines must use another bus name than the standard xesam one. But it is possible to introspect this an retrieve all objects that implement a given interface (
org.feedesktop.xesam.Search).<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Also, consider that indexers will likely have plug-ins which extend their
<br>ontologies, so ontology version may not be as informative, or at least it<br>should be clarified that you are describing only the core part of the<br>ontology.</blockquote><div><br>From my POW 3rd party ontologies are &quot;new&quot; ontologies regardless if they extend the xesam onto or they are completely orthogonal, that is they are not part of the xesam ontology. 
I don&#39;t think we should put them in the same dir as the files describing the xesam onto.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Another point: many ontologies can co-exist with the aid of namespacing. You<br>
can lump together results from queries to any number of indexers, and it&#39;ll<br>work just fine.</blockquote><div><br>Yeah, I know. Putting the ontos in different dirs was not meant as a way to do pseudo namespacing. We should use real namesping for this. Having the ontos in different dirs was just to make it easier for apps needing to parse the different ontos.
<br><br>Cheers,<br>Mikkel<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-- Evgeny<br></blockquote></div><br>

------=_Part_63195_2885201.1181314402707--


More information about the xdg mailing list