Re: Extending SoftwareApplication (and schema.org/Project)

working thoughts:

 am working on adding Schema.org RDFa metdata to project detail pages
for the next-gen PyPi (http://warehouse.python.org) [1]

There are structured fields for Python Packaging metadata [2][3] and
there are tables in warehouse [4].

Challenges:
  (a) Mapping Author / Maintainer to <Person >s:
       (author/creator, editor, contributor, accountablePerson)
       (publisher, sourceOrganization may note be feasible)

  (b) Picking a canonical URL for a Package:

       warehouse.python.org/project/<name>
       warehouse.python.org/project/<version>
       pypi.python.org/pypi/<name>
       pypi.python.org/pypi/<name>/<version>
       release.homepage
       release.project_url

   (c) Expressing softwareVersion[s]

       How to express the project <--- release[.version] relation? [5]

   (d) documentationUrl, bugtrackerUrl, [repositoryUrl]

       I think it could be helpful to amend SoftwareApplication with
these properties.

       There is not yet an analogue of repositoryUrl in Python
Packaging Metadata.

       DOAP Project and Versions [6]

       DOAP schema includes typed *Repository properties [5]
           {CVS, SVN, Darcs, Bk, Git, Hg; BazaarBranch }

   (e) Should there be a SoftwareRelease?
       Currently: SoftwareApplication:softwareVersion (Text)
          This is lossy, as different releases have different filesizes
          and checksum/signature types.



[1] https://github.com/pypa/warehouse/blob/master/warehouse/templates/projects/detail.html
[2] http://legacy.python.org/dev/peps/pep-0345/
[3] http://packaging.python.org/en/latest/peps.html#pep426-metadata-for-python-software-packages-2-0
[4] https://github.com/pypa/warehouse/blob/master/warehouse/packaging/tables.py
[5] https://github.com/edumbill/doap/blob/master/schema/doap.rdf
[6] https://github.com/edumbill/doap/tree/master/licenses

On Mon, Oct 6, 2014 at 5:10 PM, Wes Turner <wes.turner@gmail.com> wrote:
> Bump
>
> On Fri, Apr 11, 2014 at 8:47 PM, Wes Turner <wes.turner@gmail.com> wrote:
>> I am working to implement SoftwareApplication RDFa with the new pypi
>> (warehouse.pypi.org).
>>
>> There are already separate DOAP resources.
>>
>> Both DOAP and SoftwareApplication are insufficient to represent the domain.
>>
>> Preliminarily, I am thinking that properties like documentationUrl,
>> bugtrackerUrl, and ircUrl could be extremely helpful for a variety of
>> use cases; such as locating downstream packages by something other
>> than string matching (e.g. with whohas).
>>
>>
>> * http://schema.org/SoftwareApplication
>> * http://www.w3.org/wiki/WebSchemas/SoftwareApplicationSchema
>>
>> Are there other discussions or ongoing works that I should be aware of?
>>
>> Would it be feasible to create a new schema:Project class?
>>
>> --
>> --
>> Wes Turner
>
>
>
> --
> Wes Turner
> https://westurner.github.io/



-- 
Wes Turner
https://westurner.github.io/

Received on Monday, 6 October 2014 22:11:55 UTC