rdflib is a Javascript library to manipulate RDF.

See the source code of this webpage to view this really simple example in full operation. Some key lines:

<script src="https://cosasbuenas.es/rdf/rdflib.min.js"></script> ... var body = '<http://cosasbuenas.es#me> <http://www.w3.org/2000/01/rdf-schema#label> "Victor" .' var store = $rdf.graph() $rdf.parse(body, store, uri, mimeType) ...

Will produce this line: