Question on SampleRDF


Mario Tokarz <mario@...>
 

Hello Gary,

I am just reading into the SPDX sample you offered for download. I
have two questions (I read the sample in connection with SPDX Version
Draft 20110411).

1. In http://spdx.org/rdf/terms#Package there are references to
licenses in the fields 'licenseInfoFromFiles' and
'licenseCondluded'. Both are defined with Cardinality 1..*. However
they differ in the implementation: licenseInfoFromFiles references
directly either known-liceneses as rdf:resource or
rdf:node. licenseCondluded refers to a ConjunctiveLicenseSet with
members referring to rdf:resource or rdf:node. Could you please
evaluate on this difference? There does not seem to be a formal
definition for the ConjunctiveLicenseSet.

2. The artifactOf field refers to a node which is defined as
http://usefulinc.com/ns/doap#Project. This seems a bit broken to me,
because the element is not declared as an SPDX internal type. On a
syntax level your example contains

<rdf:Description rdf:nodeID="A12">
<j.0:homepage>http://www.openjena.org/</j.0:homepage>
<j.0:name>Jena</j.0:name>
<rdf:type rdf:resource="http://usefulinc.com/ns/doap#Project"/>
</rdf:Description>

I would have expected somthing like this:
<rdf:Description rdf:nodeID="A12">
<homepage>http://www.openjena.org/</homepage>
<name>Jena</name>
<rdf:type rdf:resource="http://spdx.org/rdf/terms#ArtifactOf"/>
</rdf:Description>

Again I would be grateful for some hint.

Thanks + Best Regards,
Mario

Join spdx@lists.spdx.org to automatically receive all group messages.