Friday Mar 02, 2007

Baetle: Bug And Enhancement Tracking LanguagE ( version 0.00001 )

So here is an absolute first draft version of a Bug ontology, just starting from information I can glean from bugs in the NetBeans repository. It really is not meant to be anything else than a place to start from, to see what the field looks like, and to try out a few ideas. There is a lot that needs to changed. If possible other ontologies should be reused. But for the moment we just need to work out if this can be of any use...

The idea is that this should end up being a solid Bug Ontology that could be used by bugzilla and other repositories to enable people to query for bugs across repositories. So if people want to join in helping out, I am currently developing it on the mailing list at dev@sommer.dev.java.net, just because I have access to that repository, and so that I don't need to create another space immediately.

Before sitting down and writing out the OWL it is just a lot easier to diagram these in UML. So that's what I have done here.

Here is a description of bug 18177 from the NetBeans bug tracker, using the above outline. It is in N3.

@prefix : <https://sommer.dev.java.net/baetle/2007-02-02/#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix awol: <http://bblfish.net/work/atom-owl/2006-06-06/#> .

<http://www.netbeans.org/issues/show_bug.cgi?id=18177#it>
       a :Feature;
       :status "resolved";
       :resolution "fixed";
       :qa_contact [ foaf:mbox <mailto:issues@openide.sun.com> ];
       :priority "P1";
       :component [ :label "openide"
                    :version "3.6";
                  ];
       :bugType "looks";
       :assigned_to  <http://people.netbeans.org/phrebejk#i>";
       :reporter [ :nick "jtulach"];
       :interested [ :mbox <mailto:jtulach@netbeans.org> ];
       :interested [ :mbox <mailto:mentlicherh@netbeans.org> ];
       :updated "2003-12-11T06:25:15"\^\^xsd:dateTime;
       :dependsOn <http://www.netbeans.org/issues/show_bug.cgi?id=21365#it>,
                  <http://www.netbeans.org/issues/show_bug.cgi?id=19905#it>,
                  <http://www.netbeans.org/issues/show_bug.cgi?id=19340#it>,
                  <http://www.netbeans.org/issues/show_bug.cgi?id=18179#it>,
                  <http://www.netbeans.org/issues/show_bug.cgi?id=19357#it>,
                  <http://www.netbeans.org/issues/show_bug.cgi?id=17934#it>,
                  <http://www.netbeans.org/issues/show_bug.cgi?id=27843#it>;
       :blocks <http://www.netbeans.org/issues/show_bug.cgi?id=27843#it>,
               <http://www.netbeans.org/issues/show_bug.cgi?id=26921#it>;
       :hasDuplicate <http://www.netbeans.org/issues/show_bug.cgi?id=2217#it>;
       :description <http://www.netbeans.org/issues/show_bug.cgi?id=2217#desc1>;
       :comment <http://www.netbeans.org/issues/show_bug.cgi?id=2217#desc2>,
                <http://www.netbeans.org/issues/show_bug.cgi?id=2217#desc3>,
                <http://www.netbeans.org/issues/show_bug.cgi?id=2217#desc4>,
                <http://www.netbeans.org/issues/show_bug.cgi?id=2217#desc5>,
                <http://www.netbeans.org/issues/show_bug.cgi?id=2217#desc6>;
       :attachment <http://www.netbeans.org/nonav/issues/showattachment.cgi/10189/looks.zip>.



<http://www.netbeans.org/issues/show_bug.cgi?id=2217#desc1> a :Description;
     :content [ awol:body """We need a reasonable way how to organize looks so we can easily locate them for
given representation object in a way that makes it probable that correct look
will be found. We need a way for different modules to replace (or lower
priority) of some look and provide their own. We need use to be present with
available looks (which make some sence on that object) and being able to
pernamently change the order of looks available for given object.""";
               awol:type "text/plain";
              ];
     :author [ foaf:mbox <mailto:jtulach@netbeans.org> ];
     :created "2001-11-29T08:17:00"\^\^xsd:dateTime .     

I have hyperlinked a couple of the relations above, to show exactly how what we are doing is just describing the web. (RDF stands for Resource Description Framework after all) Click on the links and you will get a description of what that thing is about. There is already one big improvement here over the xml format provided by the service (see the xml for bug 18177 for example) and that is that we don't have to send the content of an attachment around. We just refer to it by a url (http://www.netbeans.org/nonav/issues/showattachment.cgi/10189/looks.zip).

The bugs have the #it anchor, to distinguish the bug from the page which describes it.

The URL for the code should clearly be the urls of the http repository versions. Then we should be able to link the code to packages, which should link up to libraries, which link up to products; and we can link any of those to bugs.

So what could one do with all that information available from a SPARQL endpoint?

About

bblfish

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today