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

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



Hi Oliver,

On Mon, Apr 13, 2015 at 03:21:55PM +0200, Olivier Berger wrote:
> 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="..."
>   />)

Yep. On the list of things to do. That preview is currently there mainly for
debugging, so I haven't made it user friendly yet.

> - 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

There is currently something horrible happening with the namespace manager
and I haven't tracked that down yet. All the namespaces that start with "ns"
will disappear. I don't plan to have any Debian specific namespaces
declared, only those for the vocabularies (although a Debian specific - at
least dpkg specific - vocabulary may appear at some point for things that
just can't be represented another way).

> - some maintainer URIs seem strange :

Maintainer URIs should be
http://rdf.debian.net/maintainer/<urlencoded-email>. They are if you resolve
the prefix, but I need to track down that namespace manager problem.

This is still very much a work in progress. The URLs might change and
vocabulary usage might change, so I wouldn't build anything based on the
assumption that the current formats will stay the same.

I added a lot more data in using DOAP vocabulary last night, speaking to
people in the #swig channel on Freenode to see how others are using these
vocabularies. I have also got contacts now for the people that do the CPAN
RDF so that is looking more likely now.

Thanks,
Iain.

-- 
e: irl@fsfe.org            w: iain.learmonth.me
x: irl@jabber.fsfe.org     t: EPVPN 2105
c: 2M0STB                  g: IO87we
p: 1F72 607C 5FF2 CCD5 3F01 600D 56FF 9EA4 E984 6C49

Attachment: pgpySKb_8bd53.pgp
Description: PGP signature


Reply to: