examples (Java, Xquery, Hadoop)