TriplesMap1
type: TriplesMap
logical source:
  source: DB source
  sql version: SQL2008
  query: SELECT Code, Name, Lan FROM Country WHERE Lan = 'EN';
  reference formulation: CSV
subject map:
  template: http://example.com/{code}
predicate object map:
  predicate: label
  object map:
    reference: name
    language: en

TriplesMap2
type: TriplesMap
logical source:
  source: DB source
  sql version: SQL2008
  query: SELECT "Code", "Name", "Lan" FROM "Country" WHERE "Lan" = 'ES';
  reference formulation: CSV
subject map:
  template: http://example.com/{code}
predicate object map:
  predicate: label
  object map:
    reference: name
    language: es

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