match specific blank terms

Hello all,

If I do

@terms = repo.terms
uri = RDF::URI.new(iri) # some iri that exists in the triplestore

then

@terms.include?(uri)

works nicely.

But

anon = RDF::Node.new(id) # some anon id that exists in the triplestore

@terms.include?(anon)

returns false :(

So tell me, am I holding it wrong?

Thanks!

Received on Thursday, 23 November 2017 21:48:57 UTC