PropertyValue
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/ns/prov#value
  • Which will return you B's ID and a flag that indicates whether this ID is OK or not.
http://www.w3.org/ns/prov#wasQuotedFrom
  • stackoverflow.com