PropertyValue
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/ns/prov#value
  • Before this gets too many votes, I would like to point out that it does not do much more than Roelof's sed script - it tries to keep track of whether the maths is inline or display to avoid the $a$$b$ trap and it can distinguish between $ and \$ (I think).
http://www.w3.org/ns/prov#wasQuotedFrom
  • stackexchange.com