{ "items" : [
    { "id" : "http://webisa.webdatacommons.org/218199925"
      "properties" : {
        "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : [ "http://www.w3.org/ns/prov#Entity" ] ,
        "http://www.w3.org/ns/prov#value" : [ "+1: This is a MUCH better approach than the accepted one, given OP's desire to not clutter the code. (or see Nickkk's solution of including a library that already has a function that behaves as desired.)" ] ,
        "http://www.w3.org/ns/prov#wasQuotedFrom" : [ "stackoverflow.com" ] } },

    { "id" : "http://webisa.webdatacommons.org/prov/47166437"
      "properties" : {
        "http://www.w3.org/ns/prov#wasDerivedFrom" : [ "http://webisa.webdatacommons.org/218199925"] } } }
