RDF.Description.describes-question-mark
You're seeing just the function
describes-question-mark
, go back to RDF.Description module for more information.
Specs
describes?(t(), RDF.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