From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Guix Wikidata module - next steps Date: Tue, 08 Jan 2019 18:25:05 +0100 Message-ID: <87zhsbukni.fsf@gnu.org> References: <0BD0CA1F-AF8F-4584-969E-5C9A2D78E768@pretty.Easy.privacy> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggv7p-0004pc-Sn for guix-devel@gnu.org; Tue, 08 Jan 2019 12:25:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggv7o-0001vD-0u for guix-devel@gnu.org; Tue, 08 Jan 2019 12:25:12 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:47670) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ggv7n-0001jc-Q1 for guix-devel@gnu.org; Tue, 08 Jan 2019 12:25:11 -0500 In-Reply-To: <0BD0CA1F-AF8F-4584-969E-5C9A2D78E768@pretty.Easy.privacy> (swedebugia's message of "Tue, 08 Jan 2019 12:29:09 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: swedebugia Cc: Guix-devel Hello! Interesting work! swedebugia skribis: > First thing to add is the procedures from guile-wikidata that enables us = to get a label for a given Qid and the output of queries like the one below. > > The second thing to add is fold procedures to guess the right qid accordi= ng to the upstream names of guix packages. > > The third thing to add is an importer that helps us add qid to our packag= es.=20 > > Here we have a decision to make. Should we add them as properties or exte= nd our record with a field?=20 > I.e. > ... > (properties > `((wikidata . "qid")) > Or > ... > (wikidata "qid") Does Wikidata store Common Platform Enumeration (CPE) names for software? CPE is a attempts to provide standard names for software packages, primarily so that one can unambiguously refer to a software package in a CVE. If Wikidata supported CPE, that=E2=80=99d be nice because in Guix we already store (sometimes=E2=80=A6) =E2=80=98cpe-name=E2=80=99 properties so that th= ings like =E2=80=98guix lint -c cve=E2=80=99 know which package to look for in the CVE database. Ludo=E2=80=99.