[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#685605: porting the RDF generation to tracker.debian.org



"Iain R. Learmonth" <irl@fsfe.org> writes:

>
> Ok. Currently I've got Turtle, then RDF/XML, then HTML+RDFa. It stops at the
> first one it finds in the Accept header. JSON-LD support currently is not
> included in rdflib and I don't want to add third-party libraries into the
> mix until I've got the basics working.
>
>> That sounds like a perfect way to go : I'm quite busy at the moment
>> (recent parent of twins ;), so I can't dedicate much effort on that for
>> the coming months, but I'm glad to help.
>
> I haven't got stuck yet, so no effort required on your part so far. (:
>
> I'll keep this bug updated as progress happens.
>

Thanks for the progress update.

Here are a few comments :
- the HTML preview may point to the RDF variants with an alternative
  link header (<link rel="alternate" type="application/rdf+xml" href="..."
  />)
- the Turtle contains lots of prefixes that seem unused. For example :
  $ curl -s -L -H 'Accept: text/turtle' http://rdf.debian.net/project/apache2 2>&1 | grep '@prefix' | grep "http://rdf.debian.net/package/"; | wc -l
  2151
- some maintainer URIs seem strange :
 ns22:apache2 a admssw:SoftwareProject ;
    doap:description "Maintenance of the apache2 source package in Debian" ;
    doap:developer ns2178:debian.org,
        ns2179:p12n.org,
        ns2176:debian.org,
        ns2173:debian.org,
        ns2171:debian.org,
        ns2177:debian.org ;
    doap:download-page ns1:apache2 ;
    doap:homepage ns7:apache2 ;
    doap:maintainer ns2174:lists.debian.org ;
    doap:name "Debian apache2 packaging" ;
    doap:platform "dpkg" ;
    doap:release ns2172:squeeze11,
        ns2172:squeeze12,
        ns2172:squeeze14,
        ns2175:deb7u3,
        ns2175:deb7u4,
        ns6:apache2_2.4.10-10,
        ns6:apache2_2.4.10-11 ;
    doap:repository ns4:apache2 ;
    doap:screenshots ns2:apache2 .

I would expect all identifiers @debian.org to derive to the same prefix
: some quoting/encoding issue probably. Still rapper seems to like it :

$ rapper -i turtle http://rdf.debian.net/project/apache2 -o turtle

ns22:apache2
    doap:description "Maintenance of the apache2 source package in Debian" ;
    doap:developer <http://rdf.debian.net/maintainer/arno%40debian.org>, <http://rdf.debian.net/maintainer/peter%40p12n.org>, <http://rdf.debian.net/maintainer/sesse%40debian.org>, <http://rdf.debian.net/maintainer/sf%40debian.org>, <http://rdf.debian.net/maintainer/tfheen%40debian.org>, <http://rdf.debian.net/maintainer/thom%40debian.org> ;
    doap:download-page ns1:apache2 ;
    doap:homepage ns7:apache2 ;
    doap:maintainer <http://rdf.debian.net/maintainer/debian-apache%40lists.debian.org> ;
    doap:name "Debian apache2 packaging" ;
    doap:platform "dpkg" ;
    doap:release ns2172:squeeze11, ns2172:squeeze12, ns2172:squeeze14, ns2175:deb7u3, ns2175:deb7u4, <http://rdf.debian.net/package/apache2_2.4.10-10>, <http://rdf.debian.net/package/apache2_2.4.10-11> ;
    doap:repository ns4:apache2 ;
    doap:screenshots ns2:apache2 ;
    a admssw:SoftwareProject .

Keep up the good work.

Best regards,
-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)


Reply to: