00:25:42 melvster has quit (Remote host closed the connection) 00:27:30 melvster (~melvster@89.176.108.70) has joined #dig 00:35:17 cheater_1 (~cheater@p57AEA79B.dip0.t-ipconnect.de) has joined #dig 00:38:38 cheater__ has quit (Ping timeout: 256 seconds) 01:33:42 melvster has quit (Ping timeout: 264 seconds) 02:45:17 bblfish (~bblfish@AAubervilliers-651-1-117-176.w86-198.abo.wanadoo.fr) has joined #dig 02:47:15 bblfish has quit (Remote host closed the connection) 04:33:54 melvster (~melvster@89.176.108.70) has joined #dig 06:23:34 bblfish (~bblfish@AAubervilliers-651-1-117-176.w86-198.abo.wanadoo.fr) has joined #dig 06:35:12 deiu (~andrei@92.81.103.144) has joined #dig 06:35:12 deiu has quit (Changing host) 06:35:12 deiu (~andrei@unaffiliated/deiu) has joined #dig 06:59:29 bblfish has quit (Remote host closed the connection) 07:21:22 jmvanel (~jmvanel@199.0.88.79.rev.sfr.net) has joined #dig 07:24:26 bblfish (~bblfish@AAubervilliers-651-1-117-176.w86-198.abo.wanadoo.fr) has joined #dig 07:25:58 deiu has quit (Ping timeout: 245 seconds) 07:32:49 deiu (~andrei@92.81.103.144) has joined #dig 07:32:49 deiu has quit (Changing host) 07:32:49 deiu (~andrei@unaffiliated/deiu) has joined #dig 07:59:14 bblfish, timbl how does one use rdflib.js to only get the RDF statements in a graph? I want to remove all the extra info that is not RDF (like protocol/browser/context info/etc.) 08:01:15 basically to strip all header information form the graph 09:17:30 deiu has quit (Ping timeout: 245 seconds) 09:33:26 cheater_1 has quit (Ping timeout: 240 seconds) 09:34:16 bblfish has quit (Remote host closed the connection) 09:34:20 cheater__ (~cheater@p57AEA79B.dip0.t-ipconnect.de) has joined #dig 09:39:15 bblfish (~bblfish@AAubervilliers-651-1-117-176.w86-198.abo.wanadoo.fr) has joined #dig 09:45:04 bblfish has quit (Remote host closed the connection) 09:50:23 bblfish (~bblfish@AAubervilliers-651-1-117-176.w86-198.abo.wanadoo.fr) has joined #dig 10:34:48 bblfish has quit (Remote host closed the connection) 11:08:04 bblfish (~bblfish@AAubervilliers-651-1-117-176.w86-198.abo.wanadoo.fr) has joined #dig 11:38:31 RalphS (rswick@w3cvpn1.w3.org) has joined #dig 11:39:49 DIGlogger (~dig-logge@groups.csail.mit.edu) has joined #dig 11:39:49 topic is: Decentralized Information Group @ MIT http://dig.csail.mit.edu/ 11:39:49 Users on #dig: DIGlogger RalphS bblfish cheater__ jmvanel melvster presbrey timbl zuzak tyteen4a03 Yudai_ sandro slvrbckt ericP mattl 12:14:45 timbl_ (~timbl@host86-181-11-211.range86-181.btcentralplus.com) has joined #dig 12:14:45 timbl has quit (Read error: Connection reset by peer) 12:14:46 timbl_ is now known as timbl 12:42:47 deiu, 12:42:50 re "bblfish, timbl how does one use rdflib.js to only get the RDF statements in a graph? I want to remove all the extra info that is not RDF (like protocol/browser/context info/etc.)" 12:43:05 hi 12:43:33 sts = kb.statementsMatching(undefined, undefined, undefined, kb.sym(''htttp://ti…")); 12:43:34 I was going to say, it seems to me that rdflib.js is doing things wrong by putting all the metadata into the graph 12:43:50 Not into the graph. 12:43:53 Into the store. 12:44:07 ah, it makes the difference? 12:44:19 ok then. 12:44:22 the store has many graphs. 12:44:27 It is a quad store. 12:44:46 yes, I would have thought it did. I find it difficult to use. 12:45:05 I think perhaps it's because the N3 serialiser does not serialise the different graphs 12:45:09 ? 12:45:47 Somehow when I last looked I never get it to show me what is in each graph. 12:46:22 The serializer serializes the set of statements you give it as a merged graph, There is a separametr dump store option to serialize it all as N3 shoring the separate stores. 12:46:30 shoeing the separate groans i mean 12:46:40 I hate spel autocorrect 12:47:45 ah great. I'll look for that. 12:48:09 It is the same as cwm, by default you query and dump the noon graph. 12:48:17 s/noon/union/ 12:48:31 btw, timbl have you seen https://github.com/antoniogarrote/rdfstore-js ? 12:49:23 Not sure what happened to antoniogarrote - he seems to have dissapeared from the map in the last month. But he seems to have take rdflib and gone quite far with it in other directions 12:49:59 It has full sparql 1.0 12:50:29 It has some neat things 12:50:41 Does it also does everything that rdflib.js does? 12:50:57 I am not sure how good it is on the linked data side 12:51:13 that's kind of what I am trying to figure out. 12:51:28 Adrian Gschwend from Switzerland was thinking of starting a mailing list for rdf-js 12:51:47 because we seem to have efforts going on here and there, and its not clear that the groups are communicting 12:52:21 rdf-js in general? 12:52:24 yes 12:52:47 community group i wonder, instead of ddfining an api defining code 12:53:24 yes a community group could be one thing. I can ping you and him about it ktk@netlabs.org 12:53:50 for example the thing is that we need a model-view-controller framework to make life easier for JS devs 12:54:22 antoniogarrotte wrote one https://github.com/antoniogarrote/semantic-ko 12:54:49 ( the examples don't work just out of the box on his site - but if you look at the issue DB you'll see I posted the fix there ) 12:55:48 ( github is restricting JS access to their site ) 12:56:15 so there is no group one can go to currently where people can point one to the right JS lib. 12:57:23 or where specialist JS devs can point us to what is missing. 13:00:02 I think he was thinking of putting the group somewhere else than community groups at w3c, as it is a bit ( more complicted than usual ) to subscribe there. 13:00:22 but perhaps if enough people here turn out there, then that would be good enough 13:00:24 :-) 13:05:13 At http://stample.co/ we have a lot of frontend code written with backbone.js, so I need to see how I can hack that to make it work with a graph store. 13:09:29 DIGlogger, pointer? 13:09:29 See http://dig.csail.mit.edu/irc/dig/2013-09-16#T13-09-29 13:14:50 deiu (~andrei@unaffiliated/deiu) has joined #dig 13:15:12 bblfish, ping 13:17:31 hi, it looks like timbl answered your question above deiu. Look here: ttp://dig.csail.mit.edu/irc/dig/2013-09-16#T13-09-29 13:17:40 sorry http://dig.csail.mit.edu/irc/dig/2013-09-16#T13-09-29 13:19:22 deiu: I took your code from rww.io and got Amelie from stample to put it on our clone of rdflib https://github.com/stample/rdflib.js/tree/master/example/ldp 13:19:49 the idea is to turn that into an rdflib example that would be fully dynamic 13:20:03 timbl_ (~timbl@host86-181-11-211.range86-181.btcentralplus.com) has joined #dig 13:20:41 a fully dynamic js based LDP/file explorer exaample 13:20:47 I see 13:20:50 that would be nice, yes 13:21:01 Amelie is going to work on it a little bit to get the hang of RDF. 13:21:08 It's mostly just taking your code. 13:21:09 timbl has quit (Ping timeout: 248 seconds) 13:21:09 timbl_ is now known as timbl 13:21:31 Then I can see if rww.io's code transformed to rdflib can work on RWW-Play without change 13:22:00 so that would be a way of testing RWW-Play https://github.com/stample/rww-play 13:22:50 the fun thing is that one could have links from one LDPC on rww.io to another LDPC on another server. 13:23:02 and the JS should be able to just follow along 13:24:13 yes, that's what I'm looking for myself (distributed LDPC) 13:24:27 and thanks timbl for the example 13:25:34 mind you looking at the ontologies used for the file system they seem ripe for some improvements. For example rww.io gives the size of directories in bytes which is a bit odd I think. 13:26:00 as far as virtual resources giving the size in bytes is going to be a bit difficult for RDF as different representations could have different sizes 13:26:14 perhaps a size in triples would be more useful. 13:26:52 ( but the same would be true even for images, as with content Neg the sizes of resources will be different ) 13:27:22 well, rww.io provides an accurate representation of the filesystem 13:27:49 there are no virtual resources hosted on it 13:28:09 yes, but you're not meant to know or care as a client what the database behind it is 13:28:23 you don't :) 13:28:32 you just use REST to manage the resources 13:29:34 Yes, so say you have 3 different representations. .rdf .n3 .ttl and you patch one, don't you want all the others to be updated too? 13:29:41 or do we have to patch all three? 13:30:01 bergi (~bergi@static.132.160.46.78.clients.your-server.de) has joined #dig 13:30:41 anyway, the point is that specifying bytes on content negotiated resources is a good quick thing to do, but longer term it's a bit naïve 13:31:56 no, you don't have three representations on rww.io 13:32:10 yes, but I do on rwwPlay 13:32:14 ah 13:32:27 in fact I wrote it so that it can return any representation 13:32:36 yes, that's preferred 13:32:37 betehess (~betehess@2001:470:8b2d:804:6152:e6d2:d728:d478) has joined #dig 13:33:07 well, it's good we're implementing and discussing these things. This is how we can work out what the issues are :-) 13:33:07 BTW, you could create the document with a specific extension on the fly 13:33:20 after conneg 13:33:24 which document? 13:33:42 doc.ttl / doc.n3 / etc 13:33:53 we do create them on the fly 13:33:59 we only store .ttl 13:34:09 then why do you need to update three documents? 13:34:30 Yes, so say you have 3 different representations. .rdf .n3 .ttl and you patch one, don't you want all the others to be updated too? 13:34:33 we don't. But it makes no sense to say that size 1023 . 13:35:01 it makes for rww.io, since it's basically a filesystem 13:35:10 so is rwwPlay 13:35:17 it's built on a file system 13:35:28 for example, it helps with quota management 13:35:53 well it's just a modelling problem deiu 13:36:21 do you have a use case where you need to know the number of triples? 13:36:44 <> a ldp:Container; ldp:created . reperesentation . mime "text/turtle"; size 1023 . 13:36:45 BTW, rww.io returns the number of triples it stores after a POST/PUT 13:36:50 ah 13:37:18 so then you can specify the types of each representation. 13:37:25 and the sizes if you wish. 13:38:08 wouldn't it add a nasty overhead if you open each resource document to read the number of triples? 13:38:11 though that does not make much for quota management, because those three representations are not using more space on disk. 13:39:19 well you could just put the size of the ttl doc if you want. 13:39:33 that's what I currently do 13:40:39 The size relation is not defined as "the size of the turtle version of the file" 13:41:00 so for you it works because you are only serving ttl files 13:41:23 on the other hand your hash urls are going to be 13:41:44 which means your identifiers are going to be tied to turtle 13:42:15 no no 13:42:24 ah? 13:42:24 I don't use extensions for RDF resources 13:42:44 if you go to rww.io, you'll see that RDF documents are listed as "RDF" 13:43:00 whereas doc.ttl will be listed as "text/turtle" 13:43:12 rww.io does not stop you though from doing this http://stample.rww.io/2013/ 13:43:30 of course not 13:43:40 let me see 13:43:45 but if you want to have a generic RDF document, you should not add .ttl 13:43:54 then you just have to do conneg 13:45:35 $ cwm http://stample.rww.io/2013/ 13:45:35 … 13:45:35 a ; 13:45:36 stat:mtime 1379339055; 13:45:38 stat:size 114 . 13:45:59 so you are saying that has size 114 . 13:46:07 yes, the resource 13:46:10 but if I get the RDF/XML version 13:47:25 it should say the same 13:48:30 $ curl -i -H "Accept: application/rdf+xml" http://stample.rww.io/2013/test 13:48:30 HTTP/1.1 200 OK 13:48:30 Date: Mon, 16 Sep 2013 13:48:07 GMT 13:48:31 Server: Apache/2.2.22 (Ubuntu) 13:48:33 X-Powered-By: PHP/5.3.10-1ubuntu3.8 13:48:35 Set-Cookie: SID=klv3iud3f70irvjb8im6t1i305; expires=Sat, 15-Sep-2018 13:48:07 GMT; path=/; domain=.rww.io 13:48:37 Expires: Thu, 19 Nov 1981 08:52:00 GMT 13:48:39 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 13:48:41 Pragma: no-cache 13:48:43 Set-Cookie: showMetaFiles=1; expires=Wed, 16-Oct-2013 13:48:07 GMT 13:48:45 User: dns:86.198.32.176 13:48:47 Filename: /www/rww.io/data/stample.rww.io/2013/test 13:48:49 Link: ; rel=acl 13:48:51 MS-Author-Via: DAV, SPARQL 13:48:53 ETag: "1379339055-e2cecaf480021cf333dc080130e46e2a" 13:48:55 Updates-Via: ws://stample.rww.io:81 13:48:57 Triples: 1 13:49:00 Content-Length: 189 13:49:01 Content-Type: application/rdf+xml 13:49:03 there it says 189 13:49:05 ... 13:49:07 There it says Content-Length: 189 13:49:27 ah..yes 13:49:44 But well you just mean: this resource is taking up so much space on my disk 13:49:51 nope 13:50:23 content-length just says that the data you GET (based on conneg) is 189 13:50:33 I know that 13:50:55 so your stat:size is saying: this resource takes so much space on our disk 13:50:55 if you want to store the data as rdf+xml, it will then take 189 too 13:51:11 yes, I agree there's a missing piece of info 13:51:25 well I can kind of see the point. 13:51:49 maybe I can somehow add a triple saying that a given resource is serialized as turtle 13:52:20 well then you'd have the same problem 13:52:25 because if you do 13:52:35 mime "text/turtle" . 13:52:46 then presumably you may want to also tell the user 13:52:52 mime "application/rdf+xml" 13:53:01 what you really want to do then is 13:53:40 representation [ mime "text/turtle"; size 114 ], [ mime "rdf/xml" ] . 13:53:55 ( wihtout for example giving the size of the rdf/xml cause you don't care . 13:54:11 well, then why do it at all? 13:54:22 to let the user know you serve it up? 13:54:32 the user can do a HEAD or OPTIONS 13:54:39 then don't do it. 13:54:54 :) 13:54:58 I am speaking about modelling the size 13:55:18 if you model the size on then it means something liek: this is taking so much space on my disk 13:55:36 yes, I need to think about it 13:55:40 if you do it on a representation, then it means: this representation si so and so big 13:55:41 but you're right 13:55:58 s/mean/can mean/ 13:56:34 I need to run now, got a train to catch 13:56:41 I'll think about it 13:56:52 ok. Me too. 13:56:58 I might just remove it for now, until we can think of a better way to model it 13:57:17 talk to you soon! 13:57:40 anyay, if size means the resource has that size, then perhaps it's makes more sense than I thought. 13:57:51 I suppose for people in DB land this would be difficult to calculate. 13:58:01 which is where counting in triples may be better. 13:59:17 Same with people using rdf stores. I suppose we'll end up supporting both sizes in bytes, and in triples. 14:03:26 deiu has quit (Ping timeout: 240 seconds) 14:10:08 timbl: Adrian at Netlabs sent us an answer. He seems to be willing to put the energy into this. Adrian works with Bart Van Leeuwen the firefighter who uses RDF ( and is based in holland ) 14:10:51 presbrey: would you be interested in a JS-RDF community group? 14:38:27 deiu (~andrei@unaffiliated/deiu) has joined #dig 14:43:12 deiu has quit (Quit: Leaving) 14:50:52 timbl has quit (Ping timeout: 264 seconds) 15:02:12 timbl (~timbl@host86-181-11-211.range86-181.btcentralplus.com) has joined #dig 15:24:36 RalphS has quit () 15:49:47 RalphS (rswick@w3cvpn3.w3.org) has joined #dig 18:01:56 timbl has quit (Quit: timbl) 18:40:20 timbl (~timbl@host86-181-11-211.range86-181.btcentralplus.com) has joined #dig 20:20:27 RalphS has quit () 20:39:41 timbl has quit (Quit: timbl) 21:00:28 jorash (A@unaffiliated/jorash) has joined #dig 21:57:46 bblfish has quit (Remote host closed the connection) 22:34:04 jmvanel has quit (Ping timeout: 264 seconds)