Class: ODRL::Profile::PartyFunction
- Inherits:
-
ProfileElement
- Object
- ProfileElement
- ODRL::Profile::PartyFunction
- Defined in:
- lib/odrl/profile/builder.rb
Instance Attribute Summary
Attributes inherited from ProfileElement
Instance Method Summary collapse
-
#build(repo:) ⇒ Object
ex:myFunctionRole rdfs:subPropertyOf odrl:function.
Methods inherited from ProfileElement
Constructor Details
This class inherits a constructor from ODRL::Profile::ProfileElement
Instance Method Details
#build(repo:) ⇒ Object
ex:myFunctionRole rdfs:subPropertyOf odrl:function
130 131 132 133 134 |
# File 'lib/odrl/profile/builder.rb', line 130 def build(repo:) ODRL::Profile::Builder.triplify(uri, RDFS.subPropertyOf, ODRLV.function, repo) ODRL::Profile::Builder.triplify(uri, RDFS.label, label, repo) ODRL::Profile::Builder.triplify(uri, SKOS.defintion, definition, repo) end |