subject property

RdfSubject subject
final

The subject of the triple, representing the resource being described.

In RDF, the subject must be either an IRI or a blank node. The RDF 1.1 specification does not allow literals as subjects.

The RdfSubject type ensures that only valid terms can be used as subjects, enforcing the RDF data model constraints at compile time.

Implementation

final RdfSubject subject;