/// <summary>Determines whether two UriRef instances are equal.</summary> /// <returns>True if the two UriRefs are equal, False otherwise</returns> /// <remarks>Two RDF URI references are equal if and only if they compare as equal, character by character, as Unicode strings.</remarks> public override bool Equals(object other) { if (other == null) { return(false); } if (this.GetType() != other.GetType()) { return(false); } if (GetHashCode() != other.GetHashCode()) { return(false); } UriRef specific = (UriRef)other; return(itsUriRef == specific.itsUriRef); // if (!itsUriRef.Equals(specific.itsUriRef)) return false; // return true; }
public virtual Statement MakeStatement(UriRef subject, UriRef predicate, PlainLiteral value) { return(new Statement(subject, predicate, value)); }
public virtual Statement MakeStatement(BlankNode subject, UriRef predicate, TypedLiteral value) { return(new Statement(subject, predicate, value)); }
public virtual Statement MakeStatement(UriRef subject, UriRef predicate, BlankNode value) { return(new Statement(subject, predicate, value)); }