Namespace(rdf = ) Namespace(owl = ) Namespace(xsd = ) Namespace(rdfs = ) Namespace(a = ) Namespace(b = ) Namespace(c = ) Namespace(d = ) Ontology( Annotation(owl:versionInfo "DRAFT (09 Aug 2011 16:05 UTC master 7e28d2)") Annotation(rdfs:comment "

This specification describes the SPDX language, defined as a dictionary of named properties and classes using W3C's RDF Technology.

SPDX is a designed to allow the exchange of data about software packages. This information includes general information about the package, licensing information about the package as a whole, a manifest of files contained in the package and licensing information related to the contained files.

"^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) ObjectProperty(a:algorithm domain(a:Checksum) range(oneOf(a:checksumAlgorithm_sha1))) ObjectProperty(a:artifactOf domain(a:File) range(b:Project)) ObjectProperty(a:checksum domain(unionOf(a:Package a:File)) range(a:Checksum)) ObjectProperty(a:copyrightText domain(unionOf(a:Package a:File)) range(unionOf(oneOf(a:none) rdfs:Literal oneOf(a:noassertion)))) ObjectProperty(a:creationInfo domain(a:SpdxDocument) range(a:CreationInfo)) ObjectProperty(a:dataLicense domain(a:SpdxDocument) range(a:AnyLicenseInfo)) ObjectProperty(a:describesPackage domain(a:SpdxDocument) range(a:Package)) ObjectProperty(a:fileType domain(a:File) range(oneOf(a:fileType_source a:fileType_other a:fileType_archive a:fileType_binary))) ObjectProperty(a:hasExtractedLicensingInfo domain(a:SpdxDocument) range(a:ExtractedLicensingInfo)) ObjectProperty(a:hasFile domain(a:Package) range(a:File)) ObjectProperty(a:licenseConcluded domain(unionOf(a:Package a:File)) range(unionOf(oneOf(a:none) a:AnyLicenseInfo oneOf(a:noassertion)))) ObjectProperty(a:licenseDeclared domain(a:Package) range(unionOf(oneOf(a:none) a:AnyLicenseInfo oneOf(a:noassertion)))) ObjectProperty(a:licenseInfoFromFiles domain(a:Package) range(unionOf(oneOf(a:none) a:SimpleLicenseInfo oneOf(a:noassertion)))) ObjectProperty(a:licenseInfoInFile domain(a:File) range(unionOf(oneOf(a:none) a:SimpleLicenseInfo oneOf(a:noassertion)))) ObjectProperty(a:member domain(unionOf(a:DisjunctiveLicenseSet a:ConjunctiveLicenseSet)) range(a:AnyLicenseInfo)) ObjectProperty(a:originator domain(a:Package) range(unionOf(oneOf(a:noassertion) xsd:string))) ObjectProperty(a:packageVerificationCode domain(a:Package) range(a:PackageVerificationCode)) ObjectProperty(a:referencesFile domain(a:SpdxDocument) range(a:File)) ObjectProperty(a:reviewed domain(a:SpdxDocument) range(a:Review)) ObjectProperty(a:supplier domain(a:Package) range(unionOf(oneOf(a:noassertion) xsd:string))) ObjectProperty(c:icon) ObjectProperty(c:stylesheet) DatatypeProperty(a:checksumValue domain(a:Checksum) range(xsd:hexBinary)) DatatypeProperty(a:created domain(a:CreationInfo) range(xsd:dateTime)) DatatypeProperty(a:creator domain(a:CreationInfo) range(xsd:string)) DatatypeProperty(a:description domain(a:Package) range(xsd:string)) DatatypeProperty(a:downloadLocation domain(a:Package) range(xsd:anyURI)) DatatypeProperty(a:extractedText domain(a:ExtractedLicensingInfo) range(xsd:string)) DatatypeProperty(a:fileName domain(a:File) range(xsd:string)) DatatypeProperty(a:licenseComments domain(unionOf(a:Package a:File)) range(xsd:string)) DatatypeProperty(a:licenseId domain(unionOf(a:License a:ExtractedLicensingInfo)) range(xsd:string)) DatatypeProperty(a:licenseText domain(a:License) range(xsd:string)) DatatypeProperty(a:name domain(a:Package) range(xsd:string)) DatatypeProperty(a:packageFileName domain(a:Package) range(xsd:string)) DatatypeProperty(a:packageVerificationCodeExcludedFile domain(a:PackageVerificationCode) range(xsd:string)) DatatypeProperty(a:packageVerificationCodeValue domain(a:PackageVerificationCode) range(xsd:hexBinary)) DatatypeProperty(a:reviewDate domain(a:Review) range(xsd:dateTime)) DatatypeProperty(a:reviewer domain(a:Review) range(xsd:string)) DatatypeProperty(a:sourceInfo domain(a:Package) range(xsd:string)) DatatypeProperty(a:specVersion domain(a:SpdxDocument) range(xsd:string)) DatatypeProperty(a:summary domain(a:Package) range(xsd:string)) DatatypeProperty(a:versionInfo domain(a:Package) range(xsd:string)) DatatypeProperty(rdfs:comment) DatatypeProperty(d:term_status) Class(a:AnyLicenseInfo complete unionOf(a:DisjunctiveLicenseSet a:License a:ConjunctiveLicenseSet a:ExtractedLicensingInfo)) Class(a:AnyLicenseInfo partial annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "The AnyLicenseInfo class includes all resources that represent licensing information."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) ) Class(a:Checksum partial restriction(a:algorithm cardinality(1)) restriction(a:checksumValue cardinality(1))) Class(a:Checksum partial annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "A Checksum is simple value that allows the contents of a file to be authenticated. Even small changes to the content of the file will change it's checksum value."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) ) Class(a:ConjunctiveLicenseSet partial restriction(a:member minCardinality(2)) rdfs:Container) Class(a:ConjunctiveLicenseSet partial annotation(rdfs:comment "A ConjunctiveLicenseSet represents a set of licensing information all of which apply."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) ) Class(a:CreationInfo partial restriction(rdfs:comment maxCardinality(1)) restriction(a:creator minCardinality(1)) restriction(a:created cardinality(1))) Class(a:CreationInfo partial annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "A CreationInfo provides information about the individuals, organizations and tools involved in the creation of an SpdxDocument."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) ) Class(a:DisjunctiveLicenseSet partial restriction(a:member minCardinality(2)) rdfs:Container) Class(a:DisjunctiveLicenseSet partial annotation(rdfs:comment "A DisjunctiveLicenseSet represents a set of licensing information where only one license applies at a time. This class implies that the recipient gets to choose one of these licenses they would prefer to use."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) ) Class(a:ExtractedLicensingInfo partial restriction(a:extractedText cardinality(1)) restriction(a:licenseId cardinality(1))) Class(a:ExtractedLicensingInfo partial annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "An ExtractedLicensingInfo represents a license or licensing notice that was found in the package. Any license text that is recognized as a license may be represented as a License rather than an ExtractedLicensingInfo."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) ) Class(a:File partial restriction(a:checksum cardinality(1)) restriction(a:fileName cardinality(1)) restriction(a:copyrightText cardinality(1)) restriction(a:fileType maxCardinality(1)) restriction(a:licenseComments maxCardinality(1)) restriction(a:licenseInfoInFile minCardinality(1)) restriction(a:licenseConcluded cardinality(1)) restriction(a:artifactOf maxCardinality(1))) Class(a:File partial annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "A File represents a named sequence of information that is contained in a software package."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) ) Class(a:License partial restriction(a:licenseText cardinality(1)) restriction(a:licenseId cardinality(1))) Class(a:License partial annotation(rdfs:comment "A License represents a software copyright license. This class is used by the SPDX license list to represent standard licenses."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) ) Class(a:Package partial restriction(a:description maxCardinality(1)) restriction(a:name cardinality(1)) restriction(a:originator maxCardinality(1)) restriction(a:downloadLocation cardinality(1)) restriction(a:licenseDeclared cardinality(1)) restriction(a:licenseConcluded cardinality(1)) restriction(a:versionInfo maxCardinality(1)) restriction(a:hasFile minCardinality(1)) restriction(a:licenseInfoFromFiles minCardinality(1)) restriction(a:sourceInfo maxCardinality(1)) restriction(a:packageVerificationCode cardinality(1)) restriction(a:copyrightText cardinality(1)) restriction(a:packageFileName cardinality(1)) restriction(a:licenseComments maxCardinality(1)) restriction(a:supplier maxCardinality(1)) restriction(a:checksum maxCardinality(1)) restriction(a:summary maxCardinality(1))) Class(a:Package partial annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "A Package represents a collection of software files that are delivered as a single functional component."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) ) Class(a:PackageVerificationCode partial restriction(a:packageVerificationCodeValue cardinality(1))) Class(a:PackageVerificationCode partial annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "A PackageVerificationCode is a value that allows authentication of the package. This differs from the Checksum in that it uses an algorithm that allows the SPDX file to be embedded in the package. This verification code is produced using a cryptographic hash algorithm applied to a manifest of the package. Some files in the package (e.g. the SPDX files) are explicitly excluded from the verification code. This allows those excluded files to not impact the verification code."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) ) Class(a:Review partial restriction(rdfs:comment maxCardinality(1)) restriction(a:reviewer cardinality(1)) restriction(a:reviewDate cardinality(1))) Class(a:Review partial annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "A Review represents an audit and signoff by an individual, organization or tool on the information in an SpdxDocument."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) ) Class(a:SimpleLicenseInfo complete unionOf(a:License a:ExtractedLicensingInfo)) Class(a:SimpleLicenseInfo partial annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "The SimpleLicenseInfo class includes all resources that represent simple, atomic, licensing information."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) ) Class(a:SpdxDocument partial restriction(a:referencesFile minCardinality(1)) restriction(a:specVersion cardinality(1)) restriction(a:dataLicense cardinality(1)) restriction(a:creationInfo cardinality(1)) restriction(a:describesPackage cardinality(1))) Class(a:SpdxDocument partial annotation(rdfs:comment "An SdpxDocument is a summary of the contents, provenance, ownership and licensing analysis of a specific software package. This is, effectively, the top level of SPDX information."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) ) Class(b:Project partial) Class(rdfs:Container partial) Class(rdfs:Literal partial) Class(xsd:string partial) Class(owl:Thing partial) AnnotationProperty(rdfs:comment) AnnotationProperty(rdfs:isDefinedBy) AnnotationProperty(owl:versionInfo) Individual( value(c:stylesheet ) value(c:stylesheet ) value(c:stylesheet ) value(c:icon )) Individual(a:AnyLicenseInfo value(d:term_status "testing")) Individual(a:Checksum value(d:term_status "testing")) Individual(a:ConjunctiveLicenseSet value(d:term_status "testing")) Individual(a:CreationInfo value(d:term_status "testing")) Individual(a:DisjunctiveLicenseSet value(d:term_status "testing")) Individual(a:ExtractedLicensingInfo value(d:term_status "testing")) Individual(a:File value(d:term_status "testing")) Individual(a:License value(d:term_status "testing")) Individual(a:Package value(d:term_status "testing")) Individual(a:PackageVerificationCode value(d:term_status "testing")) Individual(a:Review value(d:term_status "testing")) Individual(a:SimpleLicenseInfo value(d:term_status "testing")) Individual(a:SpdxDocument value(d:term_status "testing")) Individual(a:algorithm value(d:term_status "testing")) Individual(a:artifactOf value(d:term_status "testing")) Individual(a:checksum value(d:term_status "testing")) Individual(a:checksumAlgorithm_sha1 annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "Indicates the algorithm used was SHA-1"^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) type(owl:Thing) value(d:term_status "testing")) Individual(a:checksumValue value(d:term_status "testing")) Individual(a:copyrightText value(d:term_status "testing")) Individual(a:created value(d:term_status "testing")) Individual(a:creationInfo value(d:term_status "testing")) Individual(a:creator value(d:term_status "testing")) Individual(a:dataLicense value(d:term_status "testing")) Individual(a:describesPackage value(d:term_status "testing")) Individual(a:description value(d:term_status "testing")) Individual(a:downloadLocation value(d:term_status "testing")) Individual(a:extractedText value(d:term_status "testing")) Individual(a:fileName value(d:term_status "testing")) Individual(a:fileType value(d:term_status "testing")) Individual(a:fileType_archive annotation(rdfs:comment "Indicates the file is an archive file.") annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) type(owl:Thing) value(d:term_status "testing")) Individual(a:fileType_binary annotation(rdfs:comment "Indicates the file is not a text file. spdx:filetype_archive is preferred for archive files even though they are binary."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) type(owl:Thing) value(d:term_status "testing")) Individual(a:fileType_other annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "Indicates the file is not a source, archive or binary file."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) type(owl:Thing) value(d:term_status "testing")) Individual(a:fileType_source annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "Indicates the file is a source code file.") type(owl:Thing) value(d:term_status "testing")) Individual(a:hasExtractedLicensingInfo value(d:term_status "testing")) Individual(a:hasFile value(d:term_status "testing")) Individual(a:licenseComments value(d:term_status "testing")) Individual(a:licenseConcluded value(d:term_status "testing")) Individual(a:licenseDeclared value(d:term_status "testing")) Individual(a:licenseId value(d:term_status "testing")) Individual(a:licenseInfoFromFiles value(d:term_status "testing")) Individual(a:licenseInfoInFile value(d:term_status "testing")) Individual(a:licenseText value(d:term_status "testing")) Individual(a:member value(d:term_status "testing")) Individual(a:name value(d:term_status "testing")) Individual(a:noassertion annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) annotation(rdfs:comment "Indicates that the preparer of the SPDX document is not making any assertion regarding the value of this field.") type(owl:Thing) value(d:term_status "testing")) Individual(a:none annotation(rdfs:comment "When this value is used as the object of a property it indicates that the preparer of the SpdxDocument believes that there is no value for the property. This value should only be used if there is sufficient evidence to support this assertion."^^http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral) annotation(rdfs:isDefinedBy http://spdx.org/rdf/terms) type(owl:Thing) value(d:term_status "testing")) Individual(a:originator value(d:term_status "testing")) Individual(a:packageFileName value(d:term_status "testing")) Individual(a:packageVerificationCode value(d:term_status "testing")) Individual(a:packageVerificationCodeExcludedFile value(d:term_status "testing")) Individual(a:packageVerificationCodeValue value(d:term_status "testing")) Individual(a:referencesFile value(d:term_status "testing")) Individual(a:reviewDate value(d:term_status "testing")) Individual(a:reviewed value(d:term_status "testing")) Individual(a:reviewer value(d:term_status "testing")) Individual(a:sourceInfo value(d:term_status "testing")) Individual(a:specVersion value(d:term_status "testing")) Individual(a:summary value(d:term_status "testing")) Individual(a:supplier value(d:term_status "testing")) Individual(a:versionInfo value(d:term_status "testing")) Individual() Individual() Individual() Individual() )