Hi Chris,

 

I think this is a valid use case and one I’ve thought about as well.  Using the 
URI’s for listed licenses in RDF format would still be a valid SPDX document 
and much more compact.

 

The changes would involve changes to the tools-java 
<https://github.com/spdx/tools-java>  and spdx-rdf-store 
<https://github.com/spdx/spdx-java-rdf-store>  projects.

 

Feel free to add an issue to the tools-java project.  If you have any ideas on 
what the command line option should be, feel free to propose in the issue.

 

Regards,

Gary

 

From: [email protected] <[email protected]> On Behalf Of 
[email protected]
Sent: Tuesday, November 22, 2022 4:47 AM
To: [email protected]
Subject: [spdx-tech] Option of using SPDX ID/URI when converting files 
(tools-java) #spdx

 

I am converting tag files to RDF/XML by using the converter in tools-java 
version 1.1.1. When converting a small example file (example1.spdx etc.) the 
SpdxConverter class includes the full text of the license. This makes the RDF 
file verbose when inserting it into a RDF4J repository where I store relational 
data. I can exclude the text by parsing the RDF file but then I have to build 
my own logic by providing SPDX-License-Identifier or URI for the license.

 

Is there another way to convert tag files by including SPDX-License-Identifier 
or URI (using the https://spdx.org/licenses/ or 
https://github.com/spdx/license-list-data) and generating a full license text 
file when needed. Or could this be an enhancement for future versions if the 
use-case is valid?

 

Regards Chris. 





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4849): https://lists.spdx.org/g/Spdx-tech/message/4849
Mute This Topic: https://lists.spdx.org/mt/95194424/21656
Mute #spdx:https://lists.spdx.org/g/Spdx-tech/mutehashtag/spdx
Group Owner: [email protected]
Unsubscribe: https://lists.spdx.org/g/Spdx-tech/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to