00:51:33 LeeF has joined #hack 01:40:11 StuartTurner has joined #hack 02:21:47 graham has joined #hack 02:27:56 Lena has joined #hack 02:41:34 Lena has left #hack 02:43:50 skc has joined #hack 02:54:15 graham has joined #hack 03:02:18 Frans has joined #hack 03:10:25 LeeF has joined #hack 03:24:23 skc has joined #hack 07:24:45 StuartTurner has joined #hack 13:00:17 RRSAgent has joined #hack 13:00:17 logging to http://www.w3.org/2012/08/30-hack-irc 13:00:23 zakim, who is here? 13:00:23 sorry, dbooth, I don't know what conference this is 13:00:25 On IRC I see RRSAgent, Zakim, dbooth, bobP, amy_, lorin, ericP 13:00:32 zakim this is #hack 13:00:54 zakim, this will be #hack 13:00:54 I do not see a conference matching that name scheduled within the next hour, dbooth 13:01:05 zakim, what conferences? 13:01:05 I see WAI_RDWG()9:30AM, Team_(w3m)12:00Z active 13:01:07 also scheduled at this time are Team_Global(review)8:00AM, SW_HCLS(HACK)9:00AM, UW_UWA()9:00AM, WF_TF()9:00AM, IA_WebApps(Widgets)9:00AM 13:01:24 zakim, this will be sw_hcls 13:01:24 ok, dbooth; I see SW_HCLS(HACK)9:00AM scheduled to start now 13:01:48 rrsagent, make logs public 13:02:09 Meeting: W3C HCLS Hackathon at MIT 13:02:22 Chair: EricP 13:02:39 zakim, this will be #hack 13:02:39 I do not see a conference matching that name scheduled within the next hour, ericP 13:02:41 SW_HCLS(HACK)9:00AM has now started 13:02:48 +Bob_Powers 13:03:23 zakim, this will be hack 13:03:23 ok, ericP, I see SW_HCLS(HACK)9:00AM already started 13:03:28 Zakim, who is here? 13:03:28 On the phone I see Bob_Powers 13:03:29 On IRC I see RRSAgent, Zakim, dbooth, bobP, amy_, lorin, ericP 13:04:10 Zakim, please dial MITKiva 13:04:10 ok, ericP; the call is being made 13:04:11 +MITKiva 13:04:54 Zakim, unmute MITKiva 13:04:54 MITKiva should no longer be muted 13:05:13 yes I can hear 13:05:16 sort of 13:05:27 Justin has joined #hack 13:05:39 I can hear good 13:05:46 well, well 13:05:47 can you hear me now? 13:06:05 no, because you're muted 13:06:16 and Eric is scared of feedback 13:06:21 Zakim, unmute Bob_Powers 13:06:21 Bob_Powers should no longer be muted 13:06:21 hold on for coffee 13:06:29 YES! 13:11:43 mary has joined #hack 13:16:58 Lena has joined #hack 13:17:28 luke has joined #hack 13:18:45 graham has joined #hack 13:20:38 any scribe volunteers? 13:20:48 or should we "volunterize" someone ;) 13:26:22 LeeF has joined #hack 13:30:24 graham has joined #hack 13:37:39 Topic: Lightning talk by Maryam Panahiazar: Using Semantic Technology and Phyloinformatics in Translational Bioinformatics 13:42:04 scribenick: Lena 13:43:19 Topic: Lightning talk by David Booth - RDF Pipeline Framework 13:43:25 automating data production pipelines 13:43:29 open source project 13:43:34 hosted on google code 13:43:40 http://code.google.com/p/rdf-pipeline/ 13:43:45 http://dbooth.org/2012/pipeline/ 13:44:59 idea: when doing apps using sem web techs, we get data from somewhere and we massage it using some data production pipeline 13:45:25 slide 7 - modelled after the cleveland clinic pipeline 13:45:35 each node represent processing and data storage 13:45:47 e.g. patients represents some sort of patient data 13:46:29 when we have large amounts of data, it is used by many different applications 13:46:39 e.g. cardiology vs immunology 13:46:52 iker has joined #hack 13:46:54 why do we want data production pipelines? - 13:47:04 from applications to RDF - from RDF to applications 13:47:41 dbooth: app developers tend to be miopic - they only see their application 13:47:57 dbooth: what should go on in the semantic data integration cloud to make it work? 13:48:14 the pipeline can have as many outputs as you want 13:48:50 pipeline itself is described as rdf 13:49:10 each node is an http node that "knows" rest 13:52:32 data and programming language agnostic 13:52:40 although it was designed around an rdf use case 13:54:26 the framework transforms code (e.g. shell scripts) into REST services 13:56:12 output can be RDF but not necessarily 13:56:21 lazy update policy 13:58:41 it won't update unless the data changes 13:59:26 data manipulation using SPARQL 13:59:32 because it is a rules language 13:59:45 use inserts to keep the data in the server 14:07:58 different from a workflow because there is no central controller! 14:08:26 each node sees and uses the same description of pipeline 14:09:32 somewhat event-driven 14:20:16 http://www.topquadrant.com/products/TB_install.php 14:20:21 mary has joined #hack 14:21:26 http://www.topquadrant.com/products/TB_install.php 14:23:30 i/topq/Topic: Elsevier - Semantic Web in HCLS for Commercial Applications, Iker Huerga 14:26:05 rrsagent, draft minutes 14:26:05 I have made the request to generate http://www.w3.org/2012/08/30-hack-minutes.html dbooth 14:32:54 http://www.w3.org/People/Eric/ericP-foaf#ericP 14:42:44 daniela has joined #hack 14:47:06 Topic: Tutorial - SPARQL Rules, Iker Huerga 14:49:36 Download of TopBraid Composer Free edition: http://www.topquadrant.com/products/TB_install.php 14:55:36 http://topbraid.org/examples/purchases 15:02:26 -Bob_Powers 15:04:49 +Bob_Powers 15:11:31 Lena has joined #hack 15:11:54 luke has joined #hack 15:21:06 dbooth has joined #hack 15:21:21 Lena has joined #hack 15:22:26 luke has joined #hack 15:24:44 zakim, who is here? 15:24:44 On the phone I see MITKiva, Bob_Powers (muted) 15:24:45 On IRC I see luke, Lena, dbooth, LeeF, Justin, RRSAgent, Zakim, bobP, amy_, lorin, ericP 15:26:29 iker has joined #hack 15:26:33 SELECT ?x WHERE { LET (?x := smf:parseDate("12/3/09","MM/dd/yy")). } 15:26:59 mary has joined #hack 15:28:17 drag and drop topbraid-spin-spin.ttl into imports tab 15:30:15 right click on spin function 15:30:19 create subclass 15:30:26 name it ISO8601 15:31:28 http://www.topquadrant.com/spin/tutorial/SPARQLRulesTutorial.pdf 15:32:25 click spin contrain and select "create from spin template" 15:32:38 go to predicate, click on + sign 15:33:05 click rdf:property and then arg1 15:33:23 This transforms a date into mmddyy ISO8601 15:36:27 graham has joined #hack 15:36:56 click on spin body - add empty row 15:37:10 SELECT ?x WHERE { LET (?x := smf:parseDate("12/3/09","MM/dd/yy")). } 15:38:10 Then modify it to be: SELECT ?x WHERE { LET (?x := smf:parseDate(?arg1,"MM/dd/yy")). } 15:38:20 StuartTurner has joined #hack 15:40:25 SELECT ?x WHERE { LET (?x := :ISO8601("3/6/09")). } 15:47:10 (paste the above query in sparql editor) 15:54:51 now go to right hand side and click add property 15:55:38 select datatypeproperty 15:55:43 call it invoiceDate 15:56:54 add range 15:56:59 xsd:date 15:58:51 iker has joined #hack 15:58:56 CONSTRUCT {?s :invoiceDate ?idate } WHERE { ?s purchases:date ?date . LET (?idate := :ISO8601(?date)) . } 16:00:31 double click purchase 16:00:45 spin rule - add empty row 16:00:55 paste the construct that works 16:01:24 replace ?s with ?this 16:01:43 click ok (tiny little ok on the right hand side of the textbox) 16:01:44 so the spin:rule becomes: 16:01:45 [[ 16:01:47 CONSTRUCT { 16:01:47 ?this :invoiceDate ?idate . 16:01:47 } 16:01:47 WHERE { 16:01:49 ?this purchases:date ?date . 16:01:51 BIND (:ISO8601(?date) AS ?idate) . 16:01:53 } 16:01:55 ]] 16:02:32 go to instances tab, double click on one of them 16:03:08 go to "Inference" menu, click "Run Inferences" 16:07:51 http://topbraid.org/spin/api/1.2.0/index.html 16:11:07 Lena has left #hack 16:17:18 graham has joined #hack 16:20:21 Topic: Lightning talk: Justin Lancaster, Integrated Monitoring, Modeling and Management 16:25:27 iker has joined #hack 16:29:17 graham has joined #hack 16:37:18 Frans has joined #hack 16:38:38 sorry guys but I need to leave to catch the train, very nice hackathon, congratulations Eric and thx everyone 16:38:50 Topic: Using Jena, by Ian Jacoby 16:40:51 s/Jacoby/Jacobi/ 16:41:47 Justin has joined #hack 16:46:19 Luke: Jena also has a Dataset interface that has a default graph and a set of named graphs, but it's read only. 16:51:56 Dataset.getDefaultModel(), Dataset.getNamedModel(String graphURI) will get you the Model objects out of the Dataset object. You could probably modify those. 16:54:41 -> http://purl.org/hcls/2007/kb-sources/addgene.ttl sample data for jena hacking demos 17:01:47 -> http://www.w3.org/2012/Talks/0830-JenaIntroBio.pdf slides 17:02:19 also linked from the agenda 17:03:04 Letest release of maven eclipse extension: http://download.eclipse.org/technology/m2e/releases 17:03:11 RE: Lightning Talk -- JUSTIN LANCASTER -- kwiKBio(tm) Project -- slides accessible at http://biomedserver.com/kwiKBio%20Project_AUG%202012.pdf 17:03:17 linked from http://www.eclipse.org/m2e/download/ 17:08:08 amy_ has joined #hack 17:09:12 Eclipse IDE for Java Developers: http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/junor 17:26:54 After eclipse startup, File-->New-->Project-->Maven->Maven Project 17:27:04 ... select "Create a simple project" 17:27:34 ... Group id: org.example 17:27:42 ... Artifact Id: simplejena.example 17:27:59 ... Finish 17:29:21 -Bob_Powers 17:30:39 Then double click on: Package Explorer--> simplejena.example->src->pom.xml 17:30:50 ... go to Dependencies tab 17:31:15 ... Group Id: org.apache.jena 17:31:27 ... Artifact Id: jena-core 17:31:45 ... Version: 2.7.3 17:32:19 ... Okay 17:32:25 ... SAVE 17:33:03 ... and that will cause it to load jena from maven, and put it into the classpath. 17:33:52 Then note in Package Explorer->simplejena.example->Maven Dependencies, that jena stuff is there. 17:35:43 Then File->New->Class 17:35:49 ... Package: org.example.simplejenaexample 17:35:57 ... Name: SimpleJenaExample 17:36:10 ... Select "public static voic main(...) 17:44:26 http://purl.org/hcls/2007/kb-sources/addgene.ttl 17:45:29 bobP has joined #hack 17:46:18 prefix sc: 17:49:33 +Bob_Powers 17:50:49 http://purl.org/science/articles/pmid/15169870 18:01:39 Frans has joined #hack 18:04:19 Complete code in SimpleJenaExample.java tab: 18:04:20 [[ 18:04:21 package org.example.simplejenaexample; 18:04:21 import com.hp.hpl.jena.rdf.model.Model; 18:04:21 import com.hp.hpl.jena.rdf.model.ModelFactory; 18:04:21 import com.hp.hpl.jena.rdf.model.Property; 18:04:24 import com.hp.hpl.jena.rdf.model.Resource; 18:04:25 import com.hp.hpl.jena.rdf.model.StmtIterator; 18:04:27 import com.hp.hpl.jena.vocabulary.RDFS; 18:04:29 public class SimpleJenaExample { 18:04:32 /** 18:04:34 * @param args 18:04:35 */ 18:04:38 public static void main(String[] args) { 18:04:39 Model m = ModelFactory.createDefaultModel(); 18:04:41 m.read("http://purl.org/hcls/2007/kb-sources/addgene.ttl", "N3"); 18:04:43 Property is_described_by = m.createProperty(m.getNsPrefixURI("sc"), "is_described_in"); 18:04:45 StmtIterator itr = m.listStatements(null, is_described_by, m.createResource("http://purl.org/science/articles/pmid/15169870")); 18:04:49 while (itr.hasNext()) { 18:04:52 Resource subject = itr.nextStatement().getSubject(); 18:04:54 StmtIterator name_itr = subject.listProperties(RDFS.label); 18:04:56 while (name_itr.hasNext()) { 18:04:58 System.out.println(name_itr.nextStatement().getString()); 18:05:00 } 18:05:03 } 18:05:04 } 18:05:06 } 18:05:09 ]] 18:05:46 -> http://pastebin.com/5j8PKhiU slide4 task 18:06:34 Ian: To use SPARQL, you need to add Arq as a dependency. 18:13:57 To add Arq dependency: Package Explorer->simplejena.example->src->pom.xml->(right click)->Maven->Add dependency 18:14:46 ... Group Id: org.apache.jena 18:14:55 ... Artifact Id: jena-arq 18:15:08 ... Version: 2.9.3 18:15:16 ... OK 18:21:20 java -cp $(echo apache-jena-2.7.3/lib/*.jar | tr ' ' ':'):. Slide4 18:32:44 Luke: Warning "log4j:WARN No appenders could be found for logger (com.hp.hpl.jena.sparql.mgt.ARQMgt)." can be ignored. Jena has its own logger that will bind at runtime to your preferred logger, so this warning is saying that it failed to do so. You can correct it by adding a logger to your maven dependencies. 18:32:57 Lena has joined #hack 18:33:32 s/has its own/uses an abstract/ 18:33:44 -> http://pastebin.com/kirx9eLh query demo 18:36:26 Working code is in the above pastebin uri. 18:44:20 Luke: For using SPARQL 1.1 Update, you can use a Jena Dataset. 18:47:13 Interactive SPARQL editor SparqlEd from Sindice: http://www.sindicetech.com/blog/?p=14&preview=true 18:50:51 For Jena SPARQL update syntax on a local Model, the syntax looks like: 18:50:51 Model model; 18:50:51 String query; 18:50:51 UpdateRequest request = UpdateFactory.create(query); 18:50:51 UpdateAction.execute(request, model); 18:52:01 thansk for SPARQL editor 18:54:05 Topic: SPARQL Editor: SparqlEd, From Sindice 18:54:15 Interactive SPARQL editor SparqlEd from Sindice: http://www.sindicetech.com/blog/?p=14&preview=true 18:59:17 RRSAgent, please draft minutes 18:59:17 I have made the request to generate http://www.w3.org/2012/08/30-hack-minutes.html ericP 18:59:25 RRSAgent, please make log world-visible 18:59:49 Zakim, unmute bob_powers 18:59:49 Bob_Powers should no longer be muted 19:02:14 Lena has left #hack 19:02:54 http://hcls.sindicetech.com/sparql-editor/ 19:03:08 complete, working Jena update example: http://pastebin.com/faWHGfY2 19:31:11 StuartTurner has joined #hack 19:33:21 amy has joined #hack 19:35:31 THANKS TO ERIC, LENA and all other organizers and contributors for a really terrific session!! Ciao. Justin 20:06:15 amy_ has joined #hack 20:27:00 -MITKiva 20:27:09 -Bob_Powers 20:27:10 SW_HCLS(HACK)9:00AM has ended 20:27:10 Attendees were Bob_Powers, MITKiva 20:44:56 luke has joined #hack 20:51:55 amy_ has left #hack 21:05:14 Zakim has left #hack 21:33:44 dbooth has joined #hack 21:34:17 rrsagent, draft minutes 21:34:17 I have made the request to generate http://www.w3.org/2012/08/30-hack-minutes.html dbooth 21:35:41 i/Using Jena/scribenick: dbooth 21:36:34 YES, THANK YOU ERIC AND HELENA FOR A FANTASTIC HACKATHON! 21:37:25 AND THANK YOU ENTAGEN, W3C and DERI FOR SPONSORING IT! 21:37:44 ADJOURNED 21:38:02 rrsagent, draft minutes 21:38:02 I have made the request to generate http://www.w3.org/2012/08/30-hack-minutes.html dbooth 22:34:53 StuartTurner has joined #hack 23:24:52 LeeF has joined #hack