Full video at http://www.infoq.com/news/2009/02/craftsmanship-and-ethics-article
Craftsmanship and Ethics
Robert C. Martin Object Mentor, Inc.
xquery version "3.0"; | |
(: let $localFilesFolderUnix := "c:/test" :) | |
let $localFilesFolderPC := "c:\test" | |
let $uri := "http://services.morphbank.net/mbsvc3/request?method=changes&objecttype=Image&keywords=&geolocated=true&firstResult=0&user=&group=Bioimages&change=&lastDateChanged=&numChangeDays=30&id=&taxonName=&format=svc" | |
let $responseDoc := fn:doc($uri) | |
let $ids := | |
for $id in $responseDoc//object/sourceId | |
return concat($id/external/text(),"|","http://www.morphbank.net/?id=",$id/morphbank/text(),"&imgType=jpeg") | |
return file:write(concat($localFilesFolderPC,"\morphbank-ids.csv"), $ids, map { "item-separator": " "}) |
Full video at http://www.infoq.com/news/2009/02/craftsmanship-and-ethics-article
Craftsmanship and Ethics
Robert C. Martin Object Mentor, Inc.
1908
vulibrarygis.l367nf49
1920
vulibrarygis.l366jopj
1936
This very simple graph was used to help introduce students to graphing concepts. We started the class with a powerpoint presentation covering the nature of networks and graphs and basic coding for Cypher so that they would be prepared to work on a [Neo4j GraphGist](http://gist.neo4j.org/) on their own by the end of the hour class. Since everyone intuitively understands that family trees are derived from a set of relationships, the class was assigned to fork the graph below.