TriplesMap1
type: TriplesMap
logical source:
  source: DB source
  sql version: SQL2008
  query: SELECT Name, COUNT(Sport) as SPORTCOUNT FROM Student GROUP BY Name
  reference formulation: CSV
subject map:
  template: http://example.com/resource/student_{name}
predicate object map:
  predicate: name
  object map:
    reference: name
predicate object map:
  predicate: numSport
  object map:
    reference: sportcount

DB source
type: Database
jdbc DSN: CONNECTIONDSN
jdbc driver: org.postgresql.Driver
username: postgres