PropertyValue
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/ns/prov#value
  • If a regex solution is not mandatory, the problem can be solved with a split, a list/set and a contains check, such as is your current code.
http://www.w3.org/ns/prov#wasQuotedFrom
  • stackoverflow.com