PropertyValue
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/ns/prov#value
  • Adapting those solutions to your problem is a matter of a single comparison and increment.
http://www.w3.org/ns/prov#wasQuotedFrom
  • stackoverflow.com