RDF.Description.describes-question-mark

You're seeing just the function describes-question-mark, go back to RDF.Description module for more information.
Link to this function

describes?(description, other_subject)

View Source

Specs

describes?(t(), RDF.Star.Statement.subject()) :: boolean()

Checks if a RDF.Description has the given resource as subject.

Examples

  iex> RDF.Description.new(EX.S1, init: {EX.p1, EX.O1})
  ...> |> RDF.Description.describes?(EX.S1)
  true
  iex> RDF.Description.new(EX.S1, init: {EX.p1, EX.O1})
  ...> |> RDF.Description.describes?(EX.S2)
  false