RDF-json ORM for JS: ns = { plum: NS('http://projects.csail.mit.edu/connectingme/plum#'), jk: NS('http://projects.csail.mit.edu/connectingme/jourknow#'), jm: NS('http://projects.csail.mit.edu/connectingme/jourmini#'), xsd: NS('http://www.w3.org/2001/XMLSchema#'), rdf: NS('http://www.w3.org/1999/02/22-rdf-syntax-ns#'), rdfs: NS('http://www.w3.org/2000/01/rdf-schema#'), owl: NS('http://www.w3.org/2002/07/owl#'), dc: NS('http://purl.org/dc/elements/1.1/'), vcard:NS('http://www.w3.org/2001/vcard-rdf/3.0#>'), vcal: NS('http://www.w3.org/2002/12/cal/ical#'), foaf: NS('http://xmlns.com/foaf/0.1/>') }; var test_res = rdf.getResource('http://projects.csail.mit.edu/connectingme/plum#l5zPe8rc3bocsh2orDguGQHG'); // (or equivalently var test_res = rdf.getResource(rdf.ns.plum('l5zPe8rc3bocsh2orDguGQHG')); ) // get properties easily test_res.get(rdf.ns.plum('observation_time)); // Tue Mar 04 2008 15:56:56 GMT-0500 (EST) var readings = rdf.getResource(test_res).get(rdf.ns.plum('wifi_ap_reading'))))); readings.type // -> "array_resources" readings.length; // -> "18" readings[0].type; // -> "resource" pointed to resources are fetched lazily over xmlrpc-json coming soon: listStatements! listResourcesoftype! the mystery of the PrivilegeManager -- var evalcode_fn = function() { var code = "netscape.security.PrivilegeManager.enablePrivilege(\"UniversalPreferencesRead UniversalBrowserRead\");\n" + $('code').value; alert('evaluating ' + code); var result = eval(code); }