question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

linking between SoftwareSourceCode and SoftwareApplication?

See original GitHub issue

IMHO, schema.org/SoftwareSourceCode and schema.org/SoftwareApplication ought to have a reversible property indicating the relationship between the two. This would allow us to nest properties which are technically part of SoftwareApplication and not part of SoftwareSourceCode (e.g. memoryRequirements) as part of a SoftwareApplication type object, rather than putting them directly as properties of the SoftwareSourceCode object.

SoftwareSourceCode does have targetApplication, but this does not seem to refer to the application that the source-code is defining, but rather a runtime environment (such as an operatingSystem). SoftwareApplication does not seem to have any property corresponding to identifying the application’s source code.

Thoughts on this? Shall we open this issue over in https://github.com/schemaorg/schemaorg for discussion?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dgarijocommented, Nov 14, 2019

At the Scientific Software Registry Collaboration Workshop we have also encountered this issue. Many people were confused because SoftwareApplication and SSC are kind of merged in the same object (I know they aren’t but many people confuse both).

In my work, I have used Codemeta in https://w3id.org/okn/o/sd and my own registry, and I had to add the property “hasSourceCode” which links a Software to its SourceCode (inverse of targetProduct, which links a source code to its SoftwareApplication). If something similar is added in codemeta (or suggested in schema.org), then the problem should be solved.

+1 to add such a property. I will suggest it in schema.org too

2reactions
nokomecommented, Nov 23, 2018

Just wanted to add support for “unambiguous property on SoftwareSourceCode and a reverse-property on SoftwareApplication connecting these two.”

When crosswalking from PyPI, CRAN etc to JSON-LD we’ve found that some of the properties we need are on SSC and some are on SA. A link between the two could solve that. In the meantime, we’ve been using a SoftwarePackage type which extends SSC by adding the properties we need from SA: https://github.com/stencila/schema/blob/master/src/SoftwarePackage.ts

Read more comments on GitHub >

github_iconTop Results From Across the Web

SoftwareSourceCode - Schema.org Type
Property Expected Type Description programmingLanguage ComputerLanguage or. Text The computer programmin... alternativeHeadline Text A secondary title of the Cr... audio AudioObject or. Clip or MusicRecording An...
Read more >
software_types/README.md at main · SoftwareUnderstanding ...
The link between SoftwareSourceCode and subclasses of SoftwareApplication , WebAPI , WebPage or WebSite is established using the targetProduct property. There ...
Read more >
Schema.org - Software Heritage Wiki
3 Linked Data and schema.org; 4 References ... SoftwareApplication and SoftwareSourceCode are subclasses of code; MobileApplication and ...
Read more >
SoftwareSourceCode | schema - GitHub Pages
Name @id Inherited from about schema:about CreativeWork alternateNames schema:alternateName Thing authors schema:author CreativeWork
Read more >
Understanding the “Use Rights” for Software Source Code in ...
If you missed any of my previous posts for managing a software escrow agreement from start to finish, here are the links for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found