@prefix rr: . @prefix foaf: . @prefix ex: . @prefix xsd: . @prefix rml: . @prefix ql: . @prefix activity: . @base . @prefix d2rq: . a rr:TriplesMap; rml:logicalSource [ rml:source <#DB_source>; rr:sqlVersion rr:SQL2008; rr:tableName "country_info"; ]; rr:subjectMap [ rr:template "http://example.com/{Country Code}/{Name}" ]; rr:predicateObjectMap [ rr:predicate ex:name ; rr:objectMap [ rml:reference "Name" ] ] . <#DB_source> a d2rq:Database; d2rq:jdbcDSN "CONNECTIONDSN"; d2rq:jdbcDriver "org.postgresql.Driver"; d2rq:username "postgres"; d2rq:password "" .