Method: ActiveTriples::Relation#predicate
- Defined in:
- lib/active_triples/relation.rb
#predicate ⇒ RDF::Term?
Gives the predicate used by the Relation. Values of this object are those that match the pattern ‘<rdf_subject> <predicate> [value] .`
354 355 356 357 |
# File 'lib/active_triples/relation.rb', line 354 def predicate return property if property.is_a?(RDF::Term) property_config[:predicate] if is_property? end |