Class: ODRL::Profile::LeftOperand
- Inherits:
-
ProfileElement
- Object
- ProfileElement
- ODRL::Profile::LeftOperand
- Defined in:
- lib/odrl/profile/builder.rb
Instance Attribute Summary
Attributes inherited from ProfileElement
#definition, #label, #parent_class, #parent_property, #uri
Instance Method Summary collapse
-
#build(repo:) ⇒ Object
ex:myLeftOperand a odrl:LeftOperand .
Methods inherited from ProfileElement
Constructor Details
This class inherits a constructor from ODRL::Profile::ProfileElement
Instance Method Details
#build(repo:) ⇒ Object
ex:myLeftOperand a odrl:LeftOperand .
321 322 323 324 325 326 327 |
# File 'lib/odrl/profile/builder.rb', line 321 def build(repo:) ODRL::Profile::Builder.triplify(uri, RDF.type, ODRLV.LeftOperand, repo) ODRL::Profile::Builder.triplify(uri, RDF.type, OWL.NamedIndividual, repo) ODRL::Profile::Builder.triplify(uri, RDF.type, SKOS.Concept, repo) ODRL::Profile::Builder.triplify(uri, RDFS.label, label, repo) ODRL::Profile::Builder.triplify(uri, SKOS.defintion, definition, repo) end |