Hi<br> <br> Sorry for this very basic questions but... <br><br>what do we need to validate? We have a small-but-useful &quot;validator&quot; in tracker written in C to verify that all the referenced classes and properties are defined somewhere, and few easy things like that. (It helps a lot when adding new stuff in the ontologies). Do we need anything more complicated? We can reuse that script or rewrite it in python.<br>
<br>why do we need the description of the ontology in the validation? if the description is in a second file (same name with .description suffix), we only need to use it for the HTML generation.<br><br> I started to write the HTML generation for the tracker ontologies and i did the first step (1 ontology -&gt; 1 HTML). My idea (and i guess the nepomuk scripts are not so different) was: two files (a.ontology, a.description), and an extra &quot;global&quot; file that contains: all namespaces + publication URL (i.e. &quot;nie&quot; <a href="http://www.semanticdesktop.org/ontologies/nie/">http://www.semanticdesktop.org/ontologies/nie/</a> <a href="http://www.semanticdesktop.org/ontologies/nie/">http://www.semanticdesktop.org/ontologies/nie/</a>) . The publication URL is needed in case you want to generate your doc for an internal server, or the URL of a concept doesn&#39;t match with a real URL.<br>
<br> I dont see why to use trig or merge description and ontology in one file. But maybe i am missing something. <br><br> Regards (and thanks for the effort!),<br><br>Ivan<br><br> <br><br><div class="gmail_quote">On Tue, Jun 30, 2009 at 10:36 PM, Sebastian Trüg <span dir="ltr">&lt;<a href="mailto:strueg@mandriva.com">strueg@mandriva.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Wednesday 01 July 2009 21:25:46 Evgeny Egorochkin wrote:<br>
&gt; On Tuesday 30 June 2009 19:07:59 Sebastian Trüg wrote:<br>
&gt; &gt; Hi guys,<br>
&gt; &gt;<br>
&gt; &gt; I am having a little trouble with setting it all up.<br>
&gt; &gt; Leo pointed out that using trig directly might give us trouble when we<br>
&gt; &gt; want to verify since there are no tools.<br>
&gt; &gt;<br>
&gt; &gt; That means we have 2 possibilities:<br>
&gt; &gt;<br>
&gt; &gt; 1.<br>
&gt; &gt; write our own tools for verification and so on (it would probably be<br>
&gt; &gt; sufficient to extract the data graph and the metadata graph from each<br>
&gt; &gt; trig file and then validate them separately.<br>
&gt; &gt;<br>
&gt; &gt; 2.<br>
&gt; &gt; use 2 turtle files and merge them at build time (I see no point in having<br>
&gt; &gt; both the turtle and the trig in svn. It only leads to trouble with people<br>
&gt; &gt; commiting changes to the trig by accident or what not. And it is not<br>
&gt; &gt; clean). But that means that we need a script that can merge the files and<br>
&gt; &gt; output trig. I don&#39;t think we can use the existing tools written in java<br>
&gt; &gt; for that as it would add a compile-time java-dependency. Thus, we need a<br>
&gt; &gt; script in python or perl or something. I looked at python rdf libs, there<br>
&gt; &gt; is no trig serializer support.<br>
&gt;<br>
&gt; AFAIK redland/raptor has ruby and python bindings. Also you can easily<br>
&gt; generate docs using either of these.<br>
<br>
</div>sure, I know that. I was rather looking for a decision between solutions 1 and<br>
<div><div></div><div class="h5">2.<br>
<br>
&gt; &gt; So what should we do? Store trig or 2 turtle files and merge on<br>
&gt; &gt; build-time?<br>
&gt; &gt;<br>
&gt; &gt; BTW: I also think the docs should be merged at build-time. That also<br>
&gt; &gt; means that the java tools need to be ported to a scripting language. I<br>
&gt; &gt; could use help with that.<br>
&gt; &gt;<br>
&gt; &gt; Cheers,<br>
&gt; &gt; Sebastian<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Xesam mailing list<br>
&gt; &gt; <a href="mailto:Xesam@lists.freedesktop.org">Xesam@lists.freedesktop.org</a><br>
&gt; &gt; <a href="http://lists.freedesktop.org/mailman/listinfo/xesam" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xesam</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Xesam mailing list<br>
&gt; <a href="mailto:Xesam@lists.freedesktop.org">Xesam@lists.freedesktop.org</a><br>
&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/xesam" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xesam</a><br>
<br>
_______________________________________________<br>
Xesam mailing list<br>
<a href="mailto:Xesam@lists.freedesktop.org">Xesam@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xesam" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xesam</a><br>
</div></div></blockquote></div><br>